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::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 panel (bottom). Ignored when includeCompositorDebug is false.
bool includeCompositorDebug = false
 Whether the Compositor Debug panel gets a reserved node in the layout.
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 panel (bottom). Ignored when includeCompositorDebug is false.

◆ includeCompositorDebug

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

Whether the Compositor Debug panel gets a reserved node in the layout.

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