Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-02 | Fix WPanelWithInsets.expandToFit(WWidget) not considering insets | Juuz | |
2023-06-11 | Merge branch 'unstable/8.0' | Juuz | |
# 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 | |||
2023-06-11 | Fix incorrect title positions for non-left alignments | Juuz | |
2023-06-04 | ScreenDrawing: Clean up javadoc | Juuz | |
2023-06-04 | Update to 1.20 RC 1 | Juuz | |
2023-05-27 | Add GUI- and widget-level dark mode toggles | Juuz | |
2023-05-14 | Fix #196 | Juuz | |
2023-04-10 | Add item-based subclass of SyncedGuiDescription | Juuz | |
2023-04-10 | Add dev-only crash for when screens are opened in Item.use | Juuz | |
(Including useOnBlock and useOnEntity.) The method often causes threading issues and other crashes, and a better solution is to follow what Minecraft itself does and use a packet or a screen handler. | |||
2023-03-19 | Add simple focus model implementation | Juuz | |
2023-03-19 | Rename FocusHandler -> FocusModel, improve docs | Juuz | |
Closes #186. | |||
2023-03-18 | Update Checkstyle and fix code format | Juuz | |
2023-03-18 | Remove unnecessary override | Juuz | |
2023-03-18 | Add missing since tags, remove outdated TODO | Juuz | |
2023-03-18 | Update to 1.19.4, add new focus API | Juuz | |
2023-03-18 | Improve tiled NinePatchBackgroundPainter performance (#185) | Juuz | |
* Improve tiled NinePatchBackgroundPainter performance * Use Fabric API's CoreShaderRegistrationCallback * Switch to LibNinePatch release build * Rename libgui:tiled -> libgui:tiled_rectangle * Fix grammar | |||
2023-02-08 | Fix WBox Horizontal Offset (#184) | BlazingTwist | |
2023-02-02 | Fix #182 | Juuz | |
2023-02-02 | Remove commented-out code in ScreenDrawing | Juuz | |
2023-01-07 | Fix WItem display position offset (#181) | A_Peng215 | |
2022-12-11 | Update to Minecraft 1.19.3, part 2 | Juuz | |
2022-12-11 | Update to Minecraft 1.19.3 | Juuz | |
2022-12-11 | Add missing since tags in javadoc | Juuz | |
2022-10-22 | Allow WGridPanel to have gaps between widgets. (#170) | Roman / Linnea Gräf | |
* Allow WGridPanel to have gaps between widgets. * Various formatting changes | |||
2022-10-13 | IconInsets for WButton Icon (#175) | Alexander Haas | |
* added iconInsets for WButton * fixed some pull request comments * minor code cleanup * more code cleanup * changed intelliJ config to be able to save lines with whitespace * Update src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com> Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com> | |||
2022-09-14 | WTabPanel: Add method for accessing tab count | Juuz | |
2022-09-14 | WTabPanel: Add methods to access and change the current tab | Juuz | |
2022-09-12 | Fix Checkstyle errors | Juuz | |
2022-09-12 | Make item slots paint a texture instead of coloured rectangles | Juuz | |
Closes #128. | |||
2022-09-06 | Fix unfocusing item slots not resetting the focused slot to -1 | Juuz | |
2022-09-06 | Use WWidget.isWithinBounds in WPanel.hit | Juuz | |
2022-09-06 | Rework screen input methods | Juuz | |
- Now consistent between CottonClientScreen and CottonInventoryScreen - Mouse methods always call super and return true - Keyboard methods call super if there's no focus - keyPressed calls super and does nothing else for Esc and Tab (this was the old behaviour in CIS, now also in CCS) - Fixed a bug where focus was released when clicking on focused widgets because the mouse coordinates weren't offset correctly - Fixed CIS never releasing focus - Fixed focus checking not using isWithinBounds - Removed pointless null checks | |||
2022-09-06 | Stabilise observable properties | Juuz | |
2022-08-16 | Improve look of the config screen | Juuz | |
Fixes #171. Also removed the test text field. | |||
2022-08-16 | Make WWidget.setHost apply to children and null-safe | Juuz | |
2022-08-16 | Fix #169 | Juuz | |
2022-06-16 | Update to 1.19 and bump version to 6.0.0 | Juuz | |
2022-05-29 | Fix tab panels looking awful and broken | Juuxel | |
2022-05-23 | Fix WBox always resizing children and calling wrong canResize | Juuz | |
Fixes #162. | |||
2022-05-19 | Update to 1.19-pre1 | Juuz | |
- API change: WItem now uses TagKey instead of Tag. | |||
2022-04-25 | Update to 22w16b | Juuz | |
- Removed WLabel(String) and WLabel(String, int) - Removed WTextField.setSuggestion(String) - Fixed config screen not returning to previous screen | |||
2022-03-20 | Updated to 1.18.2 (#155) | Greg C | |
2022-02-27 | Corrected calculation of the current visible elements in the list panel. (#152) | dani162 | |
* Corrected calculation of the current visible elements in the list panel. The change fixes the problem that the last element/elements in the list are not shown because the margin spaces weren't properly calculated in the visibleCells variable. Removed unnecessary for-loop run-trough. * Should add one margin to layoutHeight because the dividing element also has margin Co-authored-by: dani162 <{ID}+{username}@users.noreply.github.com> | |||
2022-02-27 | Fix IOOBE when WTextField.scrollOffset was outside the string | Juuz | |
Fixes #154. Also documented some WTextField methods. | |||
2022-01-16 | Bump version to 5.3.0 | Juuz | |
2022-01-16 | Added getter for WListPanel's scrollbar (#150) | Luligabi1 | |
2022-01-16 | Clarify WPanel.streamChildren, remove ApiStatus.Experimental | Juuz | |
2021-12-24 | Add CottonInventoryScreen ctor overloads with PlayerInventory | Juuz | |
Closes #147. | |||
2021-12-22 | Keep bin compat in SyncedGuiDescription | Juuz | |
2021-12-22 | Improve WWidget.validate javadoc | Juuz | |