aboutsummaryrefslogtreecommitdiff
path: root/newgui.h
diff options
context:
space:
mode:
authorMax Horn2002-07-06 12:57:51 +0000
committerMax Horn2002-07-06 12:57:51 +0000
commit671678a6c50d9e6c8aed01e9ff86ad77ead930cc (patch)
tree73de9e88b858812c2ea9662a4e06eed0595ee5e1 /newgui.h
parent71080f98ab69cb080c8f09349f72e969bfd5a7e5 (diff)
downloadscummvm-rg350-671678a6c50d9e6c8aed01e9ff86ad77ead930cc.tar.gz
scummvm-rg350-671678a6c50d9e6c8aed01e9ff86ad77ead930cc.tar.bz2
scummvm-rg350-671678a6c50d9e6c8aed01e9ff86ad77ead930cc.zip
added mouse over effect
svn-id: r4466
Diffstat (limited to 'newgui.h')
-rw-r--r--newgui.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/newgui.h b/newgui.h
index b07813cb29..e4c17d6aaf 100644
--- a/newgui.h
+++ b/newgui.h
@@ -44,21 +44,26 @@ public:
NewGui(Scumm *s);
protected:
- Scumm *_s;
- bool _active;
- bool _need_redraw;
- Dialog *_activeDialog;
+ Scumm *_s;
+ bool _active;
+ bool _need_redraw;
+ Dialog *_activeDialog;
- Dialog *_pauseDialog;
- Dialog *_saveLoadDialog;
+ Dialog *_pauseDialog;
+ Dialog *_saveLoadDialog;
// sound state
- bool _old_soundsPaused;
+ bool _old_soundsPaused;
// mouse cursor state
- bool _old_cursor_mode;
- int _old_cursorHotspotX, _old_cursorHotspotY, _old_cursorWidth, _old_cursorHeight;
- byte _old_grabbedCursor[2048];
+ bool _old_cursor_mode;
+ int _old_cursorHotspotX, _old_cursorHotspotY, _old_cursorWidth, _old_cursorHeight;
+ byte _old_grabbedCursor[2048];
+
+ // mouse pos
+ struct {
+ int16 x,y;
+ } _old_mouse;
void saveState();
void restoreState();