![]() |
VCV Rack API v2
|
Batches multiple actions into one. More...
#include <history.hpp>
Public Member Functions | |
| ~ComplexAction () | |
| void | undo () override |
| void | redo () override |
| void | push (Action *action) |
| bool | isEmpty () |
| Public Member Functions inherited from rack::history::Action | |
| virtual | ~Action () |
Public Attributes | |
| std::vector< Action * > | actions |
| Ordered by time occurred. | |
| Public Attributes inherited from rack::history::Action | |
| std::string | name |
| Name of the action, lowercase. | |
Batches multiple actions into one.
| rack::history::ComplexAction::~ComplexAction | ( | ) |
|
overridevirtual |
Reimplemented from rack::history::Action.
|
overridevirtual |
Reimplemented from rack::history::Action.
| void rack::history::ComplexAction::push | ( | Action * | action | ) |
| bool rack::history::ComplexAction::isEmpty | ( | ) |
| std::vector<Action*> rack::history::ComplexAction::actions |
Ordered by time occurred.
Undoing will replay them backwards.