diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-01 20:10:48 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-01 20:10:48 +0100 |
commit | 6fbd8b0dd369c704b21c8757c1f66e55dcf1cb91 (patch) | |
tree | f4b52fadb7d6cf2bf1139a17a73f8e70c10ad15b /include/gui | |
parent | 0815da6f2c50750c5e5df6245ab18694402fb7c1 (diff) |
Add option to automatically turn on replay at system startup
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/SettingsPage.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/SettingsPage.hpp b/include/gui/SettingsPage.hpp index 104cf18..4c5388d 100644 --- a/include/gui/SettingsPage.hpp +++ b/include/gui/SettingsPage.hpp @@ -81,6 +81,7 @@ namespace gsr { std::unique_ptr<List> create_container_section(); std::unique_ptr<Entry> create_replay_time_entry(); std::unique_ptr<List> create_replay_time(); + std::unique_ptr<CheckBox> create_start_replay_on_startup(); void add_replay_widgets(); void add_record_widgets(); @@ -142,6 +143,7 @@ namespace gsr { List *stream_key_list_ptr = nullptr; List *stream_url_list_ptr = nullptr; List *container_list_ptr = nullptr; + CheckBox *start_replay_automatically_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; |