Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
instance, causing an NPE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
delegate fallbacks
These are useful with simple screen handlers from
fabric-screen-handler-api-v1.
|
|
|
|
|
|
|
|
|
|
coordinate support to CottonClientScreen
|
|
|
|
|
|
* Add a global scissor stack for nested scissor support
* Fix scissors not having proper dimensions, add check for negatives
|
|
|
|
|
|
|
|
Closes #66.
|
|
|
|
|
|
|
|
* implement a WTiledSprite widget
* tiledSprite: new constuctor, cleanup api and comments
* Update GuiTest/src/main/java/io/github/cottonmc/test/client/TestClientGui.java
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
- All Text usages apart from screen titles have been replaced with class_5348
- WLabel. and WText. getTextAt has been replaced by getTextStyleAt to match vanilla functionality
- CottonInventoryScreen.drawForeground
- Prevents vanilla from rendering the player inventory label (already rendered by us
and not needed in every GUI)
- The title is now rendered using the title coordinate fields like in vanilla
|
|
|
|
|
|
Closes #57.
|
|
|
|
Widgets can now have inner parts of themselves focused that will be cycled.
This is basically the panel focusing system without the pivot.
|
|
|
|
|
|
|
|
|
|
|
|
label
|
|
Closes #37. Closes #54.
|
|
Reverts commit bedf10d4.
|
|
|
|
|
|
Now the height is un-hardcoded with a minimum of 8 pixels.
|