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 icons for widgets in World Viewer #585

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

Add icons for widgets in World Viewer #585

mrDIMAS opened this issue Jan 17, 2024 · 0 comments
Labels
editor anything related to the editor good first issue Good for newcomers

Comments

@mrDIMAS
Copy link
Member

mrDIMAS commented Jan 17, 2024

UI editor does not have icons for widgets and it is hard to quickly understand to which widget you're looking at. It would be nice to have icons for widgets in here.

Icons

To do that, go to editor/src/ui_scene/utils.rs, find fn icon_of(..) { .. } method and add icons there like it is done in editor/src/world/graph/mod.rs icon_of method. All you need to do is to check the actual type of widget and return a respective icon image. This task also involves some searching for icons, you can use any icon with permissive license (CC0, CC BY-SA, etc).

@mrDIMAS mrDIMAS added good first issue Good for newcomers editor anything related to the editor labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor anything related to the editor good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant