aboutsummaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authorMax Horn2002-05-12 19:25:44 +0000
committerMax Horn2002-05-12 19:25:44 +0000
commitcf5518ad6a6671774e41e74f1cf1c1b4a621d0c9 (patch)
tree34bcfe16b30e60a34e2873dc6c9726ba2a1de08e /gui.h
parent4ac64b941d54e819135a9cb79305e2acd60c2ce1 (diff)
downloadscummvm-rg350-cf5518ad6a6671774e41e74f1cf1c1b4a621d0c9.tar.gz
scummvm-rg350-cf5518ad6a6671774e41e74f1cf1c1b4a621d0c9.tar.bz2
scummvm-rg350-cf5518ad6a6671774e41e74f1cf1c1b4a621d0c9.zip
restore old cursor after leaving save dialog (#548614)
svn-id: r4297
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gui.h b/gui.h
index df7d1d9dcc..3a76aa429f 100644
--- a/gui.h
+++ b/gui.h
@@ -52,14 +52,19 @@ protected:
int _return_to;
int _curX, _curY;
VirtScreen *_vs;
- bool _old_cursor_mode;
int _parentX, _parentY;
bool _active;
+ bool _inited;
byte _clickTimer;
byte _cur_page;
byte _dialog;
int _clickWidget;
char *_queryMess;
+
+ // mouse cursor state
+ bool _old_cursor_mode;
+ int _old_cursorHotspotX, _old_cursorHotspotY, _old_cursorWidth, _old_cursorHeight;
+ byte _old_grabbedCursor[2048];
// optiondialog specifics
int _gui_variables[100];