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


Yes, this is a known issue of different behavior on different platforms in
FLTK 1.3. I remember that Matt added the alpha channel support on Mac OS
only, with a comment like "I hope this doesn't break anything".

A workaround is to use Fl_RGB_Image for drawing images with alpha channel,
because this works on all platforms. I used this in the demo program
test/unittest_images.cxx to make it platform-independent (intentionally
showing the difference, and I also added a comment).

I really don't know what the best way is: add alpha channel support on all
platforms to fl_draw_image(), or remove it on Mac OS, as you suggest. At
least it should be documented correctly, but for the future I'd like to
have alpha support in fl_draw_image() on all platforms.

Thanks for the heads-up !


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