aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2021-02-27Replace LibGuiClient.config.darkMode with LibGui.isDarkMode()Juuxel
2021-02-16Use Slot#getMaxItemCount(ItemStack) instead of Slot#getMaxItemCount() (#99)Gabriel Henrique de Oliveira
2021-01-31Update Gradle and dependencies3.3.3Juuxel
2021-01-31Switch overrides from Screen.init(MinecraftClient, int, int) to init()Juuxel
2021-01-31Fix renderBackground behaviour being hardcoded to superJuuxel
2020-12-23Fix labeled slider renderingJuuxel
Changed the MatrixStack translation to direct GL translation via RenderSystem. I've already fixed this bug in the 4.0 branch by using MatrixStacks for texture rendering, but that won't work here.
2020-12-21Fix large slot focus border positionJuuxel
2020-12-21(Hackily) Fix bug with REI overlapping with LibGui screens3.3.2Juuxel
2020-12-21Fix dedicated server crashing when trying to load ClientPlayerEntity3.3.1Juuxel
Apparently having a client-only-typed field referenced in a lambda body can be dangerous, so I moved the packet registration to the client init class.