Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::editor::MenuBarState Struct Reference

Public Attributes

bool sourcePaneFocused = false
bool canSave = false
bool canRevert = false
bool canUndo = false
bool canRedo = false
bool sourceFocusMode = true
bool hasShapeSelection = false
 True when the canvas has one or more selected shapes. Enables shape Cut/Copy when the source pane is not focused.
bool hasShapeClipboard = false
 True when the shape clipboard holds a paste-able payload. Enables shape Paste / Paste in Front when the source pane is not focused.
bool hasTextSelection = false
 True when the canvas selection is exactly one or more <text> elements, the precondition for "Convert Text to Outlines".
bool canGroup = false
bool canUngroup = false
bool hasSelectableElements = false
 True when the document has at least one selectable element. Enables the canvas "Select All" when the source pane is not focused.
bool showCompositorDebugPanel = false
 Current visibility of the Compositor Debug panel (drives the View-menu checkmark). Off by default.
bool compositorTileOverlay = false
 Whether compositor tile boundaries and identities are drawn directly over the canvas.
bool geometryDebugOverlay = false
 Whether the Geode geometry debug overlay (band strips + per-path bounding-quad triangles) is enabled on the document renderer (drives the View-menu checkmark). Off by default.
PerfOverlayMode perfOverlayMode = PerfOverlayMode::Off
 Current render-pane performance overlay mode (drives the View-menu checkmarks). Off by default.
bool panelLayoutLocked = true
 Whether the dockable panel layout is locked (drives the View-menu "Lock Panel Layout" checkmark). Locked by default.

Member Data Documentation

◆ canGroup

bool donner::editor::MenuBarState::canGroup = false

◆ canRedo

bool donner::editor::MenuBarState::canRedo = false

◆ canRevert

bool donner::editor::MenuBarState::canRevert = false

◆ canSave

bool donner::editor::MenuBarState::canSave = false

◆ canUndo

bool donner::editor::MenuBarState::canUndo = false

◆ canUngroup

bool donner::editor::MenuBarState::canUngroup = false

◆ compositorTileOverlay

bool donner::editor::MenuBarState::compositorTileOverlay = false

Whether compositor tile boundaries and identities are drawn directly over the canvas.

◆ geometryDebugOverlay

bool donner::editor::MenuBarState::geometryDebugOverlay = false

Whether the Geode geometry debug overlay (band strips + per-path bounding-quad triangles) is enabled on the document renderer (drives the View-menu checkmark). Off by default.

◆ hasSelectableElements

bool donner::editor::MenuBarState::hasSelectableElements = false

True when the document has at least one selectable element. Enables the canvas "Select All" when the source pane is not focused.

◆ hasShapeClipboard

bool donner::editor::MenuBarState::hasShapeClipboard = false

True when the shape clipboard holds a paste-able payload. Enables shape Paste / Paste in Front when the source pane is not focused.

◆ hasShapeSelection

bool donner::editor::MenuBarState::hasShapeSelection = false

True when the canvas has one or more selected shapes. Enables shape Cut/Copy when the source pane is not focused.

◆ hasTextSelection

bool donner::editor::MenuBarState::hasTextSelection = false

True when the canvas selection is exactly one or more <text> elements, the precondition for "Convert Text to Outlines".

◆ panelLayoutLocked

bool donner::editor::MenuBarState::panelLayoutLocked = true

Whether the dockable panel layout is locked (drives the View-menu "Lock Panel Layout" checkmark). Locked by default.

◆ perfOverlayMode

PerfOverlayMode donner::editor::MenuBarState::perfOverlayMode = PerfOverlayMode::Off

Current render-pane performance overlay mode (drives the View-menu checkmarks). Off by default.

◆ showCompositorDebugPanel

bool donner::editor::MenuBarState::showCompositorDebugPanel = false

Current visibility of the Compositor Debug panel (drives the View-menu checkmark). Off by default.

◆ sourceFocusMode

bool donner::editor::MenuBarState::sourceFocusMode = true

◆ sourcePaneFocused

bool donner::editor::MenuBarState::sourcePaneFocused = false

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