40 static const FXchar fileExt[];
41 static const FXchar mimeType[];
45 FXXBMIcon(
FXApp* a,
const FXuchar *pixels=
nullptr,
const FXuchar *mask=
nullptr,FXColor clr=FXRGB(192,192,192),FXuint opts=0,FXint w=1,FXint h=1);
48 virtual FXbool savePixels(
FXStream& store)
const;
51 virtual FXbool loadPixels(
FXStream& store);
64 extern FXAPI FXbool fxcheckXBM(
FXStream& store);
71 extern FXAPI FXbool fxloadXBM(FXColor*& data,
const FXuchar *pix,
const FXuchar *msk,FXint width,FXint height);
79 extern FXAPI FXbool fxloadXBM(
FXStream& store,FXColor*& data,FXint& width,FXint& height,FXint& hotx,FXint& hoty);
86 extern FXAPI FXbool fxsaveXBM(
FXStream& store,
const FXColor *data,FXint width,FXint height,FXint hotx=-1,FXint hoty=-1);
92 extern FXAPI FXbool fxsavePS(
FXStream& store,
const FXColor *data,FXint width,FXint height,FXint paperw=612,FXint paperh=792,FXint margin=35,FXbool color=
true);
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
X Bitmap icon.
Definition: FXXBMIcon.h:32