ecode: add configurable screenshot support

Add an unlocked take-screenshot command and expose it under Settings -> Window with a default Print Screen binding.

Allow configuring the screenshot destination, filename pattern, and output format. Save screenshots under the ecode configuration directory by default, notify users after capture, and provide an action to open the result in the integrated image viewer.

Addresses a request in SpartanJ/ecode#950.
This commit is contained in:
Martín Lucas Golini
2026-08-11 15:43:22 -03:00
parent a71e062dfb
commit 4789bfb5f9
13 changed files with 271 additions and 7 deletions
+6
View File
@@ -40,6 +40,12 @@ class SettingsActions {
void setUIPanelFontSize();
void setScreenshotSavePath();
void setScreenshotFilenamePattern();
void setScreenshotSaveFormat();
private:
App* mApp{ nullptr };