-
-
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
Style question: Gradient #4495
Comments
Also, i've got another question, if i want to modify a widget and i want to animate the widget like opacitiy fade or changing the position once clicked, how am i supposed to do that? If i change the opacity or the position of the rectangle all widgets will get affected after i press one. I've been trying to recreate the windows 10 checkbox (the moving circle from left to right) but after i move the circle on pressed all checkboxes will move too. |
You might want to check out #1537 for the checkbox. |
It is possible to customize rendering by setting |
A gradient can be created using Your questions are generally a bit too vague and open-ended while also suggesting unfamiliarity with some concepts so it's going to be not easy to lay out simple answers. Everything is possible is to put the work to it. |
So like, what would you recommend to do to make something that looks like glow/shadow, or possibly the easiest way to achieve that. |
There's on "easy" way to achieve that. You have all cards in hands to draw custom elements. There's a |
That's actually absolutely perfect! Thanks and enjoy the rest of the day. |
My Issue/Question:
Is it possible in current ImGui version to achieve some good looking glow around widgets?
Maybe a two color gradient, but what about circles? and is gradient from the center even possible?
The text was updated successfully, but these errors were encountered: