aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-04-09test: Clean up GuiItem by using getStackInHandJuuz
2023-03-19Bump version to 7.0.0-beta.2Juuz
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-18Bump version to 6.5.3Juuz
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-02Use Loom's multi-project optimisationJuuz
2023-02-02Bump version to 6.5.2Juuz
2023-02-02Fix #182Juuz
2023-02-02Remove commented-out code in ScreenDrawingJuuz
2023-02-02Add test for #182Juuz
2023-02-02Update to Loom 1.1, LQF 1.8.0Juuz
2023-01-07Bump version to 6.5.1Juuz
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-11Update to Gradle 7.6Juuz
2022-12-11Bump version to 6.4.0Juuz
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-22Filter Cotton repo to only include io.github.cottonmcJuuz
2022-09-22Remove Cotton repo from settings.gradleJuuz
LQF is on the plugin portal nowadays.
2022-09-22Use api instead of modApi for LNPJuuz
2022-09-22Update LoomJuuz
2022-09-17Bump version to 6.3.0Juuz
2022-09-14WTabPanel: Add method for accessing tab countJuuz
2022-09-14WTabPanel: Add methods to access and change the current tabJuuz
2022-09-13Bump version to 6.2.0Juuz
2022-09-12Add checkstyle report actionJuuz
2022-09-12Fix Checkstyle errorsJuuz
2022-09-12Make item slots paint a texture instead of coloured rectanglesJuuz
Closes #128.
2022-09-06Bump version to 6.1.0Juuz
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-06Add back links to Yarn javadoc in LibGui javadocJuuz
2022-09-06Stabilise observable propertiesJuuz
2022-09-06Improve PropertyTagletJuuz
- Now generates a "frame" around it like the other summary sections - Now has the property visibility and type in the table
2022-08-16Bump version to 6.0.1Juuz
2022-08-16Improve look of the config screenJuuz
Fixes #171. Also removed the test text field.
2022-08-16Only apply runtime ModMenu to the test subprojectJuuz
2022-08-16Make WWidget.setHost apply to children and null-safeJuuz