diff options
author | Christopher Page | 2008-06-09 23:15:17 +0000 |
---|---|---|
committer | Christopher Page | 2008-06-09 23:15:17 +0000 |
commit | 4fddafa3e6ef1c250804ea6ce9baaf2a911027e8 (patch) | |
tree | fa4b52832bde3458a655dd7120edd112d5ff0512 /graphics/cursorman.h | |
parent | 4d7798825cc287695e70ad9669e72fe317c6a9e0 (diff) | |
download | scummvm-rg350-4fddafa3e6ef1c250804ea6ce9baaf2a911027e8.tar.gz scummvm-rg350-4fddafa3e6ef1c250804ea6ce9baaf2a911027e8.tar.bz2 scummvm-rg350-4fddafa3e6ef1c250804ea6ce9baaf2a911027e8.zip |
Implemented popAllCursors() in CursorManager to ensure that all unnecessary cursors are removed from the cursor stack when returning to the launcher
svn-id: r32642
Diffstat (limited to 'graphics/cursorman.h')
-rw-r--r-- | graphics/cursorman.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/cursorman.h b/graphics/cursorman.h index 151038e118..bf05ab762b 100644 --- a/graphics/cursorman.h +++ b/graphics/cursorman.h @@ -80,6 +80,14 @@ public: void replaceCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int targetScale = 1); /** + * Pop all of the cursors and cursor palettes from their respective stacks. + * The purpose is to ensure that all unecessary cursors are removed from the + * stack when returning to the launcher from an engine. + * + */ + void popAllCursors(); + + /** * Enable/Disable the current cursor palette. * * @param disable |