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.