One thing the user did in a node view, as values before and after, so a host can keep the undo history (NodeGraph::onEdit) and undo or redo it (ApplyNodeViewEdit).
More...
#include <gui_controls/gui_node_view_types.h>
|
| struct | Move |
| | A node (index) moved; positions in node.pos space. More...
|
| struct | Rewire |
| | An input's source changed; an invalid endpoint means unwired. More...
|
| struct | Collapse |
| | A node (index) collapsed or expanded. More...
|
| struct | Lanes |
| | A wire's (by WireKey) lane overrides changed; default means no overrides. More...
|
| struct | Node |
| | A node added at index (or, when !added, taken from there), with the wires from its outputs into other nodes' inputs and the lane overrides of every wire into or out of it. More...
|
| struct | FrameChange |
| | A frame (index) moved, resized, renamed or recolored: all of it before and after. More...
|
| struct | Frame |
| | A frame added at index (or, when !added, taken from there); the frames after it move up or down one. More...
|
| struct | Transition |
| | A transition added at index (or, when !added, taken from there); the ones after it move up or down one. More...
|
| struct | TransitionChange |
| | A transition (index) relabelled or redirected: all of it before and after. More...
|
| struct | Initial |
| | The initial state changed (by stableID; Invalid: none). More...
|
|
| bool | empty () const |
| | True when nothing changed.
|
One thing the user did in a node view, as values before and after, so a host can keep the undo history (NodeGraph::onEdit) and undo or redo it (ApplyNodeViewEdit).
◆ empty()
| bool tachyon::NodeViewEdit::empty |
( |
| ) |
const |
|
inline |
True when nothing changed.
◆ moves
| std::vector<Move> tachyon::NodeViewEdit::moves |
◆ rewires
| std::vector<Rewire> tachyon::NodeViewEdit::rewires |
◆ collapses
| std::vector<Collapse> tachyon::NodeViewEdit::collapses |
◆ lanes
| std::vector<Lanes> tachyon::NodeViewEdit::lanes |
◆ nodes
| std::vector<Node> tachyon::NodeViewEdit::nodes |
Applied before the others (so a rewire may name an added node) and undone after.
◆ frameChanges
| std::vector<FrameChange> tachyon::NodeViewEdit::frameChanges |
◆ frames
| std::vector<Frame> tachyon::NodeViewEdit::frames |
Applied before frameChanges, as nodes are, and undone after.
◆ transitions
| std::vector<Transition> tachyon::NodeViewEdit::transitions |
Applied before transitionChanges, and undone after.
◆ transitionChanges
◆ initial
| std::optional<Initial> tachyon::NodeViewEdit::initial |
The documentation for this struct was generated from the following file: