Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-20 | Make WLabel properly resizeable | Juuxel | |
Now the height is un-hardcoded with a minimum of 8 pixels. | |||
2020-05-20 | Remove the ability to use PropertyDelegateHolders on blocks | Juuxel | |
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-20 | Fix item slots being offset one pixel to the left and up | Juuxel | |
Fixes #53. All slot rendering is also done via BackgroundPainters now and the default background painter is SLOT. | |||
2020-05-20 | Add Inventory label for player inventory panels | Juuxel | |
Also allows custom label widgets that can be *any* widget. | |||
2020-05-20 | Add horizontal axis support for boxes, document scroll widgets | Juuxel | |
2020-05-20 | Set the max value of scroll bars be at least the window | Juuxel | |
2020-05-20 | Fix panels in scroll panels being the wrong size | Juuxel | |
2020-05-20 | Merge branch 'unstable/2.0' into scroll-panel | Juuxel | |
# 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-19 | Don't use client-only getStackForRender() in WItem | Juuxel | |
2020-05-16 | Use logger instead of println in ValidatedSlot, improve ctor param names | Juuxel | |
2020-05-16 | Add documentation for WListPanel constructor | Juuxel | |
2020-05-16 | Remove deprecated ValidatedSlot methods | Juuxel | |
2020-05-16 | Rename BackgroundPainter.VANILLA_9PATCH to VANILLA, make it the default | Juuxel | |
Also added FunctionalInterface to BackgroundPainter. | |||
2020-05-16 | Remove unused StyleEntry class | Juuxel | |
2020-05-16 | WWidget + GuiDescription docs, improve "host is null" logging message | Juuxel | |
2020-05-16 | Fix typo in WPanel documentation | Juuxel | |
2020-05-16 | Remove Lists.newArrayList usages | Juuxel | |
2020-05-16 | Remove ltr parameter from WItemSlot's public constructor | Juuxel | |
2020-05-16 | Docs | Juuxel | |
2020-05-16 | Merge branch 'master' into unstable/2.0 | Juuxel | |
# 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-16 | Split item slot inserting and taking into different flags | Juuxel | |
2020-05-16 | Delegate WItemSlot peer creation to an overrideable method | Juuxel | |
This allows users to tweak slot behaviour with custom slot classes :) | |||
2020-05-16 | Update to 20w20b1.9.1 | Juuxel | |
2020-05-09 | Simplify getTextAt | Juuxel | |
2020-05-09 | Update to 20w19a | Juuxel | |
2020-05-09 | Make WLabel.getTextAt and WText.getTextAt public | Juuxel | |
2020-05-09 | Docs | Juuxel | |
2020-05-09 | Split scroll panels and vertical boxes | Juuxel | |
2020-05-08 | Optimize imports | Juuxel | |
2020-05-08 | Add a scroll panel | Juuxel | |
Closes #44. | |||
2020-05-08 | Fix various scroll bar bugs | Juuxel | |
2020-05-08 | Fix slider scrolling with keys | Juuxel | |
2020-05-08 | WScrollBar: Fix window | Juuxel | |
2020-05-08 | Fix left and right being swapped when dragging sliders | Juuxel | |
2020-05-08 | Fix slider thumbs rendering 1 pixel to the right | Juuxel | |
2020-05-08 | Sliders now slide properly in inverse directions as well | Juuxel | |
Scrolling scroll bars! | |||
2020-05-08 | Fix right-facing horizontal sliders (default) | Juuxel | |
2020-05-08 | Add slider directions, fix scroll bars not scrolling properly | Juuxel | |
2020-05-08 | Make WScrollBar extend WAbstractSlider for better dragging | Juuxel | |
Still needs testing, but I have to fix the test mod first. | |||
2020-05-08 | Remove deprecated usages of color4f from ScreenDrawing | Juuxel | |
2020-05-08 | Remove all deprecated members | Juuxel | |
2020-05-08 | Replace deprecated RenderSystem matrix usages in widget rendering | Juuxel | |
2020-05-08 | Painting changes | Juuxel | |
- 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-08 | Use non-deprecated ModMenu API | Juuxel | |
2020-05-08 | Remove deprecated addInformation | Juuxel | |
2020-05-08 | Merge branch 'master' into new-breaking | Juuxel | |
# Conflicts: # src/main/java/io/github/cottonmc/cotton/gui/CottonInventoryController.java | |||
2020-04-26 | Remove broken scaling from WItem1.9.0 | Juuxel | |
2020-04-26 | Fix WTexts being fixed-size | Juuxel | |
2020-04-26 | Add Environment annotations to interaction methods | Juuxel | |
Should fix #41. | |||
2020-04-26 | Add some label docs | Juuxel | |