Availability, focus, and toggle state sampled before drawing the application menus. More...
#include "donner/editor/MenuBarPresenter.h"
Public Attributes | |
| bool | sourcePaneFocused = false |
| Whether the XML source pane owns keyboard editing commands. | |
| bool | textToolEditing = false |
| An in-canvas text session owns editing shortcuts. | |
| bool | inspectorTextInputFocused = false |
| A non-source ImGui text field owns editing shortcuts. | |
| bool | canSave = false |
| Whether the current document can be saved. | |
| bool | canRevert = false |
| Whether the current document can be restored from its saved source. | |
| bool | canUndo = false |
| Whether the active editing context has an undo entry. | |
| bool | canRedo = false |
| Whether the active editing context has a redo entry. | |
| bool | sourceFocusMode = true |
| Whether source-focused editing mode is enabled. | |
| 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 |
| Whether the current selection can be grouped. | |
| bool | canUngroup = false |
| Whether the current selection can be ungrouped. | |
| 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 Info 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 (dynamically-dilated post-vertex Slug quad-triangle edges) 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. | |
| CompositedRenderingMode | compositedRenderingMode = CompositedRenderingMode::On |
| Current composited rendering mode (drives the View-menu radio marks). Full compositing by default. | |
| bool | panelLayoutLocked = true |
| Whether the dockable panel layout is locked (drives the View-menu "Lock
Panel Layout" checkmark). Locked by default. | |
Availability, focus, and toggle state sampled before drawing the application menus.
| bool donner::editor::MenuBarState::canGroup = false |
Whether the current selection can be grouped.
| bool donner::editor::MenuBarState::canRedo = false |
Whether the active editing context has a redo entry.
| bool donner::editor::MenuBarState::canRevert = false |
Whether the current document can be restored from its saved source.
| bool donner::editor::MenuBarState::canSave = false |
Whether the current document can be saved.
| bool donner::editor::MenuBarState::canUndo = false |
Whether the active editing context has an undo entry.
| bool donner::editor::MenuBarState::canUngroup = false |
Whether the current selection can be ungrouped.
| CompositedRenderingMode donner::editor::MenuBarState::compositedRenderingMode = CompositedRenderingMode::On |
Current composited rendering mode (drives the View-menu radio marks). Full compositing by default.
| bool donner::editor::MenuBarState::compositorTileOverlay = false |
Whether compositor tile boundaries and identities are drawn directly over the canvas.
| bool donner::editor::MenuBarState::geometryDebugOverlay = false |
Whether the Geode geometry debug overlay (dynamically-dilated post-vertex Slug quad-triangle edges) is enabled on the document renderer (drives the View-menu checkmark). Off by default.
| 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.
| 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.
| 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.
| 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".
| bool donner::editor::MenuBarState::inspectorTextInputFocused = false |
A non-source ImGui text field owns editing shortcuts.
| 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 donner::editor::MenuBarState::perfOverlayMode = PerfOverlayMode::Off |
Current render-pane performance overlay mode (drives the View-menu checkmarks). Off by default.
| bool donner::editor::MenuBarState::showCompositorDebugPanel = false |
Current visibility of the Compositor Debug Info panel (drives the View-menu checkmark). Off by default.
| bool donner::editor::MenuBarState::sourceFocusMode = true |
Whether source-focused editing mode is enabled.
| bool donner::editor::MenuBarState::sourcePaneFocused = false |
Whether the XML source pane owns keyboard editing commands.
| bool donner::editor::MenuBarState::textToolEditing = false |
An in-canvas text session owns editing shortcuts.