diff options
author | Eugene Sandulenko | 2018-07-08 23:17:19 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-11 22:45:36 +0200 |
commit | ddfe6c3bce672086d28363c1c90ee4be279f5539 (patch) | |
tree | 101ed4d7c916293ede5353800945a2f1dd29804e /graphics/macgui/macwindowmanager.h | |
parent | 468d9d09f0d013d8f897acd2ee3df258e84688e3 (diff) | |
download | scummvm-rg350-ddfe6c3bce672086d28363c1c90ee4be279f5539.tar.gz scummvm-rg350-ddfe6c3bce672086d28363c1c90ee4be279f5539.tar.bz2 scummvm-rg350-ddfe6c3bce672086d28363c1c90ee4be279f5539.zip |
GRAPHICS: MACGUI: Implemented autohide menus
Diffstat (limited to 'graphics/macgui/macwindowmanager.h')
-rw-r--r-- | graphics/macgui/macwindowmanager.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h index d2f89361bb..7db0d019e8 100644 --- a/graphics/macgui/macwindowmanager.h +++ b/graphics/macgui/macwindowmanager.h @@ -140,6 +140,8 @@ public: */ MacMenu *addMenu(); + void activateMenu(); + /** * Set hot zone where menu appears (works only with autohide menu) */ @@ -208,6 +210,12 @@ public: public: MacFontManager *_fontMan; + uint32 _mode; + + Common::Point _lastMousePos; + Common::Rect _menuHotzone; + + bool _menuTimerActive; private: void drawDesktop(); @@ -219,8 +227,6 @@ private: private: ManagedSurface *_screen; - uint32 _mode; - Common::List<BaseMacWindow *> _windowStack; Common::Array<BaseMacWindow *> _windows; @@ -235,7 +241,6 @@ private: MacPatterns _patterns; MacMenu *_menu; - Common::Rect _menuHotzone; uint32 _menuDelay; bool _cursorIsArrow; |