Cursor class
Inheritance:
Public Methods
-
FXCursor(FXApp* a, FXStockCursor curid=CURSOR_ARROW)
- Make stock cursor
-
FXCursor(FXApp* a, const void* src, const void* msk, FXint w=32, FXint h=32, FXint hx=-1, FXint hy=-1)
- Make cursor from source and mask; cursor size should at most 32x32 for portability!
-
FXint getWidth() const
- Width of cursor
-
FXint getHeight() const
- Height or cursor
-
FXint getHotX() const
- Get hotspot x
-
FXint getHotY() const
- Get hotspot y
-
virtual void create()
- Create cursor
-
virtual void detach()
- Detach cursor
-
virtual void destroy()
- Destroy cursor
-
virtual void savePixels(FXStream& store) const
- Save pixel data only
-
virtual void loadPixels(FXStream& store)
- Load pixel data only
-
virtual void save(FXStream& store) const
- Save cursor to a stream
-
virtual void load(FXStream& store)
- Load cursor from a stream
-
virtual ~FXCursor()
- Destructor
Inherited from FXId:
Public Methods
-
FXApp* getApp() const
-
FXID id() const
-
void setUserData(void* ptr)
-
void* getUserData() const
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
Documentation
Cursor class
FXCursor(FXApp* a, FXStockCursor curid=CURSOR_ARROW)
- Make stock cursor
FXCursor(FXApp* a, const void* src, const void* msk, FXint w=32, FXint h=32, FXint hx=-1, FXint hy=-1)
- Make cursor from source and mask; cursor size should at most 32x32 for portability!
FXint getWidth() const
- Width of cursor
FXint getHeight() const
- Height or cursor
FXint getHotX() const
- Get hotspot x
FXint getHotY() const
- Get hotspot y
virtual void create()
- Create cursor
virtual void detach()
- Detach cursor
virtual void destroy()
- Destroy cursor
virtual void savePixels(FXStream& store) const
- Save pixel data only
virtual void loadPixels(FXStream& store)
- Load pixel data only
virtual void save(FXStream& store) const
- Save cursor to a stream
virtual void load(FXStream& store)
- Load cursor from a stream
virtual ~FXCursor()
- Destructor
- Direct child classes:
- FXGIFCursor
FXCURCursor
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.