|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
A single entry in the non-destructive undo timeline. More...
#include "donner/editor/UndoTimeline.h"
Public Attributes | |
| std::string | label |
| Human-readable label (e.g. "Move element"). | |
| UndoSnapshot | before |
| Element state before the operation. | |
| UndoSnapshot | after |
| Element state after the operation. | |
| std::optional< size_t > | undoOf |
| If this entry undoes another entry, the index of that entry. | |
A single entry in the non-destructive undo timeline.
| UndoSnapshot donner::editor::UndoEntry::after |
Element state after the operation.
| UndoSnapshot donner::editor::UndoEntry::before |
Element state before the operation.
| std::string donner::editor::UndoEntry::label |
Human-readable label (e.g. "Move element").
| std::optional<size_t> donner::editor::UndoEntry::undoOf |
If this entry undoes another entry, the index of that entry.