2013-11-21, 20:50
Designing a color selection dialog was a major pain, but this will be much more useful that the one used in the header color dialog.
Eventually I will use this new code for the header color dialog as well.
I'll probably add help for it later, but for now you have:
R: Red
G: Green
B: Blue
V: Value (ie how much black)
S: Saturation (ie how much color)
A: Alpha (ie how transparent the color is)
The sliders will update their colors to reflect what color you will get when you move the slider to that position.
This is basically modeled after the Gimp color dialog. For some parts I reverse engineered the Gimp's operation after much trial and error
All this math makes my head hurt
Eventually I will use this new code for the header color dialog as well.
I'll probably add help for it later, but for now you have:
R: Red
G: Green
B: Blue
V: Value (ie how much black)
S: Saturation (ie how much color)
A: Alpha (ie how transparent the color is)
The sliders will update their colors to reflect what color you will get when you move the slider to that position.
This is basically modeled after the Gimp color dialog. For some parts I reverse engineered the Gimp's operation after much trial and error
All this math makes my head hurt