Skip to content

Commit

Permalink
ES-DE CONFIGURATIONS: added void openRetroDeckConfigurator();
Browse files Browse the repository at this point in the history
  • Loading branch information
XargonWan committed Aug 5, 2024
1 parent cfe5e77 commit 22a1f9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions es-app/src/guis/GuiMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,7 @@ void GuiMenu::openUtilities()

void GuiMenu::openESDEConfiguration() {
// 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()};

Expand All @@ -2036,7 +2036,7 @@ void GuiMenu::openESDEConfiguration() {
row.makeAcceptInputHandler([this] {
openUIOptions();
});
configMenu->addRow(row);
s->addRow(row);

// SOUND SETTINGS
row.elements.clear();
Expand All @@ -2047,7 +2047,7 @@ void GuiMenu::openESDEConfiguration() {
row.makeAcceptInputHandler([this] {
openSoundOptions();
});
configMenu->addRow(row);
s->addRow(row);

// INPUT DEVICE SETTINGS
row.elements.clear();
Expand All @@ -2058,7 +2058,7 @@ void GuiMenu::openESDEConfiguration() {
row.makeAcceptInputHandler([this] {
openInputDeviceOptions();
});
configMenu->addRow(row);
s->addRow(row);

// OTHER SETTINGS
row.elements.clear();
Expand All @@ -2069,11 +2069,11 @@ void GuiMenu::openESDEConfiguration() {
row.makeAcceptInputHandler([this] {
openOtherOptions();
});
configMenu->addRow(row);
s->addRow(row);

// Set the size and push the menu onto the GUI stack
configMenu->setSize(mSize);
mWindow->pushGui(configMenu);
s->setSize(mSize);
mWindow->pushGui(s);
}


Expand Down
1 change: 1 addition & 0 deletions es-app/src/guis/GuiMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class GuiMenu : public GuiComponent
void openCollectionSystemOptions();
void openOtherOptions();
void openRetroDeckConfigurator();
void openESDEConfiguration();
void openUtilities();
void openQuitMenu();

Expand Down

0 comments on commit 22a1f9f

Please sign in to comment.