You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fyrox-ui has a Decorator widget, that switches its brushes when it is hovered, clicked, selected, idle. This works for simple cases, but in many games you have a custom graphics for different cases. This is where ImageDecorator could be helpful - it should have four states as well as Decorator widget, but instead of switching brushes, it should show/hide children widgets, that represents different states. For example you can have an ImageDecorator that have four Image widgets as child nodes, where each image represents hovered, clicked, selected and idle states respectively.
The text was updated successfully, but these errors were encountered:
Can I contribute here?
I am fascinated by the idea of Fyrox.
I have experience handling files in Rust.
Contributor at https://github.com/igumnoff/shiva.
fyrox-ui
has a Decorator widget, that switches its brushes when it is hovered, clicked, selected, idle. This works for simple cases, but in many games you have a custom graphics for different cases. This is whereImageDecorator
could be helpful - it should have four states as well as Decorator widget, but instead of switching brushes, it should show/hide children widgets, that represents different states. For example you can have anImageDecorator
that have fourImage
widgets as child nodes, where each image represents hovered, clicked, selected and idle states respectively.The text was updated successfully, but these errors were encountered: