billyquith / GWork

Skinnable GUI with useful widget collection. Fork of GWEN.
https://billyquith.github.io/GWork/
Other
216 stars 30 forks source link

Refactor colour picker #71

Open billyquith opened 6 years ago

billyquith commented 6 years ago
billyquith commented 6 years ago

@sfinktah I should be able to whip you up an actual "HSV" color picker too, I've already had to replicate imgui's conversion routines for HSV and RGB conversion. But hell if I know what I'd call the class. Also, my implementation used integers, not floats, so the range for a HSV value would be [360, 100, 100, 255] (yeah, it doesn't really make a lot of sense, i know) :p

Perhaps there needs to be some color conversion routines. Then each implementation of the color pickers can use these routines.