diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-21 23:47:24 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-21 23:47:24 +0100 |
commit | 2ec59c6812ef2112dde2a7ce8c068d0c8155ed06 (patch) | |
tree | 67e217d1c507879362882ab4ddc59f6bfd30da18 /include/gui | |
parent | a0d8af9d372ac3847cbae9dc9c647abf57227e3c (diff) |
Add alt+f2 to take a screenshot of a region
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/GlobalSettingsPage.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/GlobalSettingsPage.hpp b/include/gui/GlobalSettingsPage.hpp index c261ab6..5df5b9c 100644 --- a/include/gui/GlobalSettingsPage.hpp +++ b/include/gui/GlobalSettingsPage.hpp @@ -26,6 +26,7 @@ namespace gsr { RECORD_PAUSE_UNPAUSE, STREAM_START_STOP, TAKE_SCREENSHOT, + TAKE_SCREENSHOT_REGION, SHOW_HIDE }; @@ -58,6 +59,7 @@ namespace gsr { std::unique_ptr<List> create_record_hotkey_options(); std::unique_ptr<List> create_stream_hotkey_options(); std::unique_ptr<List> create_screenshot_hotkey_options(); + std::unique_ptr<List> create_screenshot_region_hotkey_options(); std::unique_ptr<List> create_hotkey_control_buttons(); std::unique_ptr<Subsection> create_keyboard_hotkey_subsection(ScrollablePage *parent_page); std::unique_ptr<Subsection> create_controller_hotkey_subsection(ScrollablePage *parent_page); @@ -91,6 +93,7 @@ namespace gsr { Button *pause_unpause_recording_button_ptr = nullptr; Button *start_stop_streaming_button_ptr = nullptr; Button *take_screenshot_button_ptr = nullptr; + Button *take_screenshot_region_button_ptr = nullptr; Button *show_hide_button_ptr = nullptr; ConfigHotkey configure_config_hotkey; |