Age | Commit message (Collapse) | Author |
|
Closes #77.
|
|
Closes #47.
|
|
Mojang refactored text again :irritatered:
- Widgets now take a Text again instead of StringRenderable/-Visitable
- ScreenDrawing takes OrderedTexts instead of StringVisitables
- To reduce the future updating workload, tooltips now use a new TooltipBuilder
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|