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


FLTK 1.3 adds a new Fl_JPEG_Image constructor that loads images from
memory:

Fl_JPEG_Image::Fl_JPEG_Image (const char *name, const unsigned char *data)

The documentation of parameter name specifies that a unique name should be
provided, but it is not used in the constructor.

Do we need the image name (maybe for Fl_Shared_Image support?). If yes,
this should be fixed.

Otherwise, if the image name is not needed: should the c'tor be changed
to:

Fl_JPEG_Image::Fl_JPEG_Image (const unsigned char *data)

by removing the first argument?

Otherwise a simple fix would be to change the docs.

Note: Priority is high, because this would change the API and ABI if we
changed the c'tor later.


Link: http://www.fltk.org/str.php?L2520
Version: 1.3.0

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to