aboutsummaryrefslogtreecommitdiff
path: root/src/main
AgeCommit message (Collapse)Author
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>
2020-10-11Add WPlayerInvPanel.createInventoryLabelJuuxel
2020-10-11Add WCardPanel.getCardCountJuuxel
2020-09-24Tabs, card panels and showing/hiding widgets (#74)3.0.0Juuxel
* Add beta API for hiding and showing widget peers, add default implementation for slots * Add WCardPanel * Tab thingies * Improve WPanel.toString * Fix tabs, add dark mode * Add box fillers * Tabs again * Tab go brrr * Revert modmenu changes * Fix card panels not initialising hidden widgets properly * Fix slots not being hidden when they should be * Things * Revert "Add box fillers" This reverts commit 1ea1bfbb * foo * revert more modmenu changes * Add tab titles and switch to a builder model for adding tabs * Document tab builders * Make hidden widgets release their focus * Replace outdated since tags with TAB_VERSION * Fix compilation of WTabPanel * TAB_VERSION => 3.0.0 * Add focusing support to tabs
2020-08-11Update to rc2Juuxel
2020-08-04Add missing Environment(CLIENT) annotations to paint() overridesJuuxel
2020-08-04Revert "Make layout() client-only, add missing Environment(CLIENT) ↵Juuxel
annotations to paint() overrides" This reverts commit 0b3c68e0
2020-08-04Fix labeled slider renderingJuuxel
2020-08-04Make layout() client-only, add missing Environment(CLIENT) annotations to ↵Juuxel
paint() overrides
2020-08-04Add slot change listeners, document WItemSlotJuuxel
2020-08-03Enable keyboard repeat events for LibGui screensJuuxel
Closes #27.
2020-08-03Fix centering issues with button icons and big item slotsJuuxel
Closes #77.
2020-08-03Add Texture class for representing a texture with UV valuesJuuxel
Closes #47.
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-08-03Bump version to 2.3.02.3.0Juuxel