46 CURSOR_KEEP = 0x00000100,
47 CURSOR_OWNED = 0x00000200
72 FXCursor(
FXApp* a,
const FXuchar* src,
const FXuchar* msk,FXint w=32,FXint h=32,FXint hx=0,FXint hy=0);
75 FXCursor(
FXApp* a,
const FXColor* pix,FXint w=32,FXint h=32,FXint hx=0,FXint hy=0);
78 void setOptions(FXuint opts);
84 void setOwned(FXbool owned);
87 FXbool isOwned()
const;
108 FXbool isColor()
const;
111 virtual void create();
114 virtual void detach();
117 virtual void destroy();
120 virtual void release();
123 virtual FXbool savePixels(
FXStream& store)
const;
126 virtual FXbool loadPixels(
FXStream& store);
129 virtual void save(
FXStream& store)
const;
FXint getHotX() const
Get hotspot x; returns 0 for stock cursors.
Definition: FXCursor.h:99
FXint getHotY() const
Get hotspot y; returns 0 for stock cursors.
Definition: FXCursor.h:105
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
Encapsulates server side resource.
Definition: FXId.h:34
Definition: FX4Splitter.h:28
void setHotY(FXint y)
Set hotspot y; returns 0 for stock cursors.
Definition: FXCursor.h:102
Cursor class.
Definition: FXCursor.h:52
FXint getWidth() const
Width of cursor; returns 0 for stock cursors.
Definition: FXCursor.h:90
void setHotX(FXint x)
Set hotspot x; returns 0 for stock cursors.
Definition: FXCursor.h:96
FXuint getOptions() const
To get to the option flags.
Definition: FXCursor.h:81
FXint getHeight() const
Height of cursor; returns 0 for stock cursors.
Definition: FXCursor.h:93