Shadows-of-Fire / PackMenu

Tool for editing the main menu in modpacks.
MIT License
16 stars 10 forks source link

[Feature Request] Additional states for ICON and TEXT #51

Closed Ridanisaurus closed 4 months ago

Ridanisaurus commented 4 months ago

The addition of additional states to the ICON and TEXT objects would allow for better visual effects such as a new texture, or an X + Y position. It can follow the same 4 states of the SPRITE object.

Shadows-of-Fire commented 4 months ago

Fortunately I think we only need two states (not hovered/focused and hovered/focused) because the disabled state is static for the lifetime of the button. The only reason the WidgetSprites object has the four states at the json level is because it's a vanilla object, and "real" buttons may have all four states.