VCV Rack API v2
|
#include <history.hpp>
Public Member Functions | |
ModuleAdd () | |
~ModuleAdd () | |
void | setModule (app::ModuleWidget *mw) |
void | undo () override |
void | redo () override |
Public Member Functions inherited from rack::history::Action | |
virtual | ~Action () |
Public Attributes | |
plugin::Model * | model |
math::Vec | pos |
json_t * | moduleJ |
Public Attributes inherited from rack::history::ModuleAction | |
int64_t | moduleId |
Public Attributes inherited from rack::history::Action | |
std::string | name |
Name of the action, lowercase. | |
|
inline |
rack::history::ModuleAdd::~ModuleAdd | ( | ) |
void rack::history::ModuleAdd::setModule | ( | app::ModuleWidget * | mw | ) |
|
overridevirtual |
Reimplemented from rack::history::Action.
|
overridevirtual |
Reimplemented from rack::history::Action.
plugin::Model* rack::history::ModuleAdd::model |
math::Vec rack::history::ModuleAdd::pos |
json_t* rack::history::ModuleAdd::moduleJ |