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


Agreed.

+1 for removing alpha channel support from fl_draw_image() on Mac OS in
favor of an additional function parameter to enable the alpha channel
explicitly (as suggested above).

I propose that we use an additional parameter (enum [image_]data_format)
for future expansion, with the following values as a start:

 FL_IMAGE_DATA_RGB = 0
 FL_IMAGE_DATA_RGBA = 1

(the names are subject for discussion).

The documentation should state that all other values lead to undefined
behavior and are reserved for future expansion (e.g. FL_IMAGE_DATA_ABGR or
whatever, maybe also other bit sizes).

Whatever we do now, we *should* re-enable the alpha channel for Mac OS by
using this parameter accordingly. This ought to be acceptable since the
old version has never been released officially.

Then we *may* also add the alpha channel support for all other platforms
*or* document this as a /current/ restriction.

Opinions and votes, please...


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