On Jul 8, 2007, at 5:59 PM, Hans George wrote: >> Fl_RGB_Image (or the correspoding FLTK2 interfaces) has a method >> "darken". You could copy that and write a "lighten" function. > > Hm, isn`t this methode listed up in the documentation, or am I to > blind to find it? It should be listed up here: http://www.fltk.org/ > doc-1.1/Fl_RGB_Image.html shouldn`t it? > > I can`t find this methode in the fltk2 source code, too ...
Ah, no, the method is called Fl_Image::color_average() and creates deactivated images from active images. It might actually work for you without any changes by calling it with (FL_WHITE, 0.8) for example ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

