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

Inputs controlling the default editor dock layout proportions. More...

#include "donner/editor/EditorDockLayout.h"

Public Attributes

ImVec2 size = ImVec2(0.0f, 0.0f)
 Root DockSpace size in pixels.
float rightColumnRatio = 0.26f
 Fraction of the width assigned to the right panel column.
float layersRatio = 0.34f
 Fraction of the right column height assigned to the Layers panel (top).
float compositorRatio = 0.34f
 Fraction of the remaining right column height assigned to the Compositor Debug Info panel (bottom). Ignored when includeCompositorDebug is false.
bool includeCompositorDebug = false
 Whether the Compositor Debug Info panel gets a reserved node in the inspector area (the bottom of the right column).
bool includeSidebars = true
 Whether persistent Layers and Inspector nodes are included. Compact touch mode omits them and presents one panel at a time as an overlay sheet.

Detailed Description

Inputs controlling the default editor dock layout proportions.

Member Data Documentation

◆ compositorRatio

float donner::editor::EditorDockLayoutParams::compositorRatio = 0.34f

Fraction of the remaining right column height assigned to the Compositor Debug Info panel (bottom). Ignored when includeCompositorDebug is false.

◆ includeCompositorDebug

bool donner::editor::EditorDockLayoutParams::includeCompositorDebug = false

Whether the Compositor Debug Info panel gets a reserved node in the inspector area (the bottom of the right column).

◆ includeSidebars

bool donner::editor::EditorDockLayoutParams::includeSidebars = true

Whether persistent Layers and Inspector nodes are included. Compact touch mode omits them and presents one panel at a time as an overlay sheet.

◆ layersRatio

float donner::editor::EditorDockLayoutParams::layersRatio = 0.34f

Fraction of the right column height assigned to the Layers panel (top).

◆ rightColumnRatio

float donner::editor::EditorDockLayoutParams::rightColumnRatio = 0.26f

Fraction of the width assigned to the right panel column.

◆ size

ImVec2 donner::editor::EditorDockLayoutParams::size = ImVec2(0.0f, 0.0f)

Root DockSpace size in pixels.


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