DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2520 Version: 1.3.0 It's set to use two parameters, because the other constructor uses (char*) to get the filename. Since (char*) can be signed or unsigned, depending on compiler settings, using (unsigned char*) for the second constructor may fail at library compilation. (vid*) may fail at user code compilation for similar reasons. So I needed a second parameter. In FLTK2, all images have a unique name, so you can use them in labels. For example, you could write: Fl_JPEG_Image img("fltkLogo", logoData); myButton->label("I think that @fltkLogo; is great"); I suggest that we leave this all in, but maybe add a line saying that we recommend giving a unique name even though it is not used yet by any code. Link: http://www.fltk.org/str.php?L2520 Version: 1.3.0 _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
