ES-DE CONFIGURATIONS: added void openRetroDeckConfigurator();

This commit is contained in:
XargonWan 2024-08-05 22:08:25 +09:00
parent cfe5e77b33
commit 22a1f9f0ac
2 changed files with 8 additions and 7 deletions

View file

@ -2023,7 +2023,7 @@ void GuiMenu::openUtilities()
void GuiMenu::openESDEConfiguration() { void GuiMenu::openESDEConfiguration() {
// Create a new GuiSettings instance for the ES-DE Configurations menu // Create a new GuiSettings instance for the ES-DE Configurations menu
auto configMenu = new GuiSettings("ES-DE CONFIGURATIONS"); auto s = new GuiSettings("ES-DE CONFIGURATIONS");
HelpStyle style{getHelpStyle()}; HelpStyle style{getHelpStyle()};
@ -2036,7 +2036,7 @@ void GuiMenu::openESDEConfiguration() {
row.makeAcceptInputHandler([this] { row.makeAcceptInputHandler([this] {
openUIOptions(); openUIOptions();
}); });
configMenu->addRow(row); s->addRow(row);
// SOUND SETTINGS // SOUND SETTINGS
row.elements.clear(); row.elements.clear();
@ -2047,7 +2047,7 @@ void GuiMenu::openESDEConfiguration() {
row.makeAcceptInputHandler([this] { row.makeAcceptInputHandler([this] {
openSoundOptions(); openSoundOptions();
}); });
configMenu->addRow(row); s->addRow(row);
// INPUT DEVICE SETTINGS // INPUT DEVICE SETTINGS
row.elements.clear(); row.elements.clear();
@ -2058,7 +2058,7 @@ void GuiMenu::openESDEConfiguration() {
row.makeAcceptInputHandler([this] { row.makeAcceptInputHandler([this] {
openInputDeviceOptions(); openInputDeviceOptions();
}); });
configMenu->addRow(row); s->addRow(row);
// OTHER SETTINGS // OTHER SETTINGS
row.elements.clear(); row.elements.clear();
@ -2069,11 +2069,11 @@ void GuiMenu::openESDEConfiguration() {
row.makeAcceptInputHandler([this] { row.makeAcceptInputHandler([this] {
openOtherOptions(); openOtherOptions();
}); });
configMenu->addRow(row); s->addRow(row);
// Set the size and push the menu onto the GUI stack // Set the size and push the menu onto the GUI stack
configMenu->setSize(mSize); s->setSize(mSize);
mWindow->pushGui(configMenu); mWindow->pushGui(s);
} }

View file

@ -45,6 +45,7 @@ private:
void openCollectionSystemOptions(); void openCollectionSystemOptions();
void openOtherOptions(); void openOtherOptions();
void openRetroDeckConfigurator(); void openRetroDeckConfigurator();
void openESDEConfiguration();
void openUtilities(); void openUtilities();
void openQuitMenu(); void openQuitMenu();