Torque2D Reference
|
#include <platformInput.h>
Classes | |
struct | cursors |
Public Types | |
enum | { curArrow = 0, curWait, curPlus, curResizeVert, curResizeHorz, curResizeAll, curIBeam, curResizeNESW, curResizeNWSE } |
Public Member Functions | |
void | pushCursor (S32 cursorID) |
void | popCursor () |
Pop a Cursor from the Stack. More... | |
void | refreshCursor () |
Refresh the Cursor. More... | |
Protected Member Functions | |
void | changeCursorShape (S32 cursorID) |
Change the Current Cursor Shape. More... | |
Protected Attributes | |
Vector< cursors > | mCursors |
A Vector of Platform Cursors. More... | |
A Singleton LIFO stack of platform cursor shapes
The CursorManager class manages a LIFO stack of platform cursor shapes with a standard platform cursor at the bottom, usually an Arrow Cursor.
anonymous enum |
|
protected |
Change the Current Cursor Shape.
void popCursor | ( | ) |
Pop a Cursor from the Stack.
void pushCursor | ( | S32 | cursorID | ) |
Push a Cursor onto the Stack
cursorID | The Cursor ID to use |
void refreshCursor | ( | ) |
Refresh the Cursor.