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::EditorMainPaneLayoutInput Struct Reference

Inputs used to compute the editor's horizontal source/render/sidebar layout. More...

#include "donner/editor/EditorShellLayout.h"

Public Attributes

float windowWidth = 0.0f
 Full editor window width in screen pixels.
bool sourcePaneVisible = true
 Whether the source pane is currently visible.
float sourcePaneWidth = 0.0f
 Preferred source pane width when visible.
float minSourcePaneWidth = 0.0f
 Minimum source pane width while visible.
float maxSourcePaneWidth = 0.0f
 Maximum source pane width while visible.
float sourcePaneRailWidth = 0.0f
 Width of the persistent source reveal rail while the pane is hidden.
float rightPaneWidth = 0.0f
 Persisted/requested right sidebar width.
bool rightPaneVisible = true
 Whether the persistent right sidebar participates in the layout.
float minRightPaneWidth = 0.0f
 Minimum right sidebar width.
float maxRightPaneWidth = 0.0f
 Maximum right sidebar width.
float minRenderPaneWidth = 0.0f
 Minimum render pane width to preserve before growing the right sidebar.

Detailed Description

Inputs used to compute the editor's horizontal source/render/sidebar layout.

Member Data Documentation

◆ maxRightPaneWidth

float donner::editor::EditorMainPaneLayoutInput::maxRightPaneWidth = 0.0f

Maximum right sidebar width.

◆ maxSourcePaneWidth

float donner::editor::EditorMainPaneLayoutInput::maxSourcePaneWidth = 0.0f

Maximum source pane width while visible.

◆ minRenderPaneWidth

float donner::editor::EditorMainPaneLayoutInput::minRenderPaneWidth = 0.0f

Minimum render pane width to preserve before growing the right sidebar.

◆ minRightPaneWidth

float donner::editor::EditorMainPaneLayoutInput::minRightPaneWidth = 0.0f

Minimum right sidebar width.

◆ minSourcePaneWidth

float donner::editor::EditorMainPaneLayoutInput::minSourcePaneWidth = 0.0f

Minimum source pane width while visible.

◆ rightPaneVisible

bool donner::editor::EditorMainPaneLayoutInput::rightPaneVisible = true

Whether the persistent right sidebar participates in the layout.

◆ rightPaneWidth

float donner::editor::EditorMainPaneLayoutInput::rightPaneWidth = 0.0f

Persisted/requested right sidebar width.

◆ sourcePaneRailWidth

float donner::editor::EditorMainPaneLayoutInput::sourcePaneRailWidth = 0.0f

Width of the persistent source reveal rail while the pane is hidden.

◆ sourcePaneVisible

bool donner::editor::EditorMainPaneLayoutInput::sourcePaneVisible = true

Whether the source pane is currently visible.

◆ sourcePaneWidth

float donner::editor::EditorMainPaneLayoutInput::sourcePaneWidth = 0.0f

Preferred source pane width when visible.

◆ windowWidth

float donner::editor::EditorMainPaneLayoutInput::windowWidth = 0.0f

Full editor window width in screen pixels.


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