One thing the user did in a node view, as values before and after, so a host can keep the undo history (NodeView::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...
|
|
| 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 (NodeView::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.
The documentation for this struct was generated from the following file: