Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::EditorShellOptions Struct Reference

Public Attributes

std::string svgPath
std::optional< std::string > initialSource
std::optional< std::string > initialPath
bool allowFileSystemActions = true
 Permit open, save, save-as, and export actions to access the host filesystem.
bool allowHostClipboardAccess = true
 Permit source and shape clipboard actions to access the host clipboard.
bool showWelcome = false
 Show the in-workspace welcome and sample picker on the first frame.
std::string editorNoticeText
std::string editorBuildInfo
 Embedded "<version>\n<commit>\n" build metadata displayed in the About dialog. May be empty when the build did not embed it.
std::optional< std::string > 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.

Member Data Documentation

◆ allowFileSystemActions

bool donner::editor::EditorShellOptions::allowFileSystemActions = true

Permit open, save, save-as, and export actions to access the host filesystem.

◆ allowHostClipboardAccess

bool donner::editor::EditorShellOptions::allowHostClipboardAccess = true

Permit source and shape clipboard actions to access the host clipboard.

◆ editorBuildInfo

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.

◆ editorNoticeText

std::string donner::editor::EditorShellOptions::editorNoticeText

◆ initialPath

std::optional<std::string> donner::editor::EditorShellOptions::initialPath

◆ initialSource

std::optional<std::string> donner::editor::EditorShellOptions::initialSource

◆ reproOutputPath

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.

◆ showWelcome

bool donner::editor::EditorShellOptions::showWelcome = false

Show the in-workspace welcome and sample picker on the first frame.

◆ svgPath

std::string donner::editor::EditorShellOptions::svgPath

The documentation for this struct was generated from the following file: