-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Added Color Picker Widget #145
Conversation
I managed to get the shader to work by adding I'm ok with keeping this color wheel for now. It's understandable now that I see what it looks like (I was just guessing before based on the color that was being chosen when I clicked somewhere in the canvas). |
I will repair the errors that you have found. |
There are still a few small things that need to be changed. But after the following changes it will probably be finished enough to be merged.
template <typename Type, typename std::enable_if<!std::is_same<Type, std::string>::value
&& !std::is_same<Type, sf::Vector2f>::value
&& !std::is_same<Type, sf::Color>::value>::type* = nullptr> |
Signed-off-by: Michal_Marszalek <1aam2am1@gmail.com>
Thanks for contributing the widget and fixing the issues with it. |
Signed-off-by: Michal_Marszalek <1aam2am1@gmail.com>
Added simple functional color picker widget.
Styled on gimp, with HSV circle and value sliders.