mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Grouping ES-DE configurations in a dedicated menu
This commit is contained in:
parent
6fca5df931
commit
79bda1d812
|
@ -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__)
|
||||||
|
|
Loading…
Reference in a new issue