Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::TreeViewState Struct Reference

Selection and scrolling requests shared with the tree presenter. More...

#include "donner/editor/SidebarPresenter.h"

Public Attributes

std::optional< svg::SVGElement > scrollTarget
 Element to reveal in the tree when a scroll request is pending.
bool pendingScroll = false
 Whether the tree should reveal scrollTarget on its next presentation.
bool selectionChangedInTree = false
 Whether a tree interaction changed the document selection during this pass.

Detailed Description

Selection and scrolling requests shared with the tree presenter.

Member Data Documentation

◆ pendingScroll

bool donner::editor::TreeViewState::pendingScroll = false

Whether the tree should reveal scrollTarget on its next presentation.

◆ scrollTarget

std::optional<svg::SVGElement> donner::editor::TreeViewState::scrollTarget

Element to reveal in the tree when a scroll request is pending.

◆ selectionChangedInTree

bool donner::editor::TreeViewState::selectionChangedInTree = false

Whether a tree interaction changed the document selection during this pass.


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