Releases: CottonMC/LibGui
Releases · CottonMC/LibGui
1.6.0
1.5.1
1.5.0
Added:
- A new nine-patch background painter that can paint widgets using nine-patch textures.
BackgroundPainter.VANILLA_9PATCH
is an experimental panel background painter that looks like a vanilla GUI panel and is textureable.
- (Experimental)
WTitle
, a widget for displaying titles in fancy GUI panel boxes. Inspired by Spinnery. - Better mouse events:
onMouseDrag
now provides the two dragging amount variablesonMouseMove
lets you run code when the mouse is moved inside a widget
Fixed:
WClippedPanel
andWListPanel
now work again.- Note that because they use
glScissor
instead of depth testing,WClippedPanel
masks are not supported anymore.
- Note that because they use
1.4.0
1.3.2
New widgets and BG painters
- add
WSprite
widget for displaying images or animations in a gui - add
WPlayerInvPanel
widget for quickly/easily drawing a player's inventory and applying painters to itCottonContainer#createPlayerInventoryPanel
now returns aWPlayerInvPanel
- add
BackgroundPainter.SLOT
for painting slots with vanilla coloring
Initial Release
- Initial release separate from Cotton