Edzard Egberts wrote:
> Matthias Melcher schrieb:
>> Um,
>>
>> http://www.fltk.org/documentation.php/doc-1.1/Fl.html#Fl.get_color
>>
>> void Fl::get_color(Fl_Color c, uchar&r, uchar&g, uchar&b);
>> and
>> unsigned Fl::get_color(Fl_Color c);
>
> LOL - finally! I'm sorry for making trouble, but I didn't find it:
>
> First I had a look to "3 - Common Widgets and Attributes: Colors" and
> found "functions.html#fl_rgb_color" mentioned. Then I went through the
> functions for reverse fl_rgb_color-function. But I never thought of
> reading all Fl::methods and I'm not sure, that I would have recognised
> get_color() just by name to be what I needed...
Color docs sound like they need to be updated to show a simple
rgb->Fl_Color and Fl_Color->rgb example.
If you agree, make an STR for the docs and someone will add it.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk