diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Config.hpp | 2 | ||||
-rw-r--r-- | include/gui/SettingsPage.hpp | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp index dc508cc..575f303 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -67,6 +67,7 @@ namespace gsr { struct RecordConfig { RecordOptions record_options; + bool save_video_in_game_folder = false; bool show_recording_started_notifications = true; bool show_video_saved_notifications = true; std::string save_directory; @@ -78,6 +79,7 @@ namespace gsr { struct ReplayConfig { RecordOptions record_options; bool start_replay_automatically = false; + bool save_video_in_game_folder = false; bool show_replay_started_notifications = true; bool show_replay_stopped_notifications = true; bool show_replay_saved_notifications = true; diff --git a/include/gui/SettingsPage.hpp b/include/gui/SettingsPage.hpp index 4c5388d..a0bc518 100644 --- a/include/gui/SettingsPage.hpp +++ b/include/gui/SettingsPage.hpp @@ -82,6 +82,8 @@ namespace gsr { std::unique_ptr<Entry> create_replay_time_entry(); std::unique_ptr<List> create_replay_time(); std::unique_ptr<CheckBox> create_start_replay_on_startup(); + std::unique_ptr<CheckBox> create_save_replay_in_game_folder(); + std::unique_ptr<CheckBox> create_save_recording_in_game_folder(); void add_replay_widgets(); void add_record_widgets(); @@ -144,9 +146,11 @@ namespace gsr { List *stream_url_list_ptr = nullptr; List *container_list_ptr = nullptr; CheckBox *start_replay_automatically_ptr = nullptr; + CheckBox *save_replay_in_game_folder_ptr = nullptr; CheckBox *show_replay_started_notification_checkbox_ptr = nullptr; CheckBox *show_replay_stopped_notification_checkbox_ptr = nullptr; CheckBox *show_replay_saved_notification_checkbox_ptr = nullptr; + CheckBox *save_recording_in_game_folder_ptr = nullptr; CheckBox *show_recording_started_notification_checkbox_ptr = nullptr; CheckBox *show_video_saved_notification_checkbox_ptr = nullptr; CheckBox *show_streaming_started_notification_checkbox_ptr = nullptr; |