diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-04-05 14:58:54 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-04-05 14:58:54 +0200 |
commit | e04cfb9ac40be425ebcb0cbb81d9ed5861befa22 (patch) | |
tree | caabf740bff3530570ef542bd33d1cfc3b2151a9 /include | |
parent | 4df36142e51aabb757f0ad09b75c07c435909b1a (diff) |
Show notification on the target monitor when capturing a monitor
Diffstat (limited to 'include')
-rw-r--r-- | include/Overlay.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Overlay.hpp b/include/Overlay.hpp index d5ad16a..cd52efa 100644 --- a/include/Overlay.hpp +++ b/include/Overlay.hpp @@ -61,7 +61,7 @@ namespace gsr { void save_replay(); void take_screenshot(); void take_screenshot_region(); - void show_notification(const char *str, double timeout_seconds, mgl::Color icon_color, mgl::Color bg_color, NotificationType notification_type); + void show_notification(const char *str, double timeout_seconds, mgl::Color icon_color, mgl::Color bg_color, NotificationType notification_type, const char *capture_target = nullptr); bool is_open() const; bool should_exit(std::string &reason) const; void exit(); @@ -208,6 +208,9 @@ namespace gsr { RegionSelector region_selector; bool start_region_capture = false; std::function<void()> on_region_selected; + + std::string recording_capture_target; + std::string replay_capture_target; std::string screenshot_capture_target; std::unique_ptr<CursorTracker> cursor_tracker; |