DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2353 Version: 2.0-feature Hi Ben. (I hope I'm replying to this right.) First of all, it was more of a feature request than anything else. By allowing png files to load the way xpm files load, we'd have true alpha images that can be overlaid on buttons with user selected colors giving dramatic effects for rollover, etc. As a bug, I think you can probably ignore it. You're probably right. I wrote that fairly early in my experience with 2.x fltk-x2 has a class named pngData that does essentially the same as xpmImageFile (or whatever it's called). And FTL now incorporates 'fetch()' into the 'get()' function making the entire issue moot. I'll post a link to some working code soon, though adding 'fetch()' (which loads the actual image data rather than just a link to the shared image location -- for fetching only in the case the image is needed) if you are interested, but the GuessImage with fetch built into the get() function is probably what the fluid designers thought SharedImage would do in the case of inlined data. It's GREAT to see someone hacking the 2.x code. It was incredibly well designed but had a few bugs and some of the code didn't match the descriptions. But it's got TONS of potential. Thanks!! Link: http://www.fltk.org/str.php?L2353 Version: 2.0-feature _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
