![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXCursor.h>
Inheritance diagram for FX::FXCursor:

Public Member Functions | |
| FXCursor (FXApp *a, FXStockCursor curid=CURSOR_ARROW) | |
| FXCursor (FXApp *a, const FXuchar *src, const FXuchar *msk, FXint w=32, FXint h=32, FXint hx=0, FXint hy=0) | |
| FXCursor (FXApp *a, const FXColor *pix, FXint w=32, FXint h=32, FXint hx=0, FXint hy=0) | |
| FXint | getWidth () const |
| FXint | getHeight () const |
| FXint | getHotX () const |
| FXint | getHotY () const |
| FXbool | isColor () const |
| virtual void | create () |
| virtual void | detach () |
| virtual void | destroy () |
| virtual void | release () |
| virtual FXbool | savePixels (FXStream &store) const |
| virtual FXbool | loadPixels (FXStream &store) |
| virtual void | save (FXStream &store) const |
| virtual void | load (FXStream &store) |
| virtual | ~FXCursor () |
See also:
|
||||||||||||
|
Make stock cursor.
|
|
||||||||||||||||||||||||||||||||
|
Make cursor from source and mask; cursor size should at most 32x32 for portability!
|
|
||||||||||||||||||||||||||||
|
Make cursor from FXColor pixels; cursor size should be at most 32x32 for portability!
|
|
|
Destructor.
|
|
|
Width of cursor; returns 0 for stock cursors.
|
|
|
Height of cursor; returns 0 for stock cursors.
|
|
|
Get hotspot x; returns 0 for stock cursors.
|
|
|
Get hotspot y; returns 0 for stock cursors.
|
|
|
Check if there is color in the cursor.
|
|
|
Create cursor.
Reimplemented from FX::FXId. |
|
|
Detach cursor.
Reimplemented from FX::FXId. |
|
|
Destroy cursor.
Reimplemented from FX::FXId. |
|
|
Release pixels buffer if it was owned.
|
|
|
Save pixel data only.
Reimplemented in FX::FXCURCursor, and FX::FXGIFCursor. |
|
|
Load pixel data only.
Reimplemented in FX::FXCURCursor, and FX::FXGIFCursor. |
|
|
Save cursor to a stream.
Reimplemented from FX::FXId. |
|
|
Load cursor from a stream.
Reimplemented from FX::FXId. |
|
|