aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2020-12-17Add screen networking API, update to 1.16.43.3.0Juuxel
2020-11-07WScrollBar: Allow mousewheel scrolling (#90)3.2.2Sturmlilie
2020-11-07WScrollBar: More intuitive drag scroll threshold (#91)Sturmlilie
Use the movable area (ie. scroll bar length minus handle length) instead of just the scroll bar length. This makes it so the handle actually feels like it's sticking to the cursor while scrolling.
2020-10-24Add checkstyle to check code formatJuuxel
2020-10-24Update Loom to 0.5 and use Jetbrains annotationsJuuxel
2020-10-24Fix HUD widgets not tickingJuuxel
2020-10-18Add Finnish translation3.2.0Juuxel
2020-10-18Update dependencies, bump version to 3.2.0Juuxel
2020-10-18Fix #87Juuxel
2020-10-18Add ItemIcon constructor with ItemJuuxel
2020-10-18Fix #86Juuxel
2020-10-18Add translations for pt_br (#88)cominixo
Co-authored-by: cominixo01 <22600756+cominixo01@users.noreply.github.com>