aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2022-05-19Bump Minecraft dependencyJuuz
2022-05-19Update to 1.19-pre1Juuz
- API change: WItem now uses TagKey instead of Tag.
2022-04-25Update Minecraft dependency in fabric.mod.jsonJuuz
2022-04-25Update to 22w16bJuuz
- Removed WLabel(String) and WLabel(String, int) - Removed WTextField.setSuggestion(String) - Fixed config screen not returning to previous screen
2022-04-13Update to 22w14a (#157)frqnny
2022-03-22Only depend on specific Fabric API modulesJuuz
2022-03-20Updated to 1.18.2 (#155)Greg C
2022-02-27Corrected 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-27Fix IOOBE when WTextField.scrollOffset was outside the stringJuuz
Fixes #154. Also documented some WTextField methods.
2022-01-16Bump version to 5.3.0Juuz
2022-01-16Added getter for WListPanel's scrollbar (#150)Luligabi1
2022-01-16Clarify WPanel.streamChildren, remove ApiStatus.ExperimentalJuuz
2021-12-24Add CottonInventoryScreen ctor overloads with PlayerInventoryJuuz
Closes #147.
2021-12-22Keep bin compat in SyncedGuiDescriptionJuuz
2021-12-22Improve WWidget.validate javadocJuuz
2021-12-22Remove possible null values for ValidatedSlot.filterJuuz
2021-12-22Move custom quick move implementation from onSlotClick to transferSlotJuuz
2021-12-06Fix javadoc formatJuuz
2021-12-06Add WAbstractSlider.updateValueCoordRatios, bump to 5.1.0Juuz
Fixes #145.
2021-12-06Bump version to 5.0.0, build on 1.18Juuz
2021-12-06Remove deprecationsJuuz
2021-12-06Merge branch '1.17'Juuz
# Conflicts: # gradle.properties
2021-12-06Clean up WTextFieldJuuz
2021-11-16Improve WTextField (#140)Roman / Nea
* Refactor rendering of WTextField and add text scrolling * Make caret position movable by clicks Also deprecated the public getCaretPos method since it was public. * Rework keyboard interactions with WTextField Introduce CTRL+(Left/Right) for deletes, selects and cursor moves. * Revert breaking API changes in WTextField