aboutsummaryrefslogtreecommitdiff
path: root/include/gui/GlobalSettingsPage.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-30 17:16:21 +0200
committerdec05eba <dec05eba@protonmail.com>2025-03-30 17:16:21 +0200
commit3060e3ee000ddb12a78d8008f641b724ce7b07df (patch)
treed1b765a00fcd0f338d4b96c1a519063e336c9bf0 /include/gui/GlobalSettingsPage.hpp
parent2b63fa048c0f7ca32dc3e96df18fd8d76df19c8c (diff)
Add high performance encoding option (for amd) in settings page. Requires gsr version >= 5.3.4
Diffstat (limited to 'include/gui/GlobalSettingsPage.hpp')
-rw-r--r--include/gui/GlobalSettingsPage.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/GlobalSettingsPage.hpp b/include/gui/GlobalSettingsPage.hpp
index 5df5b9c..21b2eda 100644
--- a/include/gui/GlobalSettingsPage.hpp
+++ b/include/gui/GlobalSettingsPage.hpp
@@ -17,6 +17,7 @@ namespace gsr {
class Button;
class List;
class CustomRendererWidget;
+ class CheckBox;
enum ConfigureHotkeyType {
NONE,
@@ -63,6 +64,7 @@ namespace gsr {
std::unique_ptr<List> create_hotkey_control_buttons();
std::unique_ptr<Subsection> create_keyboard_hotkey_subsection(ScrollablePage *parent_page);
std::unique_ptr<Subsection> create_controller_hotkey_subsection(ScrollablePage *parent_page);
+ std::unique_ptr<CheckBox> create_high_performance_encoding_option();
std::unique_ptr<Button> create_exit_program_button();
std::unique_ptr<Button> create_go_back_to_old_ui_button();
std::unique_ptr<Subsection> create_application_options_subsection(ScrollablePage *parent_page);
@@ -95,6 +97,7 @@ namespace gsr {
Button *take_screenshot_button_ptr = nullptr;
Button *take_screenshot_region_button_ptr = nullptr;
Button *show_hide_button_ptr = nullptr;
+ CheckBox *high_performance_encoding_checkbox_ptr = nullptr;
ConfigHotkey configure_config_hotkey;
ConfigureHotkeyType configure_hotkey_type = ConfigureHotkeyType::NONE;