Jane wrote: > my app needs a logo but i dont want to distribute .png > files (app should stay a single executable). > > so i found this: > http://wiki.wxwidgets.org/Embedding_PNG_Images > and used bin2c.c to convert my .png to a C vector like:
You would probably get more consistent results just converting your PNG files into XPM files and linking them directly into your code. Also, fluid can load a PNG file as the image of a button or similar widget and serialise it as an XPM in your code for you. You can then just show your button, or reference it it "steal" its image for your own needs elsewhere. If you are dead-set on serialising the PNG data yourself, then this howto might help a bit... http://www.fltk.org/articles.php?L468 -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

