Add low power mode for amd

This commit is contained in:
dec05eba
2026-01-18 01:21:07 +01:00
parent 61bbaf3728
commit 74bb6f0070
5 changed files with 28 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ namespace gsr {
bool overclock = false;
bool record_cursor = true;
bool restore_portal_session = true;
bool low_power_mode = false;
std::string webcam_source = "";
bool webcam_flip_horizontally = false;

View File

@@ -129,6 +129,7 @@ namespace gsr {
std::unique_ptr<CheckBox> create_led_indicator(const char *type);
std::unique_ptr<CheckBox> create_notifications(const char *type);
std::unique_ptr<List> create_indicator(const char *type);
std::unique_ptr<CheckBox> create_low_power_mode_checkbox();
void add_replay_widgets();
void add_record_widgets();
@@ -217,6 +218,7 @@ namespace gsr {
ComboBox *webcam_video_format_box_ptr = nullptr;
List *webcam_body_list_ptr = nullptr;
CheckBox *flip_camera_horizontally_checkbox_ptr = nullptr;
CheckBox *low_power_mode_checkbox_ptr = nullptr;
PageStack *page_stack = nullptr;