Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-17 | Make SyncedGuiDescription constructors take the screen handler type | Juuxel | |
2020-06-17 | Add missing since tags | Juuxel | |
2020-06-14 | ScreenDrawing: add ability to draw opaque textures (#63) | Filip Weiss | |
2020-06-13 | implement a WTiledSprite widget (#62) | Filip Weiss | |
* implement a WTiledSprite widget * tiledSprite: new constuctor, cleanup api and comments * Update GuiTest/src/main/java/io/github/cottonmc/test/client/TestClientGui.java Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> | |||
2020-06-05 | Make test mod also use v2 mappings2.0.0-beta.1 | Juuxel | |
2020-06-05 | CottonInventoryController -> SyncedGuiDescription | Juuxel | |
2020-06-05 | CottonInventoryScreen: Add constructor with screen title, document | Juuxel | |
2020-06-05 | Document WLabel and WText methods, add missing accessors to WText | Juuxel | |
2020-06-05 | 1.16-pre2 | Juuxel | |
- All Text usages apart from screen titles have been replaced with class_5348 - WLabel. and WText. getTextAt has been replaced by getTextStyleAt to match vanilla functionality - CottonInventoryScreen.drawForeground - Prevents vanilla from rendering the player inventory label (already rendered by us and not needed in every GUI) - The title is now rendered using the title coordinate fields like in vanilla | |||
2020-05-22 | Document PropertyDelegateHolderunstable/2.0 | Juuxel | |
2020-05-21 | Add automatic scroll bar detection for scroll panels | Juuxel | |
2020-05-21 | Add focusing support for scroll bars | Juuxel | |
Closes #57. | |||
2020-05-21 | Expose WAbstractSlider.isIncreasing/DecreasingKey as a public API | Juuxel | |
2020-05-21 | Add sub-widget focusing and item slot focusing | Juuxel | |
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-21 | Add toggle button focusing (#57) | Juuxel | |
2020-05-21 | Make TestController have a focus test | Juuxel | |
2020-05-21 | Fix player inventories resizing their labels to 18x18 | Juuxel | |
2020-05-21 | Add back WTextField.setSuggestion(String) | Juuxel | |
2020-05-21 | Make WTextField.suggestion be a proper Text | Juuxel | |
2020-05-21 | WPlayerInvPanel: title -> label, don't resize other widgets than the default ↵ | Juuxel | |
label | |||
2020-05-21 | Add focus cycling to panels | Juuxel | |
Closes #37. Closes #54. | |||
2020-05-21 | Revert "Make WScrollBar extend WAbstractSlider for better dragging" | Juuxel | |
Reverts commit bedf10d4. | |||
2020-05-20 | Add WWidget.getParent | Juuxel | |
2020-05-20 | Add focusing support for buttons | Juuxel | |
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 | Update Loom and ModMenu | Juuxel | |
2020-05-20 | Rework GuiTest to be a subproject | Juuxel | |
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 | Bump version to 1.11.01.11.0 | Juuxel | |
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 | |