TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::UndoHistory::Step Struct Reference

#include <gui_core/input/gui_undo_history.h>

Public Attributes

std::string description
 "Edit text", "Move node"
std::function< void()> undo
std::function< void()> redo
uint64_t mergeKey = 0
 Steps with the same non-zero key merge while merging is open (e.g.

Member Data Documentation

◆ description

std::string tachyon::UndoHistory::Step::description

"Edit text", "Move node"

◆ undo

std::function<void()> tachyon::UndoHistory::Step::undo

◆ redo

std::function<void()> tachyon::UndoHistory::Step::redo

◆ mergeKey

uint64_t tachyon::UndoHistory::Step::mergeKey = 0

Steps with the same non-zero key merge while merging is open (e.g.

the typing in one field while it has the focus): the first's undo, the latest's redo.


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