aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-02WListPanel: Add mouse scrolling supportJuuxel
2021-02-02WScrollBar: Increase scrolling speed by 4xJuuxel
2021-01-31Add panel layout insetsJuuxel
2021-01-31Revert "(Hackily) Fix bug with REI overlapping with LibGui screens"Juuxel
This is not needed on 4.0 because of the Insets class. This reverts commit 1a5d29ec
2021-01-31Merge branch 'master' into unstable/4.0Juuxel
# Conflicts: # gradle.properties # src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java
2021-01-31Update Gradle and dependencies3.3.3Juuxel
2021-01-31Bump versionJuuxel
2021-01-31Automatically generate run configs for the test subprojectJuuxel
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-21Merge branch 'master' into unstable/4.0Juuxel
# Conflicts: # gradle.properties # src/main/java/io/github/cottonmc/cotton/gui/client/BackgroundPainter.java
2020-12-21Fix large slot focus border positionJuuxel
2020-12-21(Hackily) Fix bug with REI overlapping with LibGui screens3.3.2Juuxel
2020-12-21Merge branch 'master' into unstable/4.0Juuxel
# Conflicts: # gradle.properties # src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java # src/main/java/io/github/cottonmc/cotton/gui/impl/ScreenNetworkingImpl.java # src/main/java/io/github/cottonmc/cotton/gui/impl/client/LibGuiClient.java # src/main/resources/fabric.mod.json
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-12-17Add screen networking APIJuuxel
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-26Remove use of jsr annotations in guitestJuuxel
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-08Bump version to 3.2.2Juuxel
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-24Bump version to 3.2.13.2.1Juuxel
2020-10-24Remove workflowJuuxel
:tiny_potato:
2020-10-24Add workflowJuuxel
2020-10-24Add checkstyle to check code formatJuuxel
2020-10-24Add line breaks and import order (for IDEA) into .editorconfigJuuxel
2020-10-24Update Loom to 0.5 and use Jetbrains annotationsJuuxel
2020-10-24Add simple HUD testJuuxel
2020-10-24Fix HUD widgets not tickingJuuxel