FXCursor

class FXCursor

Cursor class

Inheritance:


Public Methods

[more] FXCursor(FXApp* a, FXStockCursor curid=CURSOR_ARROW)
Make stock cursor
[more] 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!
[more]FXint getWidth() const
Width of cursor
[more]FXint getHeight() const
Height or cursor
[more]FXint getHotX() const
Get hotspot x
[more]FXint getHotY() const
Get hotspot y
[more]virtual void create()
Create cursor
[more]virtual void detach()
Detach cursor
[more]virtual void destroy()
Destroy cursor
[more]virtual void savePixels(FXStream& store) const
Save pixel data only
[more]virtual void loadPixels(FXStream& store)
Load pixel data only
[more]virtual void save(FXStream& store) const
Save cursor to a stream
[more]virtual void load(FXStream& store)
Load cursor from a stream
[more]virtual ~FXCursor()
Destructor


Inherited from FXId:

Public Methods

oFXApp* getApp() const
oFXID id() const
ovoid setUserData(void* ptr)
ovoid* getUserData() const


Inherited from FXObject:

Public Methods

oconst FXchar* getClassName() const
oFXbool isMemberOf(const FXMetaClass* metaclass) const


Documentation

Cursor class
o FXCursor(FXApp* a, FXStockCursor curid=CURSOR_ARROW)
Make stock cursor

o 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!

oFXint getWidth() const
Width of cursor

oFXint getHeight() const
Height or cursor

oFXint getHotX() const
Get hotspot x

oFXint getHotY() const
Get hotspot y

ovirtual void create()
Create cursor

ovirtual void detach()
Detach cursor

ovirtual void destroy()
Destroy cursor

ovirtual void savePixels(FXStream& store) const
Save pixel data only

ovirtual void loadPixels(FXStream& store)
Load pixel data only

ovirtual void save(FXStream& store) const
Save cursor to a stream

ovirtual void load(FXStream& store)
Load cursor from a stream

ovirtual ~FXCursor()
Destructor


Direct child classes:
FXGIFCursor
FXCURCursor

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.