diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-25 23:13:54 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-25 23:14:13 -0400 |
| commit | 195403c87cf17e91c686fc98c27429d23974af73 (patch) | |
| tree | 6e1eaedf7b5c74f9f9107b5a1875334a7b18f6a6 /src/yuzu/uisettings.h | |
| parent | 1bc0b673aa2fc0510d332286e49f6c8d44568065 (diff) | |
(ui)settings: Add more runtime_modifiable settings
Diffstat (limited to 'src/yuzu/uisettings.h')
| -rw-r--r-- | src/yuzu/uisettings.h | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h index ee8c9f214..c9c89cee4 100644 --- a/src/yuzu/uisettings.h +++ b/src/yuzu/uisettings.h @@ -90,18 +90,35 @@ struct Values { Setting<bool> show_filter_bar{linkage, true, "showFilterBar", Category::Ui}; Setting<bool> show_status_bar{linkage, true, "showStatusBar", Category::Ui}; - Setting<bool> confirm_before_closing{linkage, true, "confirmClose", Category::UiGeneral}; + Setting<bool> confirm_before_closing{ + linkage, true, "confirmClose", Category::UiGeneral, Settings::Specialization::Default, + true, true}; Setting<bool> first_start{linkage, true, "firstStart", Category::Ui}; - Setting<bool> pause_when_in_background{linkage, false, "pauseWhenInBackground", - Category::UiGeneral}; - Setting<bool> mute_when_in_background{linkage, false, "muteWhenInBackground", Category::Ui}; - Setting<bool> hide_mouse{linkage, true, "hideInactiveMouse", Category::UiGeneral}; + Setting<bool> pause_when_in_background{linkage, + false, + "pauseWhenInBackground", + Category::UiGeneral, + Settings::Specialization::Default, + true, + true}; + Setting<bool> mute_when_in_background{ + linkage, false, "muteWhenInBackground", Category::Ui, Settings::Specialization::Default, + true, true}; + Setting<bool> hide_mouse{ + linkage, true, "hideInactiveMouse", Category::UiGeneral, Settings::Specialization::Default, + true, true}; Setting<bool> controller_applet_disabled{linkage, false, "disableControllerApplet", Category::UiGeneral}; // Set when Vulkan is known to crash the application bool has_broken_vulkan = false; - Setting<bool> select_user_on_boot{linkage, false, "select_user_on_boot", Category::UiGeneral}; + Setting<bool> select_user_on_boot{linkage, + false, + "select_user_on_boot", + Category::UiGeneral, + Settings::Specialization::Default, + true, + true}; Setting<bool> disable_web_applet{linkage, true, "disable_web_applet", Category::Ui}; // Discord RPC |
