|
|
Anonymous wrote:
Hello Everyone!
Can you please tell me how I can get RGB-values for the colors of the FLTK-Palette?
I want to set my OpenGL-Background-Color to the same as the FLTK-Background is, but therefore I do need RGB-Values. The color()-function only gives me the color number of the FLTK-Palette, but I cant use this in OpenGL.
I assume, the color info is also somewhere in (argc,argv), because with these parameters FLTK adapts to the systems colors. But I have no idea, if this is true and how to get the color info out.
In FLTK 1.1.x, use Fl::get_color(c, r, g, b).
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
[ Direct Link to Message ] | |
|
| |