DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2583
Version: 1.3-current


The attached fl_draw_image.patch is proposed to add alpha channel
optional support under Mac OS. I have defined another enum value,
FL_IMAGE_DATA_LA, when the image is luminance + alpha, because
using the name FL_IMAGE_DATA_RGBA for this case would be
misleading.
With this patch, the undocumented FL_IMAGE_WITH_ALPHA that was
used to support Fl_RGB_Image::draw() under MSWindows is removed from
file FL/Enumerations.H

Functions fl_draw_image{_mono}(Fl_Draw_Image_Cb,...) under WIN32
were programmed to accept the FL_IMAGE_WITH_ALPHA flag. 
They are never called with this flag in the present code base.
Thus, the patch removes support for the alpha flag for these
functions with the assumption that no user application would use
this undocumentated flag.


Link: http://www.fltk.org/str.php?L2583
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to