RE_Cursor Class Reference

#include <RE_Cursor.h>

Inheritance diagram for RE_Cursor:

RE_NTCursor RE_OSXCursor RE_XCursor

List of all members.

Public Member Functions

 RE_Cursor ()
virtual ~RE_Cursor ()
virtual RE_IDType getDeviceId (RE_IDType wid)=0
virtual void unload ()
const char * getName () const

Protected Member Functions

 RE_Cursor (const char *name)
short readCursor (FILE *fp, const char *file)
int loadBitmap (FILE *fp, int n, int l, const char *file)

Static Protected Member Functions

static bool getCursorInfo (const char *name, UT_String &path, int &x, int &y)

Protected Attributes

const char * cursorName
short originX
short originY
unsigned short * bitmap
unsigned short * mask


Detailed Description

Definition at line 66 of file RE_Cursor.h.


Constructor & Destructor Documentation

RE_Cursor::RE_Cursor (  ) 

virtual RE_Cursor::~RE_Cursor (  )  [virtual]

RE_Cursor::RE_Cursor ( const char *  name  )  [protected]


Member Function Documentation

static bool RE_Cursor::getCursorInfo ( const char *  name,
UT_String path,
int &  x,
int &  y 
) [static, protected]

virtual RE_IDType RE_Cursor::getDeviceId ( RE_IDType  wid  )  [pure virtual]

Implemented in RE_NTCursor, RE_OSXCursor, and RE_XCursor.

const char* RE_Cursor::getName ( void   )  const [inline]

Definition at line 75 of file RE_Cursor.h.

int RE_Cursor::loadBitmap ( FILE *  fp,
int  n,
int  l,
const char *  file 
) [protected]

short RE_Cursor::readCursor ( FILE *  fp,
const char *  file 
) [protected]

virtual void RE_Cursor::unload (  )  [virtual]

Reimplemented in RE_NTCursor, RE_OSXCursor, and RE_XCursor.


Member Data Documentation

unsigned short* RE_Cursor::bitmap [protected]

Definition at line 90 of file RE_Cursor.h.

const char* RE_Cursor::cursorName [protected]

Definition at line 87 of file RE_Cursor.h.

unsigned short* RE_Cursor::mask [protected]

Definition at line 91 of file RE_Cursor.h.

short RE_Cursor::originX [protected]

Definition at line 88 of file RE_Cursor.h.

short RE_Cursor::originY [protected]

Definition at line 89 of file RE_Cursor.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 31 00:31:55 2013 for HDK by  doxygen 1.5.9