ScummVM API documentation
Bagel::CBagCursor Class Reference
Inheritance diagram for Bagel::CBagCursor:
Bagel::CBofObject Bagel::CBofError Bagel::CSystemCursor

Public Member Functions

 CBagCursor (CBofBitmap *bmp)
 
 CBagCursor (const char *fileName, bool sharedPalFl=false)
 
void setHotspot (int x, int y)
 
CBofPoint getHotspot () const
 
int getX () const
 
int getY () const
 
ErrorCode load ()
 
ErrorCode load (CBofBitmap *bmp)
 
ErrorCode load (const char *fileName, CBofPalette *pal=nullptr)
 
void unLoad ()
 
CBofBitmapgetImage () const
 
ErrorCode setImage (CBofBitmap *bmp)
 
void setWieldCursor (bool b)
 
bool IsWieldCursor () const
 
void show ()
 
void hide ()
 
virtual void setCurrent ()
 
virtual bool isSystemCursor () const
 
- Public Member Functions inherited from Bagel::CBofError
void reportError (ErrorCode errCode, const char *format,...)
 
bool errorOccurred () const
 
ErrorCode getErrorCode () const
 
void clearError ()
 

Static Public Member Functions

static void initialize ()
 
static void shutdown ()
 
static void showSystemCursor ()
 
static void hideSystemCursor ()
 
static CBagCursorgetCurrent ()
 
static bool isSystemCursorVisible ()
 
- Static Public Member Functions inherited from Bagel::CBofObject
static bool isValidObject (const CBofObject *pObject)
 
- Static Public Member Functions inherited from Bagel::CBofError
static void fatalError (ErrorCode errCode, const char *format,...)
 
static void initialize ()
 
static int getErrorCount ()
 

Static Protected Attributes

static CBagCursor_currentCursor
 
static CSystemCursor_systemCursor
 
- Static Protected Attributes inherited from Bagel::CBofError
static int _count
 

Additional Inherited Members

- Protected Member Functions inherited from Bagel::CBofError
virtual void bofMessageBox (const Common::String &content, const Common::String &title)
 
- Protected Attributes inherited from Bagel::CBofError
ErrorCode _errCode
 

Member Function Documentation

◆ setWieldCursor()

void Bagel::CBagCursor::setWieldCursor ( bool  b)
inline

Flag whether this is a wielded cursor or not


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