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

Adaptive editor chrome geometry and feature subset for one frame. More...

#include "donner/editor/EditorShellLayout.h"

Public Member Functions

bool compactTouch () const
 Return true when the compact touch profile is active.

Public Attributes

EditorUiMode mode = EditorUiMode::Desktop
 Selected desktop or compact-touch profile.
CompactPanelPlacement panelPlacement = CompactPanelPlacement::Right
 Edge used by the compact panel sheet.
float topBarHeight = 0.0f
 Height reserved for compact top-level commands. Zero in desktop mode.
float toolButtonSize = 32.0f
 Square tool-button size in logical pixels.
float panelX = 0.0f
 Compact sheet origin and size. Zero-sized in desktop mode.
float panelY = 0.0f
float panelWidth = 0.0f
float panelHeight = 0.0f
bool showPaintControls = true
 Whether the canvas palette includes the combined fill/stroke control.
bool showTextFormatBar = true
 Whether the contextual text format bar is available.
bool showCanvasScrollbars = true
 Whether mouse-oriented canvas scrollbars are drawn.

Detailed Description

Adaptive editor chrome geometry and feature subset for one frame.


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