|
|
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.
|
Current "this element is locked, you can't select it" flash fed into the Layers panel so the rejected element's row flashes red in sync with the canvas outline flash. Mirrors OverlayRenderer.h's LockedRejectionFlashInput but is kept local so LayersPanel stays decoupled from SelectTool / OverlayRenderer; EditorShell maps the tool's flash into this struct. More...
#include "donner/editor/LayersPanel.h"
Public Attributes | |
| svg::SVGElement | element |
| The element whose selection was rejected because it (or an ancestor group) is locked. | |
| float | intensity = 0.0f |
| Fade intensity in (0, 1]; scales the red row-highlight alpha at draw time. | |
Current "this element is locked, you can't select it" flash fed into the Layers panel so the rejected element's row flashes red in sync with the canvas outline flash. Mirrors OverlayRenderer.h's LockedRejectionFlashInput but is kept local so LayersPanel stays decoupled from SelectTool / OverlayRenderer; EditorShell maps the tool's flash into this struct.
| svg::SVGElement donner::editor::LayersLockedRejectionFlash::element |
The element whose selection was rejected because it (or an ancestor group) is locked.
| float donner::editor::LayersLockedRejectionFlash::intensity = 0.0f |
Fade intensity in (0, 1]; scales the red row-highlight alpha at draw time.