aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-09-09Paint WScrollBar using textures (#212)LopyMine
2023-09-09Update French translations (#208)jagerbob
2023-09-09Add since tags and make all deprecations forRemoval=trueJuuz
2023-09-09Add input/output filter + weaken WPlayerInvPanel's components' protection (#209)Luiz Feikes
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2023-07-23Update JanksonJuuz
2023-07-21Translate Mod Menu description into Tatar (#206)Amirhan-Taipovjan-Greatest-I
2023-07-02Fix WPanelWithInsets.expandToFit(WWidget) not considering insetsJuuz
2023-06-11Merge 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-11Fix incorrect title positions for non-left alignmentsJuuz
2023-06-04ScreenDrawing: Clean up javadocJuuz
2023-06-04Update to 1.20 RC 1Juuz
2023-05-27DarkModeTestGui: Fix code styleJuuz
2023-05-27Add GUI- and widget-level dark mode togglesJuuz
2023-05-14Tatar translation! (#195)Amirhan-Taipovjan-Greatest-I
2023-05-14Move test mod to root projectJuuz
2023-05-14Move javadoc taglet classes to root projectJuuz
2023-05-14Fix #196Juuz
2023-04-24Update zh_cn (#194)Enaium
* Update zh_cn.json * Update zh_cn.json
2023-04-10Add item-based subclass of SyncedGuiDescriptionJuuz
2023-04-10Add dev-only crash for when screens are opened in Item.useJuuz
(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-19Add simple focus model implementationJuuz
2023-03-19Rename FocusHandler -> FocusModel, improve docsJuuz
Closes #186.
2023-03-18Update Checkstyle and fix code formatJuuz
2023-03-18Remove unnecessary overrideJuuz
2023-03-18Add missing since tags, remove outdated TODOJuuz
2023-03-18Update to 1.19.4, add new focus APIJuuz
2023-03-18Improve 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-08Fix WBox Horizontal Offset (#184)BlazingTwist
2023-02-02Fix #182Juuz
2023-02-02Remove commented-out code in ScreenDrawingJuuz
2023-01-07Fix WItem display position offset (#181)A_Peng215
2022-12-11Update to Minecraft 1.19.3, part 2Juuz
2022-12-11Update to Minecraft 1.19.3Juuz
2022-12-11Add missing since tags in javadocJuuz
2022-10-22Allow WGridPanel to have gaps between widgets. (#170)Roman / Linnea Gräf
* Allow WGridPanel to have gaps between widgets. * Various formatting changes
2022-10-13IconInsets 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-14WTabPanel: Add method for accessing tab countJuuz
2022-09-14WTabPanel: Add methods to access and change the current tabJuuz
2022-09-12Fix Checkstyle errorsJuuz
2022-09-12Make item slots paint a texture instead of coloured rectanglesJuuz
Closes #128.
2022-09-06Fix unfocusing item slots not resetting the focused slot to -1Juuz
2022-09-06Use WWidget.isWithinBounds in WPanel.hitJuuz
2022-09-06Rework screen input methodsJuuz
- 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-06Stabilise observable propertiesJuuz
2022-08-16Improve look of the config screenJuuz
Fixes #171. Also removed the test text field.
2022-08-16Make WWidget.setHost apply to children and null-safeJuuz
2022-08-16Fix #169Juuz
2022-06-16Update to 1.19 and bump version to 6.0.0Juuz
2022-05-29Fix tab panels looking awful and brokenJuuxel
2022-05-23Fix WBox always resizing children and calling wrong canResizeJuuz
Fixes #162.