CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CRM64Pro::CursorMgr

Cursor Manager class. More...

Inherits CRM64Pro::ManagerBase.

Public Member Functions

Sint32 info (Sint32 iMode=0)
 Request Cursor Manager information.
 
Sint32 create (const string &sName, Uint32 iVersion=10)
 Create a new cursor.
 
Sint32 close (Sint32 idCur)
 Close and destroy a cursor.
 
Sint32 getNum ()
 Get number of loaded objects.
 
Sint32 setName (Sint32 idCur, const string &sName)
 Change the object name.
 
Cursorget (Sint32 idCur)
 Get a pointer to the cursor using its handler.
 
Sint32 select (Sint32 idCur)
 Select a mouse cursor.
 
Sint32 getSelect ()
 Get selected mouse cursor.
 
Sint32 show ()
 Make visible the selected mouse cursor.
 
Sint32 hide ()
 Hide the mouse cursor.
 
Sint32 setPosition (Sint32 iX, Sint32 iY, Sint32 idScreen=0)
 Set the mouse cursor position.
 
Sint32 getPosition (Sint32 *iX, Sint32 *iY)
 Get the mouse cursor position.
 
Sint32 getButtons ()
 Get the mouse buttons.
 
Sint32 getButtonsPrev ()
 Get the previous mouse buttons.
 
Sint32 getFocus ()
 Get the Screen id which currently has mouse focus.
 
Sint32 child (Sint32 idCur)
 Create a child cursor dependant on the provided one(the parent).
 
Sint32 load (const string &sFileCDC, const string &sName)
 Load a cursor stored in a CDC file.
 
Sint32 load (const Sint32 idCDC, const string &sName)
 Load a cursor stored in a CDC file.
 
Sint32 remove (Sint32 idCDC, const string &sName)
 Remove a cursor stored in a CDC file.
 

Detailed Description

Cursor Manager class.