Age | Commit message (Collapse) | Author |
|
|
|
|
|
- paintBackground -> paint, removed paintForeground.
Closes #42.
- paint takes the MatrixStack as well.
Closes #52.
- Renamed WTextField.renderButton to renderTextField
and made it protected.
|
|
|
|
|
|
# Conflicts:
# src/main/java/io/github/cottonmc/cotton/gui/CottonInventoryController.java
|
|
|
|
|
|
Should fix #41.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I hate this snapshot.
|
|
|
|
There's no Nullable on InventoryProvider.getInventory,
but some mods return null there.
|
|
Closes #39.
|
|
|
|
|
|
|
|
|
|
|
|
Closes #35.
|
|
|
|
|
|
|
|
Closes #36.
|
|
|
|
|
|
|
|
If the children are higher than the layout height,
they should still be partially visible.
|
|
Closes #34.
|
|
|
|
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.
|
|
|
|
EmptyInventory parameters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It was a bit buggy.
|