aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
AgeCommit message (Collapse)Author
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!
2020-05-08Fix right-facing horizontal sliders (default)Juuxel
2020-05-08Add slider directions, fix scroll bars not scrolling properlyJuuxel
2020-05-08Make WScrollBar extend WAbstractSlider for better draggingJuuxel
Still needs testing, but I have to fix the test mod first.
2020-05-08Remove deprecated usages of color4f from ScreenDrawingJuuxel
2020-05-08Remove all deprecated membersJuuxel
2020-05-08Replace deprecated RenderSystem matrix usages in widget renderingJuuxel
2020-05-08Painting changesJuuxel
- paintBackground -> paint, removed paintForeground. Closes #42. - paint takes the MatrixStack as well. Closes #52. - Renamed WTextField.renderButton to renderTextField and made it protected.
2020-05-08Use non-deprecated ModMenu APIJuuxel
2020-05-08Remove deprecated addInformationJuuxel
2020-05-08Merge branch 'master' into new-breakingJuuxel
# Conflicts: # src/main/java/io/github/cottonmc/cotton/gui/CottonInventoryController.java
2020-04-26Remove broken scaling from WItem1.9.0Juuxel