Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
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 rightPaneWidth = 0.0f
 Persisted/requested right sidebar width.
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.

◆ rightPaneWidth

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

Persisted/requested right sidebar width.

◆ 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: