aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
AgeCommit message (Collapse)Author
2020-05-22Document PropertyDelegateHolderunstable/2.0Juuxel
2020-05-21Add automatic scroll bar detection for scroll panelsJuuxel
2020-05-21Add focusing support for scroll barsJuuxel
Closes #57.
2020-05-21Expose WAbstractSlider.isIncreasing/DecreasingKey as a public APIJuuxel
2020-05-21Add sub-widget focusing and item slot focusingJuuxel
Widgets can now have inner parts of themselves focused that will be cycled. This is basically the panel focusing system without the pivot.
2020-05-21Add toggle button focusing (#57)Juuxel
2020-05-21Fix player inventories resizing their labels to 18x18Juuxel
2020-05-21Add back WTextField.setSuggestion(String)Juuxel
2020-05-21Make WTextField.suggestion be a proper TextJuuxel
2020-05-21WPlayerInvPanel: title -> label, don't resize other widgets than the default ↵Juuxel
label
2020-05-21Add focus cycling to panelsJuuxel
Closes #37. Closes #54.
2020-05-21Revert "Make WScrollBar extend WAbstractSlider for better dragging"Juuxel
Reverts commit bedf10d4.
2020-05-20Add WWidget.getParentJuuxel
2020-05-20Add focusing support for buttonsJuuxel
2020-05-20Make WLabel properly resizeableJuuxel
Now the height is un-hardcoded with a minimum of 8 pixels.
2020-05-20Remove the ability to use PropertyDelegateHolders on blocksJuuxel
Blocks can't have global state, and creating property delegates based on block states isn't a good idea in my opinion. Property changes would involve state changes, and menus sync the properties automatically so it could cause a lot of pointless client-side updates. Closes #56.
2020-05-20Fix item slots being offset one pixel to the left and upJuuxel
Fixes #53. All slot rendering is also done via BackgroundPainters now and the default background painter is SLOT.
2020-05-20Add Inventory label for player inventory panelsJuuxel
Also allows custom label widgets that can be *any* widget.
2020-05-20Add horizontal axis support for boxes, document scroll widgetsJuuxel
2020-05-20Set the max value of scroll bars be at least the windowJuuxel
2020-05-20Fix panels in scroll panels being the wrong sizeJuuxel
2020-05-20Merge branch 'unstable/2.0' into scroll-panelJuuxel
# Conflicts: # src/main/java/io/github/cottonmc/cotton/gui/CottonInventoryController.java # src/main/java/io/github/cottonmc/cotton/gui/GuiDescription.java # src/main/java/io/github/cottonmc/cotton/gui/style/StyleEntry.java # src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java # src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java # src/main/java/io/github/cottonmc/cotton/gui/widget/WPlayerInvPanel.java # src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java
2020-05-19Don't use client-only getStackForRender() in WItemJuuxel
2020-05-16Use logger instead of println in ValidatedSlot, improve ctor param namesJuuxel
2020-05-16Add documentation for WListPanel constructorJuuxel
2020-05-16Remove deprecated ValidatedSlot methodsJuuxel
2020-05-16Rename BackgroundPainter.VANILLA_9PATCH to VANILLA, make it the defaultJuuxel
Also added FunctionalInterface to BackgroundPainter.
2020-05-16Remove unused StyleEntry classJuuxel
2020-05-16WWidget + GuiDescription docs, improve "host is null" logging messageJuuxel
2020-05-16Fix typo in WPanel documentationJuuxel
2020-05-16Remove Lists.newArrayList usagesJuuxel
2020-05-16Remove ltr parameter from WItemSlot's public constructorJuuxel
2020-05-16DocsJuuxel
2020-05-16Merge branch 'master' into unstable/2.0Juuxel
# Conflicts: # gradle.properties # src/main/java/io/github/cottonmc/cotton/gui/client/CottonClientScreen.java # src/main/java/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.java # src/main/java/io/github/cottonmc/cotton/gui/client/ScreenDrawing.java # src/main/java/io/github/cottonmc/cotton/gui/widget/WItem.java # src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java
2020-05-16Split item slot inserting and taking into different flagsJuuxel
2020-05-16Delegate WItemSlot peer creation to an overrideable methodJuuxel
This allows users to tweak slot behaviour with custom slot classes :)
2020-05-16Update to 20w20b1.9.1Juuxel
2020-05-09Simplify getTextAtJuuxel
2020-05-09Update to 20w19aJuuxel
2020-05-09Make WLabel.getTextAt and WText.getTextAt publicJuuxel
2020-05-09DocsJuuxel
2020-05-09Split scroll panels and vertical boxesJuuxel
2020-05-08Optimize importsJuuxel
2020-05-08Add a scroll panelJuuxel
Closes #44.
2020-05-08Fix various scroll bar bugsJuuxel
2020-05-08Fix slider scrolling with keysJuuxel
2020-05-08WScrollBar: Fix windowJuuxel
2020-05-08Fix left and right being swapped when dragging slidersJuuxel
2020-05-08Fix slider thumbs rendering 1 pixel to the rightJuuxel
2020-05-08Sliders now slide properly in inverse directions as wellJuuxel
Scrolling scroll bars!