Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an ImageDecorator widget #588

Open
mrDIMAS opened this issue Jan 17, 2024 · 2 comments
Open

Add an ImageDecorator widget #588

mrDIMAS opened this issue Jan 17, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers user-interface

Comments

@mrDIMAS
Copy link
Member

mrDIMAS commented Jan 17, 2024

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.

@mrDIMAS mrDIMAS added enhancement New feature or request good first issue Good for newcomers user-interface labels Jan 17, 2024
@takahiro6730
Copy link

takahiro6730 commented Jun 19, 2024

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.

@mrDIMAS
Copy link
Member Author

mrDIMAS commented Jun 19, 2024

Sure, any help is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers user-interface
Projects
None yet
Development

No branches or pull requests

2 participants