On Feb 9, 2010, at 11:53 AM, MacArthur, Ian (SELEX GALILEO, UK) wrote:

> What you need is some sort of "resource compiler" to borrow a MS term - 
> basically to convert the png files into binary blobs you can link into your 
> code.
> We wrote our own but I'm sure there must be better ways to do it. Basically 
> it stored the data as arrays in memory and returned a char* we could 
> reference extern to point at the data.

The grubinst program contains a bin2h.c program which takes an input file and 
outputs a .h file containing a char* array.
Find it here: http://sourceforge.net/projects/grub4dos/files/

I'm sure there are others, but that one comes to mind quickly.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to