aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
AgeCommit message (Collapse)Author
2020-12-17Update to 20w51aJuuxel
2020-12-17Move text hover effect drawing to ScreenDrawingJuuxel
2020-12-17Reorganise importsJuuxel
2020-12-17Create 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.)
2020-12-14Remove ScreenDrawing.maskedRectJuuxel
It's unused and scissors should be used instead.
2020-11-28Migrate all rectangle rendering to use MatrixStacksJuuxel
Still need testing.
2020-11-28Remove the wip graphics apiJuuxel
2020-11-28Add a TODOJuuxel
2020-11-28Remove commented out thonkjang code from WTextFieldJuuxel
2020-11-28Fix code formatJuuxel
2020-11-28Move WTabPanel.Tab to data packageJuuxel
2020-11-27Add untested and currently unused graphics apiJuuxel
2020-11-26Add private constructor to the LibGui classJuuxel
2020-11-26Move modmenu support, nine-patch internals and init code into impl packageJuuxel
Also introduced a new LibGui class that provides API access to the dark mode setting now that the config is unavailable publically.
2020-11-26Switch CottonHud to use static methodsJuuxel
2020-11-26Remove deprecated featuresJuuxel
- WWidget.createPeers (replaced by validate) - WTabPanel.Tab constructor (replaced by builder)
2020-11-26Fix formattingJuuxel
2020-11-26Fix compilation issues, add support for tooltip components (also from data ↵Juuxel
and widgets)
2020-11-26Fix labeled slider painting weirdnessJuuxel
2020-11-26Update to 20w48a, migrate to using TooltipComponent internallyJuuxel
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-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-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
2020-07-26fix SyncedGuiDescription.insertIntoExistingCoolMineman
2020-07-11RGB add simpler constructor without alpha (#65)Juuxel
2020-07-11RGB: add interpolate method (#64)Filip Weiss
2020-07-10Add TextureIcon opacity and tint, fix ScreenDrawing javadocsJuuxel
2020-07-10Add since tags and a package-info for the icon packageJuuxel
2020-07-10Remove unused importJuuxel
2020-07-10Add missing Nullable annotations and a getter to WButtonJuuxel