aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
AgeCommit message (Collapse)Author
2020-02-25Make list panels always have at least one cell visibleJuuxel
If the children are higher than the layout height, they should still be partially visible.
2020-02-21Add more getters and setters for scroll barsJuuxel
Closes #34.
2020-02-17Add horizontally centering positionerJuuxel
2020-02-17Revert "Simplify the HUD API"Juuxel
Positioners actually have another use case -- centering widgets. Centering is not possible with just x/y as it also needs the widget and the height. This reverts commit 5b23e672.
2020-02-17Simplify the HUD APIJuuxel
2020-02-09Make EmptyInventory.canPlayerUseInv return true, give nicer names to ↵Juuxel
EmptyInventory parameters
2020-01-26ScreenDrawing javadocsJuuxel
2020-01-26Add a utility method to CottonHud that resizes the added widgetJuuxel
2020-01-26Fix list panels not always setting their children's hostJuuxel
2020-01-26Add utility method for adding a HUD widget at a posJuuxel
2020-01-26Create package-infosJuuxel
2020-01-26Add HUD supportJuuxel
2020-01-26Fix WWidget.onMouseMove using X pos for Y pos1.5.1Juuxel
2020-01-25Make WTitle a beta widget1.5.0Juuxel
2020-01-25Add Environment(CLIENT) to NinePatchJuuxel
2020-01-24Remove the ability to specify corner UV in .9patch filesJuuxel
It was a bit buggy.
2020-01-24Move nine-patch into its own class, revert making it the defaultJuuxel
2020-01-23Also load the corner UV from the metadata filesJuuxel
2020-01-23Add nine-patch painter for panelsJuuxel
2020-01-23Improve WTitle docsJuuxel
2020-01-23Add WTitleJuuxel
2020-01-23Add support for loading nine-patch metadata from resource packsJuuxel
2020-01-23Update to 1.15.2, javadoc fixesJuuxel
2020-01-20Add better padding and tiling support to nine-patch paintersJuuxel
The padding can now be set separately for each direction, and the painters now support tiling the texture in addition to stretching it.
2020-01-20Actually fix WClippedPanelJuuxel
Thanks @vini2003!
2020-01-20Fix WClippedPanelJuuxel
It now uses a glScissor instead of a depth hack. I tested it with the config GUI, and it seems to work.
2020-01-19Add dragging deltas into WWidget.onMouseDrag, add WWidget.onMouseMoveJuuxel
Closes #30. Closes #31.
2020-01-19Change default nine-patch padding to 0Juuxel
2020-01-19Add nine-patch background paintersJuuxel
2020-01-19Add dynamic labelsJuuxel
Related to #24.
2020-01-19Clamp values to the new range in WAbstractSlider.set[Min/Max]ValueJuuxel
Closes #17.
2020-01-19Add select-all to text fields, fix selections spilling outside the widgetJuuxel
Closes #28 and fixes #29.
2019-12-15Fix ScreenDrawing, verbumpJuuxel
2019-12-15who renames these :angry:Juuxel
2019-12-15WToggleButton.setLabel should return itselfJuuxel
2019-12-15Add nullability annotations to WToggleButton.label-related codeJuuxel
2019-12-15Add getter/setter for button label and alignmentJuuxel
2019-12-15Rework WToggleButtonJuuxel
- Cleaned up the class - Placed fields/constructors/methods in a sensible order - Removed unnecessary whitespace (Why was there a blank line inside of if statements?) - Deprecated the (width, height) constructors. The sizing wasn't implemented. - Added accessors for labels. - Made onToggle a Consumer<Boolean>, so the toggle value can be accessed in the handler.
2019-12-09Merge branch 'master' of https://github.com/CottonMC/LibGuiJuuxel
2019-12-09Add a WListPanel constructor without the widget class parameterJuuxel
2019-11-17Update to 19w46bJuuxel
2019-10-23WAbstractSlider UpdateFran____
2019-09-28Merge pull request #14 from Juuxel/text-eventsFalkreon
Add text click and hover event support for WLabel
2019-09-28RGB->HSLFalkreon
2019-09-27Implement HSL colors, update janksonFalkreon
2019-09-26Add text click and hover event support for WLabelJuuxel
2019-09-22Palette workFalkreon
2019-09-22Merge pull request #13 from Juuxel/slider-updatesFalkreon
Slider updates
2019-09-22Add silent WAbstractSlider.setValue and a callListeners flagJuuxel
2019-09-14More snapshot workFalkreon