Roman Kantor wrote:
> I want to load file icon from in-compiled xpm array,
> the documentation (for fltk-1.1.10) describes method as
> 
>   Fl_File_Icon::load_xpm(const char *xpm);
> 
> But this function does not seem to exist at all.
> Also the format for xpm seems not to be correct - xpm should be rather 
> pointer to the array of strings (so sort-off double pointer)?
> Am I missing something?

    I did a "grep -r load_xpm ." in FLTK 1.3.x and found this comment
    in the CHANGES for 1.1.0b6:

        - Fl_File_Icon now uses Fl_Shared_Image to load icon
          images; the load_png() and load_xpm() methods have
          been replaced by a single load_image() method.

    So apparently the 1.1.10 docs need to be corrected.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to