aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
AgeCommit message (Collapse)Author
2021-07-07Fix WScrollPanel validation issue (#121)frqnny
* Fix WScrollPanel validation issue * Fix damn checkstyle amirite
2021-07-01Update to 1.17.1-rc1, bump to 4.1.14.1.1Juuxel
2021-06-27Add a "visual logger" for showing error messages in a dev envJuuxel
2021-06-27Fix Screen.onClose not being called in CottonInventoryScreenJuuxel
2021-06-27Clean up by using enhanced switchJuuxel
2021-06-27Fix WBar.withConstantMaximum and clean up the classJuuxel
2021-06-22Minor tweaks to WItemSlot.get/setIconJuuz
- JD improvements - Fixed @'since tags - Warning when you're setting an icon for a widget with more than 1 visible slot
2021-06-22Add Icon API to WItemSlot (#119)frqnny
* Add Icon API to WItemSlot * Fix checkstyle * Clean up test description
2021-06-16Clean up code using switch expressionsJuuz
2021-06-09Prevent adding widgets to themselves recursivelyJuuxel
Also includes any parents.
2021-06-09Remove WWidget.createPeersJuuxel
Closes #117.
2021-06-05Make insets properly swappable, add WPanelWithInsets4.0.0-beta.4Juuz
2021-06-05Update Mod Menu supportJuuz
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-04Validate root panels automaticallyJuuz
2021-06-04Make WBar.validate safe to call multiple timesJuuz
2021-05-29fix dupe with guis without block inventory (#104)Gabriel Henrique de Oliveira
2021-05-29Add (back) NinePatchBackgroundPainter with padding supportJuuz
2021-05-27Make all WTextField instance fields private4.0.0-beta.1Juuz
This lets me rewrite the implementation during the 4.x cycle.
2021-05-27CottonHud: migrate to static methodsJuuz
2021-05-27Revert "WTextField: Fix #111 properly by using setText everywhere"Juuz
This reverts commit a0ec39ff
2021-05-27WTextField: Fix #111 properly by using setText everywhereJuuz
2021-05-27WTextField: Clean up WTextField.invertedRectJuuz
2021-05-27WTextField: Remove commented-out vanilla codeJuuz
2021-05-27Remove unimplemented insertTextJuuz
2021-05-27Fix #111Juuz
2021-05-27Move Vec2i into widget.dataJuuz
2021-05-27Convert Texture to a recordJuuz
2021-05-27Update LibNinePatch to 1.1.0, use ContextualTextureRendererJuuz
2021-05-27Improve BackgroundPainter javadoc about 9patchJuuz
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-27Javadoc improvementsJuuz
2021-05-27Convert Insets into a recordJuuz
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-05-21Port to 21w20a. Fixes #109 (#110)4.0.0-alpha.2Reece Mackie
* 21w20a. Fixes #109 * Indentation and spacing fixes
2021-03-19Fix checkstyle4.0.0-alpha.1Juuxel
2021-03-1921w11aJuuxel
Co-authored-by: CoolMineman <62723322+coolmineman@users.noreply.github.com> Closes #101.
2021-02-27Add catch block to ScreenNetworking message handlingJuuxel
2021-02-27Fix memory leak in ScreenNetworkingJuuxel
2021-02-27Add button dark modeJuuxel
2021-02-27Add WAbstractSlider.isDragging()Juuxel
Closes #100.
2021-02-27Add insets support for WBoxJuuxel
2021-02-27Use screenWidth/Height instead of this.width/height in repositionJuuxel
2021-02-27Add panel layout insets to replace background painter paddingJuuxel
2021-02-27Revert "(Hackily) Fix bug with REI overlapping with LibGui screens"Juuxel
This reverts commit 1a5d29ec
2021-02-27WScrollPanel: Add mouse scrolling supportJuuxel
2021-02-27WListPanel: Add mouse scrolling supportJuuxel
2021-02-27WScrollBar: Increase scrolling speed by 4xJuuxel
2021-02-27Move text hover effect drawing to ScreenDrawingJuuxel
2021-02-27Create InputResult for specifying whether mouse inputs are processedJuuxel
This means that mouse events are propagated upwards the widget tree until they are processed or the root panel is reached. Code duplication in mouse handling was reduced by moving all logic into a new MouseInputHandler helper class. (I'd obviously have them directly in the screen classes if there was only one.)