VCV Rack API v2
Loading...
Searching...
No Matches
rack::history::ModuleMove Struct Reference

#include <history.hpp>

Inheritance diagram for rack::history::ModuleMove:
[legend]
Collaboration diagram for rack::history::ModuleMove:
[legend]

Public Member Functions

void undo () override
 
void redo () override
 
 ModuleMove ()
 
- Public Member Functions inherited from rack::history::Action
virtual ~Action ()
 

Public Attributes

math::Vec oldPos
 
math::Vec newPos
 
- 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.
 

Constructor & Destructor Documentation

◆ ModuleMove()

rack::history::ModuleMove::ModuleMove ( )
inline

Member Function Documentation

◆ undo()

void rack::history::ModuleMove::undo ( )
overridevirtual

Reimplemented from rack::history::Action.

◆ redo()

void rack::history::ModuleMove::redo ( )
overridevirtual

Reimplemented from rack::history::Action.

Member Data Documentation

◆ oldPos

math::Vec rack::history::ModuleMove::oldPos

◆ newPos

math::Vec rack::history::ModuleMove::newPos

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