Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXCURCursor Class Reference

#include <FXCURCursor.h>

Inheritance diagram for FX::FXCURCursor:
FX::FXCursor FX::FXId FX::FXObject

Public Member Functions

 FXCURCursor (FXApp *a, const void *pix)
 
virtual bool savePixels (FXStream &store) const
 
virtual bool loadPixels (FXStream &store)
 
virtual ~FXCURCursor ()
 
- Public Member Functions inherited from FX::FXCursor
 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
 
void setHotX (FXint x)
 
FXint getHotX () const
 
void setHotY (FXint y)
 
FXint getHotY () const
 
bool isColor () const
 
virtual void create ()
 
virtual void detach ()
 
virtual void destroy ()
 
virtual void release ()
 
virtual void save (FXStream &store) const
 
virtual void load (FXStream &store)
 
virtual ~FXCursor ()
 
- Public Member Functions inherited from FX::FXId
FXAppgetApp () const
 
FXID id () const
 
void setUserData (void *ptr)
 
void * getUserData () const
 
virtual ~FXId ()
 
- Public Member Functions inherited from FX::FXObject
virtual long onDefault (FXObject *, FXSelector, void *)
 
const FXchargetClassName () const
 
bool isMemberOf (const FXMetaClass *metaclass) const
 
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
 
virtual ~FXObject ()
 

Static Public Attributes

static const FXchar fileExt []
 

Detailed Description

CUR Cursor class.

Constructor & Destructor Documentation

FX::FXCURCursor::FXCURCursor ( FXApp a,
const void *  pix 
)

Construct a cursor from memory stream in Microsoft CUR format.

The image is limited to 32x32 pixels.

virtual FX::FXCURCursor::~FXCURCursor ( )
virtual

Destructor.

Member Function Documentation

virtual bool FX::FXCURCursor::savePixels ( FXStream store) const
virtual

Save pixel data only, in CUR format.

Reimplemented from FX::FXCursor.

virtual bool FX::FXCURCursor::loadPixels ( FXStream store)
virtual

Load pixel data only, in CUR format.

Reimplemented from FX::FXCursor.

Member Data Documentation

const FXchar FX::FXCURCursor::fileExt[]
static

Copyright © 1997-2005 Jeroen van der Zijp