Grouping ES-DE configurations in a dedicated menu

This commit is contained in:
XargonWan 2024-07-31 16:28:51 +09:00
parent 6fca5df931
commit 79bda1d812

View file

@ -56,27 +56,26 @@ GuiMenu::GuiMenu()
if (isFullUI) if (isFullUI)
addEntry("SCRAPER", mMenuColorPrimary, true, [this] { openScraperOptions(); }); addEntry("SCRAPER", mMenuColorPrimary, true, [this] { openScraperOptions(); });
if (isFullUI) addEntry("RETRODECK CONFIGURATOR", mMenuColorPrimary, false, [this] { openRetroDeckConfigurator(); });
addEntry("UI SETTINGS", mMenuColorPrimary, true, [this] { openUIOptions(); });
addEntry("SOUND SETTINGS", mMenuColorPrimary, true, [this] { openSoundOptions(); });
if (isFullUI) if (isFullUI)
addEntry("INPUT DEVICE SETTINGS", mMenuColorPrimary, true, {
[this] { openInputDeviceOptions(); }); addEntry("ES-DE CONFIGURATIONS", mMenuColorPrimary, true, [this]
{
auto configMenu = new GuiMenu(mWindow);
if (isFullUI) configMenu->addEntry("UI SETTINGS", mMenuColorPrimary, true, [this] { openUIOptions(); });
addEntry("GAME COLLECTION SETTINGS", mMenuColorPrimary, true, configMenu->addEntry("SOUND SETTINGS", mMenuColorPrimary, true, [this] { openSoundOptions(); });
[this] { openCollectionSystemOptions(); }); configMenu->addEntry("INPUT DEVICE SETTINGS", mMenuColorPrimary, true, [this] { openInputDeviceOptions(); });
configMenu->addEntry("OTHER SETTINGS", mMenuColorPrimary, true, [this] { openOtherOptions(); });
if (isFullUI) mWindow->pushGui(configMenu);
addEntry("OTHER SETTINGS", mMenuColorPrimary, true, [this] { openOtherOptions(); }); });
}
if (isFullUI) if (isFullUI)
addEntry("UTILITIES", mMenuColorPrimary, true, [this] { openUtilities(); }); addEntry("UTILITIES", mMenuColorPrimary, true, [this] { openUtilities(); });
addEntry("RETRODECK CONFIGURATOR", mMenuColorPrimary, false, [this] { openRetroDeckConfigurator(); });
if (!Settings::getInstance()->getBool("ForceKiosk") && if (!Settings::getInstance()->getBool("ForceKiosk") &&
Settings::getInstance()->getString("UIMode") != "kiosk") { Settings::getInstance()->getString("UIMode") != "kiosk") {
#if defined(__APPLE__) #if defined(__APPLE__)