aboutsummaryrefslogtreecommitdiff
path: root/GuiTest/src/main
AgeCommit message (Collapse)Author
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-06-16Update to 1.19 and bump version to 6.0.0Juuz
2022-05-23Update Fabric APIJuuz
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-20Updated to 1.18.2 (#155)Greg C
2022-02-27Fix IOOBE when WTextField.scrollOffset was outside the stringJuuz
Fixes #154. Also documented some WTextField methods.
2022-01-16Add test for WItemSlot filtersJuuz
2021-12-24Add CottonInventoryScreen ctor overloads with PlayerInventoryJuuz
Closes #147.
2021-12-22Add test for blocks without any inventory of their ownJuuz
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
2021-08-10Fix #130, bump version to 4.1.64.1.6Juuz
2021-07-11Update YarnJuuz
2021-07-09Make the test visual logger warnings controllableJuuz
2021-06-27Add a "visual logger" for showing error messages in a dev envJuuxel
2021-06-22Add Icon API to WItemSlot (#119)frqnny
* Add Icon API to WItemSlot * Fix checkstyle * Clean up test description
2021-06-05Make insets properly swappable, add WPanelWithInsets4.0.0-beta.4Juuz
2021-06-05Switch from accessor to AW, fixes #113Juuz
Accessors would be preferred but there is a mixin bug/regression that prevents me from modifying final fields with accessors unless I do some concerning hacky code.
2021-06-04Add test title to ScrollingTestGuiJuuz
2021-06-04Move scrolling test gui to a test commandJuuz
2021-05-27CottonHud: migrate to static methodsJuuz
2021-05-27Replace bad 9patch with LibNinePatch, fix bug with ItemIconJuuz
Also adds nicer tests with client-side commands. /libgui config: opens the config GUI without Mod Menu /libgui tab: opens a tab test GUI
2021-05-27Add title position property to GuiDescriptionsJuuz
The new field is used for both fullscreen and normal screens. Also fixes titles being incorrectly positioned by default.
2021-03-1921w11aJuuxel
Co-authored-by: CoolMineman <62723322+coolmineman@users.noreply.github.com> Closes #101.
2021-02-27Add panel layout insets to replace background painter paddingJuuxel
2021-02-27Add test gui for scroll panelsJuuxel
2021-02-27Migrate all rectangle rendering to use MatrixStacksJuuxel
2020-12-17Add screen networking API, update to 1.16.43.3.0Juuxel
2020-10-24Add simple HUD testJuuxel
2020-09-24Add large slot to the test GUI descriptionJuuxel
This was to debug #85 which doesn't actually seem to happen in 3.0.x.
2020-08-04Revert "Make layout() client-only, add missing Environment(CLIENT) ↵Juuxel
annotations to paint() overrides" This reverts commit 0b3c68e0
2020-08-04Make layout() client-only, add missing Environment(CLIENT) annotations to ↵Juuxel
paint() overrides
2020-08-033.0.0 for 1.16.2-pre1Juuxel
Mojang refactored text again :irritatered: - Widgets now take a Text again instead of StringRenderable/-Visitable - ScreenDrawing takes OrderedTexts instead of StringVisitables - To reduce the future updating workload, tooltips now use a new TooltipBuilder
2020-06-24Fix dedicated server crash with the test modJuuxel
2020-06-18Move WWidget.addTooltip to use StringRenderablesJuuxel
2020-06-17Update to pre8Juuxel
2020-06-13implement 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-05CottonInventoryController -> SyncedGuiDescriptionJuuxel
2020-06-051.16-pre2Juuxel
- 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-21Make TestController have a focus testJuuxel
2020-05-20Add Inventory label for player inventory panelsJuuxel
Also allows custom label widgets that can be *any* widget.
2020-05-08Update test mod to 20w17aJuuxel
2020-01-29Fixed GuiTestErnieBernie10
2019-10-24Update to 19w42aFalkreon
2019-09-27Implement HSL colors, update janksonFalkreon
2019-09-22Palette workFalkreon
2019-09-14More snapshot workFalkreon
2019-08-30Implement panel clippingFalkreon
2019-08-30Rearrange drawing, deprecate paintForeground, add widget ticksFalkreon