The normal use of a .xpm file is to include it into your source code. In that case you want to use an fltk::xpmImage object.
Public Member Functions | |
bool | fetch () |
Static Public Member Functions | |
static SharedImage * | get (const char *name, const uchar *datas=0) |
static bool | test (const uchar *datas, unsigned size=0) |
|
Test a block of data read from the start of the file to see if it looks like the start of a .xpm file. This returns true if the data contains "/\* XPM". |