| 51 | } |
| 52 | |
| 53 | void PlatformCursorController::popCursor() |
| 54 | { |
| 55 | // Before poping the stack, make sure we're not trying to remove the last cursor shape |
| 56 | if ( mCursors.size() <= 1 ) |
| 57 | { |
| 58 | return; |
| 59 | } |
| 60 | |
| 61 | // Clear the Last Cursor. |
| 62 | mCursors.pop_back(); |
| 63 | |
| 64 | // Now Change the Cursor Shape. |
| 65 | setCursorShape( mCursors.last(), true ); |
| 66 | } |
| 67 | |
| 68 | void PlatformCursorController::refreshCursor() |
| 69 | { |