aboutsummaryrefslogtreecommitdiff
path: root/include/gui/SettingsPage.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-24 00:42:33 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-24 00:42:33 +0100
commitf036fcbc0ff56dbab185d42c40f748e9c097bf22 (patch)
tree69eef4cacfae906c7866a3180d361b318408d83f /include/gui/SettingsPage.hpp
parent5b84d7421f44c8bc00999071f2b3d46d238a9946 (diff)
Add 'restart replay on save' option
Diffstat (limited to 'include/gui/SettingsPage.hpp')
-rw-r--r--include/gui/SettingsPage.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/SettingsPage.hpp b/include/gui/SettingsPage.hpp
index efa958e..8db3915 100644
--- a/include/gui/SettingsPage.hpp
+++ b/include/gui/SettingsPage.hpp
@@ -97,6 +97,7 @@ namespace gsr {
std::unique_ptr<List> create_replay_time();
std::unique_ptr<RadioButton> create_start_replay_automatically();
std::unique_ptr<CheckBox> create_save_replay_in_game_folder();
+ std::unique_ptr<CheckBox> create_restart_replay_on_save();
std::unique_ptr<Label> create_estimated_replay_file_size();
void update_estimated_replay_file_size();
std::unique_ptr<CheckBox> create_save_recording_in_game_folder();
@@ -170,6 +171,7 @@ namespace gsr {
List *stream_url_list_ptr = nullptr;
List *container_list_ptr = nullptr;
CheckBox *save_replay_in_game_folder_ptr = nullptr;
+ CheckBox *restart_replay_on_save = nullptr;
Label *estimated_file_size_ptr = nullptr;
CheckBox *show_replay_started_notification_checkbox_ptr = nullptr;
CheckBox *show_replay_stopped_notification_checkbox_ptr = nullptr;