feat: adds an option to run a script after a screenshot

This commit is contained in:
Giovane Perlin
2025-11-30 22:04:30 -04:00
committed by dec05eba
parent d7be9b38b1
commit 11aa237821
5 changed files with 44 additions and 7 deletions

View File

@@ -47,6 +47,9 @@ namespace gsr {
std::unique_ptr<Widget> create_led_indicator();
std::unique_ptr<Widget> create_general_section();
std::unique_ptr<Widget> create_screenshot_indicator_section();
std::unique_ptr<Widget> create_custom_script_screenshot_section();
std::unique_ptr<List> create_custom_script_screenshot_entry();
std::unique_ptr<List> create_custom_script_screenshot();
std::unique_ptr<Widget> create_settings();
void add_widgets();
@@ -75,7 +78,8 @@ namespace gsr {
CheckBox *save_screenshot_to_clipboard_checkbox_ptr = nullptr;
CheckBox *show_notification_checkbox_ptr = nullptr;
CheckBox *led_indicator_checkbox_ptr = nullptr;
Entry *create_custom_script_screenshot_entry_ptr = nullptr;
PageStack *page_stack = nullptr;
};
}
}