Andy wrote:
> When I compile, the program doesn't display the images unless I put them in 
> relative directories to the executable. Is there a way I could embed the 
> images into the program itself and use them?

        Ya, XPM files are exactly for this purpose; you can just #include them,
        or even paste them inline.

        See:
        http://seriss.com/people/erco/fltk/#DraggableBoxes
        http://seriss.com/people/erco/fltk/thumbnail_scroller.txt

        Most paint programs and image programs (gimp, xv, convert)
        will let you save as xpm files.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to