aboutsummaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-19 21:45:41 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-19 21:45:41 +0200
commitabdb7f0c1f75bd43b6032b2893318bd21fd3d0f9 (patch)
treec09a6083abea67ca1c7674378da9cb1dbdfca0a0 /src/config.hpp
parentff2c33e3a1659560a3e6d4c5e2c099b240d788ef (diff)
Add options to show notification on start/stop recording
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config.hpp b/src/config.hpp
index 86fb4de..b45fe68 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -33,7 +33,9 @@ struct MainConfig {
std::string framerate_mode;
bool advanced_view = false;
bool overclock = false;
- bool show_notifications = true;
+ bool show_recording_started_notifications = false;
+ bool show_recording_stopped_notifications = false;
+ bool show_recording_saved_notifications = true;
bool record_cursor = true;
bool hide_window_when_recording = false;
bool software_encoding_warning_shown = false;
@@ -313,7 +315,9 @@ static std::map<std::string, ConfigValue> get_config_options(Config &config) {
{"main.framerate_mode", {CONFIG_TYPE_STRING, &config.main_config.framerate_mode}},
{"main.advanced_view", {CONFIG_TYPE_BOOL, &config.main_config.advanced_view}},
{"main.overclock", {CONFIG_TYPE_BOOL, &config.main_config.overclock}},
- {"main.show_notifications", {CONFIG_TYPE_BOOL, &config.main_config.show_notifications}},
+ {"main.show_recording_started_notifications", {CONFIG_TYPE_BOOL, &config.main_config.show_recording_started_notifications}},
+ {"main.show_recording_stopped_notifications", {CONFIG_TYPE_BOOL, &config.main_config.show_recording_stopped_notifications}},
+ {"main.show_recording_saved_notifications", {CONFIG_TYPE_BOOL, &config.main_config.show_recording_saved_notifications}},
{"main.record_cursor", {CONFIG_TYPE_BOOL, &config.main_config.record_cursor}},
{"main.hide_window_when_recording", {CONFIG_TYPE_BOOL, &config.main_config.hide_window_when_recording}},
{"main.software_encoding_warning_shown", {CONFIG_TYPE_BOOL, &config.main_config.software_encoding_warning_shown}},