Wouldn't it just be "add transparency to fl_draw_image() on all platforms"? I'm not the one who wants to draw transparent images, just rectangles, so I haven't really followed that bug, and I've never used fl_draw_image(). As long as Fl_RGB_Image::draw continues to support alpha then I'm happy, but then again the only reason I'm using that is a hack to get around the lack of transparency for fl_rectf :)
I would have thought fl_draw_image was the primitive that Fl_RGB_Image just called, but looking at the source, apparently not so. On the subject of fl_rectf transparency, would it be reasonable to have them pay attention to an alpha byte in Fl_Color? I imagine OS X support would be pretty easy since it supports alpha stuff natively, and I guess modern windowses too. Not sure about X. On Sat, Apr 23, 2011 at 1:42 PM, Manolo Gouy <manolo.g...@univ-lyon1.fr> wrote: > Agreed. Could you, please, post this RFE yourself specifying > what image format support would be necessary beyond RGBA ? > I would then close STR #2583. > >> I think it would be less confusing to close this ticket as bug fixed >> and create another for the new feature request. >> >> But in any case, as long as we're on this topic, I added my own >> feature request for alpha for the shape functions. >> >> > >> > [STR New] >> > >> > Link: http://www.fltk.org/str.php?L2583 >> > Version: 1.3-feature >> > Fix Version: 1.3-feature >> > >> > >> > Reclassified as an RFE because the initial Mac OS inconsistency >> > has been fixed, as noted by the OP. >> > >> > The enhancement would be to add transparency support to the >> > fl_draw_image() function on all platforms. >> > >> > >> > Link: http://www.fltk.org/str.php?L2583 >> > Version: 1.3-feature >> > Fix Version: 1.3-feature >> > >> > _______________________________________________ >> > fltk-dev mailing list >> > fltk-dev@easysw.com >> > http://lists.easysw.com/mailman/listinfo/fltk-dev >> > >> > > _______________________________________________ > fltk-dev mailing list > fltk-dev@easysw.com > http://lists.easysw.com/mailman/listinfo/fltk-dev > _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev