43 static const FXchar fileExt[];
44 static const FXchar mimeType[];
51 virtual bool savePixels(
FXStream& store)
const;
54 virtual bool loadPixels(
FXStream& store);
57 virtual ~FXXPMImage();
bool fxcheckXPM(FXStream &store)
Check if stream contains a XPM, return TRUE if so.
char FXchar
Definition: fxdefs.h:380
unsigned int FXuint
Definition: fxdefs.h:389
bool fxsaveXPM(FXStream &store, const FXColor *data, FXint width, FXint height, bool fast=true)
Save an XPM (X Pixmap) file to a stream.
#define FXAPI
Definition: fxdefs.h:122
Application Object.
Definition: FXApp.h:158
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:447
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
bool fxloadXPM(const FXchar **pix, FXColor *&data, FXint &width, FXint &height)
Load an XPM (X Pixmap) from array of strings.
X Pixmap image.
Definition: FXXPMImage.h:35
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92