aboutsummaryrefslogtreecommitdiff
path: root/src/main
AgeCommit message (Collapse)Author
2021-06-09Update versions4.0.0Juuxel
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-04-05support new modmenu api (#103)DragonEggBedrockBreaking
* support new modmenu api * Update fabric.mod.json
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.)
2021-02-27Move config handling to PathJuuxel
2021-02-27Move the mod ID into a constant field in LibGuiCommonJuuxel
2021-02-27Move all implementation classes into the impl packageJuuxel
2021-02-27Correct since tag in LibGui dataJuuxel
2021-02-27Fix labeled slider renderingJuuxel
2021-02-27Migrate all rectangle rendering to use MatrixStacksJuuxel
2021-02-27Move BackgroundPainters to use MatrixStacksJuuxel