GRAPHICS: MACGUI: Add fullscreen menu-on-demand mode

This commit is contained in:
Nathanael Gentry 2020-06-01 08:30:04 -04:00 committed by Eugene Sandulenko
parent 31f008b772
commit 6cb1c92e23
2 changed files with 3 additions and 2 deletions

View File

@ -397,7 +397,7 @@ void MacWindowManager::draw() {
}
// Menu is drawn on top of everything and always
if (_menu)
if (_menu && !(_mode & kWMModeFullscreen))
_menu->draw(_screen, _fullRefresh);
_fullRefresh = false;

View File

@ -65,7 +65,8 @@ enum {
kWMModalMenuMode = (1 << 2),
kWMModeForceBuiltinFonts= (1 << 3),
kWMModeUnicode = (1 << 4),
kWMModeManualDrawWidgets= (1 << 5)
kWMModeManualDrawWidgets= (1 << 5),
kWMModeFullscreen = (1 << 6)
};
}