Skip to content

Commit 0a47006

Browse files
committed
FullscreenUI: Move appearance up in settings order
1 parent 9734066 commit 0a47006

1 file changed

Lines changed: 43 additions & 43 deletions

File tree

src/core/fullscreen_ui.cpp

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3789,49 +3789,6 @@ void FullscreenUI::DrawInterfaceSettingsPage()
37893789

37903790
BeginMenuButtons();
37913791

3792-
MenuHeading(FSUI_CSTR("Behavior"));
3793-
3794-
DrawToggleSetting(
3795-
bsi, FSUI_ICONSTR(ICON_FA_POWER_OFF, "Confirm Power Off"),
3796-
FSUI_CSTR("Determines whether a prompt will be displayed to confirm shutting down the emulator/game "
3797-
"when the hotkey is pressed."),
3798-
"Main", "ConfirmPowerOff", true);
3799-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_SAVE, "Save State On Shutdown"),
3800-
FSUI_CSTR("Automatically saves the emulator state when powering down or exiting. You can then "
3801-
"resume directly from where you left off next time."),
3802-
"Main", "SaveStateOnExit", true);
3803-
DrawToggleSetting(
3804-
bsi, FSUI_ICONSTR(ICON_FA_MAGIC, "Inhibit Screensaver"),
3805-
FSUI_CSTR("Prevents the screen saver from activating and the host from sleeping while emulation is running."),
3806-
"Main", "InhibitScreensaver", true);
3807-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_PAUSE, "Pause On Start"),
3808-
FSUI_CSTR("Pauses the emulator when a game is started."), "Main", "StartPaused", false);
3809-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_VIDEO, "Pause On Focus Loss"),
3810-
FSUI_CSTR("Pauses the emulator when you minimize the window or switch to another "
3811-
"application, and unpauses when you switch back."),
3812-
"Main", "PauseOnFocusLoss", false);
3813-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_GAMEPAD, "Pause On Controller Disconnection"),
3814-
FSUI_CSTR("Pauses the emulator when a controller with bindings is disconnected."), "Main",
3815-
"PauseOnControllerDisconnection", false);
3816-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_FILE_EXPORT, "Create Save State Backups"),
3817-
FSUI_CSTR("Renames existing save states when saving to a backup file."), "Main",
3818-
"CreateSaveStateBackups", false);
3819-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_CHARGING_STATION, "Enable Discord Presence"),
3820-
FSUI_CSTR("Shows the game you are currently playing as part of your profile in Discord."), "Main",
3821-
"EnableDiscordPresence", false);
3822-
3823-
MenuHeading(FSUI_CSTR("Game Display"));
3824-
3825-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_WINDOW_MAXIMIZE, "Start Fullscreen"),
3826-
FSUI_CSTR("Automatically switches to fullscreen mode when the program is started."), "Main",
3827-
"StartFullscreen", false);
3828-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_MOUSE, "Double-Click Toggles Fullscreen"),
3829-
FSUI_CSTR("Switches between full screen and windowed when the window is double-clicked."), "Main",
3830-
"DoubleClickTogglesFullscreen", true);
3831-
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_MOUSE_POINTER, "Hide Cursor In Fullscreen"),
3832-
FSUI_CSTR("Hides the mouse pointer/cursor when the emulator is in fullscreen mode."), "Main",
3833-
"HideCursorInFullscreen", true);
3834-
38353792
MenuHeading(FSUI_CSTR("Appearance"));
38363793

38373794
{
@@ -3913,6 +3870,49 @@ void FullscreenUI::DrawInterfaceSettingsPage()
39133870
ImGuiFullscreen::SetSmoothScrolling(bsi->GetBoolValue("Main", "FullscreenUISmoothScrolling", false));
39143871
}
39153872

3873+
MenuHeading(FSUI_CSTR("Behavior"));
3874+
3875+
DrawToggleSetting(
3876+
bsi, FSUI_ICONSTR(ICON_FA_POWER_OFF, "Confirm Power Off"),
3877+
FSUI_CSTR("Determines whether a prompt will be displayed to confirm shutting down the emulator/game "
3878+
"when the hotkey is pressed."),
3879+
"Main", "ConfirmPowerOff", true);
3880+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_SAVE, "Save State On Shutdown"),
3881+
FSUI_CSTR("Automatically saves the emulator state when powering down or exiting. You can then "
3882+
"resume directly from where you left off next time."),
3883+
"Main", "SaveStateOnExit", true);
3884+
DrawToggleSetting(
3885+
bsi, FSUI_ICONSTR(ICON_FA_MAGIC, "Inhibit Screensaver"),
3886+
FSUI_CSTR("Prevents the screen saver from activating and the host from sleeping while emulation is running."),
3887+
"Main", "InhibitScreensaver", true);
3888+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_PAUSE, "Pause On Start"),
3889+
FSUI_CSTR("Pauses the emulator when a game is started."), "Main", "StartPaused", false);
3890+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_VIDEO, "Pause On Focus Loss"),
3891+
FSUI_CSTR("Pauses the emulator when you minimize the window or switch to another "
3892+
"application, and unpauses when you switch back."),
3893+
"Main", "PauseOnFocusLoss", false);
3894+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_GAMEPAD, "Pause On Controller Disconnection"),
3895+
FSUI_CSTR("Pauses the emulator when a controller with bindings is disconnected."), "Main",
3896+
"PauseOnControllerDisconnection", false);
3897+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_FILE_EXPORT, "Create Save State Backups"),
3898+
FSUI_CSTR("Renames existing save states when saving to a backup file."), "Main",
3899+
"CreateSaveStateBackups", false);
3900+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_CHARGING_STATION, "Enable Discord Presence"),
3901+
FSUI_CSTR("Shows the game you are currently playing as part of your profile in Discord."), "Main",
3902+
"EnableDiscordPresence", false);
3903+
3904+
MenuHeading(FSUI_CSTR("Game Display"));
3905+
3906+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_WINDOW_MAXIMIZE, "Start Fullscreen"),
3907+
FSUI_CSTR("Automatically switches to fullscreen mode when the program is started."), "Main",
3908+
"StartFullscreen", false);
3909+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_MOUSE, "Double-Click Toggles Fullscreen"),
3910+
FSUI_CSTR("Switches between full screen and windowed when the window is double-clicked."), "Main",
3911+
"DoubleClickTogglesFullscreen", true);
3912+
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_MOUSE_POINTER, "Hide Cursor In Fullscreen"),
3913+
FSUI_CSTR("Hides the mouse pointer/cursor when the emulator is in fullscreen mode."), "Main",
3914+
"HideCursorInFullscreen", true);
3915+
39163916
MenuHeading(FSUI_CSTR("On-Screen Display"));
39173917
DrawIntSpinBoxSetting(bsi, FSUI_ICONSTR(ICON_FA_SEARCH, "OSD Scale"),
39183918
FSUI_CSTR("Determines how large the on-screen messages and monitor are."), "Display",

0 commit comments

Comments
 (0)