Initial document and host-capability settings for the editor shell. More...
#include "donner/editor/EditorShell.h"
Initial document and host-capability settings for the editor shell.
| bool donner::editor::EditorShellOptions::allowFileSystemActions = true |
Permit open, save, save-as, and export actions to access the host filesystem.
| bool donner::editor::EditorShellOptions::allowHostClipboardAccess = true |
Permit source and shape clipboard actions to access the host clipboard.
| std::optional<std::string> donner::editor::EditorShellOptions::diagnosticTelemetryOutputPath |
Optional host-selected diagnostic destination; UI input cannot replace it.
| std::string donner::editor::EditorShellOptions::editorBuildInfo |
Embedded "<version>\n<commit>\n" build metadata displayed in the About dialog. May be empty when the build did not embed it.
| std::string donner::editor::EditorShellOptions::editorNoticeText |
Host-provided notice displayed in the editor.
| bool donner::editor::EditorShellOptions::fitLargeDocumentsOnOpen = true |
Open a document larger than the canvas fitted to it, rather than at 100%. Replays of recordings made before the editor did this turn it off, so their screen coordinates still land where they were recorded.
| std::string donner::editor::EditorShellOptions::fontPreviewCachePath |
Per-user preview cache directory; empty disables disk persistence.
| std::optional<std::string> donner::editor::EditorShellOptions::initialPath |
Optional path associated with the initial source.
| std::optional<std::string> donner::editor::EditorShellOptions::initialSource |
Optional initial XML source supplied directly by the host.
| std::optional<std::string> donner::editor::EditorShellOptions::reproOutputPath |
Optional destination path for a .donner-repro recording of the user's UI interactions. When set, the shell constructs a ReproRecorder and snapshots ImGui input state at the start of every frame. Written to disk in the destructor.
| bool donner::editor::EditorShellOptions::showWelcome = false |
Show the in-workspace welcome and sample picker on the first frame.
| std::string donner::editor::EditorShellOptions::svgPath |
SVG file path requested at startup.
| bool donner::editor::EditorShellOptions::useLegacyCanvasZoomControls = false |
Preserve canvas shortcuts and percentage-control clicks from recordings made before Zoom to Fit.