aboutsummaryrefslogtreecommitdiff
path: root/src/main
AgeCommit message (Collapse)Author
2020-04-13Improve WWidget documentation and add Nullable annotationsJuuxel
2020-04-13Fix #45Juuxel
2020-04-09Fix #43, fix null inventories not being converted to EmptyInventoryJuuxel
There's no Nullable on InventoryProvider.getInventory, but some mods return null there. (cherry picked from commit 54cab8890fae9b3f7803b368fb97208d570447b1)
2020-03-20Add docs for WSprite UV fieldsJuuxel
(cherry picked from commit 8f8394b2962bd11782e253840342f79c32fd73ad)
2020-03-20Docs, fix WSprite not using UV for non-animated spritesJuuxel
(cherry picked from commit 7a35742c14f706fb71f14690fdd6f88a1cdb6d25)
2020-03-20Make scroll bars look nicerJuuxel
2020-03-19Remove environment checking from WText line wrappingJuuxel
2020-03-19Add UV support for WSprite, document WLabel constructorsJuuxel
Closes #35. (cherry picked from commit 756caa3d5941f44fac9fe15676501e16275cdd3b)
2020-03-19Remove experimental WTitle widgetJuuxel
2020-03-19Fix compilationJuuxel
2020-03-19Fix #38Juuxel
(cherry picked from commit 8b3c9477ed7983d7677915053e57743f0cfe04b9)
2020-03-19Add text hover rendering to WTextJuuxel
(cherry picked from commit a9361c757a636c9d62bbc180a5c0468f649784ba)
2020-03-19Add a multiline text widgetJuuxel
Closes #36. (cherry picked from commit ef2d9351241cdc082f281961a6a5544afdecf4fe)
2020-03-19Add an item display widget (WItem)Juuxel
(cherry picked from commit 3e98462c5b86b488ff73ccf25874a464d31e61f4)
2020-03-19Add unmodifiable slotsJuuxel
(cherry picked from commit d654f037614438aaa198c1c3da49be989ae7bea7)
2020-03-08Add game version to mod version, depend on MC 1.15.2Juuxel
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