|
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. | |
| void | refreshCursor () |
| Refresh the Cursor. | |
Protected Member Functions | |
| void | changeCursorShape (S32 cursorID) |
| Change the Current Cursor Shape. | |
Protected Attributes | |
| Vector< cursors > | mCursors |
| A Vector of Platform Cursors. | |
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.