From c17800cfc4f09cebcfb90aea07f94c8f107b3e9d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 4 Oct 2019 22:32:24 +0200 Subject: GRAPHICS: MACGUI: Add possibility to setup engine redraw callback --- graphics/macgui/macmenu.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphics/macgui/macmenu.cpp') diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp index 946161f5ee..d4543e3cfc 100644 --- a/graphics/macgui/macmenu.cpp +++ b/graphics/macgui/macmenu.cpp @@ -854,6 +854,7 @@ bool MacMenu::mouseClick(int x, int y) { _menuActivated = true; _contentIsDirty = true; + _wm->setFullRefresh(true); return true; } @@ -871,6 +872,7 @@ bool MacMenu::mouseClick(int x, int y) { menu->highlight = _activeSubItem; _contentIsDirty = true; + _wm->setFullRefresh(true); } return true; @@ -882,6 +884,7 @@ bool MacMenu::mouseClick(int x, int y) { _activeSubItem = 0; _contentIsDirty = true; + _wm->setFullRefresh(true); _menustack.back()->highlight = 0; @@ -900,6 +903,7 @@ bool MacMenu::mouseClick(int x, int y) { _activeSubItem = menu->highlight = menu->ytoItem(y); _contentIsDirty = true; + _wm->setFullRefresh(true); return true; } @@ -910,6 +914,7 @@ bool MacMenu::mouseClick(int x, int y) { if (_menustack.size()) { _contentIsDirty = true; + _wm->setFullRefresh(true); } return true; -- cgit v1.2.3