mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-04 13:45:48 +00:00
ui: Use only one option for settings window (#1122)
* rebase code * remove unsused item * restore "system" displaying on first boot * restore popup menu functions (separate commit) * restore snapshot function in popup menu * get current index value from config file
This commit is contained in:
@ -1184,34 +1184,21 @@ MainMenuScene::MainMenuScene()
|
||||
m_next_view_index = m_current_view_index;
|
||||
}
|
||||
|
||||
void MainMenuScene::ShowGeneral()
|
||||
void MainMenuScene::ShowSettings()
|
||||
{
|
||||
SetNextViewIndexWithFocus(0);
|
||||
SetNextViewIndexWithFocus(g_config.general.last_viewed_menu_index);
|
||||
}
|
||||
void MainMenuScene::ShowInput()
|
||||
{
|
||||
SetNextViewIndexWithFocus(1);
|
||||
}
|
||||
void MainMenuScene::ShowDisplay()
|
||||
{
|
||||
SetNextViewIndexWithFocus(2);
|
||||
}
|
||||
void MainMenuScene::ShowAudio()
|
||||
{
|
||||
SetNextViewIndexWithFocus(3);
|
||||
}
|
||||
void MainMenuScene::ShowNetwork()
|
||||
{
|
||||
SetNextViewIndexWithFocus(4);
|
||||
}
|
||||
void MainMenuScene::ShowSnapshots()
|
||||
|
||||
void MainMenuScene::ShowSnapshots()
|
||||
{
|
||||
SetNextViewIndexWithFocus(5);
|
||||
}
|
||||
|
||||
void MainMenuScene::ShowSystem()
|
||||
{
|
||||
SetNextViewIndexWithFocus(6);
|
||||
}
|
||||
|
||||
void MainMenuScene::ShowAbout()
|
||||
{
|
||||
SetNextViewIndexWithFocus(7);
|
||||
|
||||
Reference in New Issue
Block a user