Roman Kantor wrote: > This is ongoing story with "enum" vs "int" vs "typedef" vs "special > class with conversion operators" types, possibility to "|" or "+" them etc. > > Because unsigned int prevails for color arguments though fltk api > to accept values like 0xRRGGBB00 directly, for consistency I guess for > fltk-1.3 the change to "unsigned int" for "set" function and keeping > Fl_Color as return type for "get" should be fine and backward compatible.
I'm not sure about it, but I think that Matthias changed some unsigned declarations to Fl_Color in the transition to FLTK 1.3, but if the same bug is in 1.1, then I don't know ... Since I (we?) don't know what exactly he wanted to do, we should wait until he chimes in and can tell us. Maybe he started to change it and didn't finish... (if I remember correctly at all). Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

