-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Skin support / example? #6913
Comments
Dear ImGui's current styling system is relatively limited, and as a result most UIs created with it have a similar feel. That being said, some people accomplish quite a bit with what's available (sometimes with copious amounts of custom drawing and widgets.) The gallery threads are a good place to find examples of this. Here's some random ones I found/remembered:
Another useful thread is the styles/themes thread, which provides a multitude of simpler examples.
There's a fairly exhaustive list of third-party extensions on the wiki. They're mostly for custom widgets, but maybe they can help you accomplish the vibe you're wanting to go for.
In general Dear ImGui's widget rendering is fairly limited, for example here's the code that renders buttons: Lines 706 to 709 in 5053d79
Lines 3439 to 3451 in 5053d79
There is no general guide to customizing Dear ImGui beyond what |
Depending on the effect you want, you could do a lot without customizing widgets already. Instead of rendering to the back buffer directly, you could render to a texture and use some custom post processing. Together with custom styles (f.e. to color code for post processing effects) you could do some interesting stuff. Or you could use your own backend with custom shaders. This may be enough as long as you can limit yourself to sampling based on the screen position. If not, custom widgets are the way to go. |
Closing as answered, let us know if you have other questions! |
I know imgui supports styles, but I was wondering if anyone had any success applying a skin? If there are any third party addons or examples that would be great. Or advice about how i could go about this myself.
The text was updated successfully, but these errors were encountered: