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

#include <history.hpp>

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

Public Member Functions

void setCable (app::CableWidget *cw)
 
void undo () override
 
void redo () override
 
 CableColorChange ()
 
- Public Member Functions inherited from rack::history::Action
virtual ~Action ()
 

Public Attributes

int64_t cableId
 
NVGcolor newColor
 
NVGcolor oldColor
 
- Public Attributes inherited from rack::history::Action
std::string name
 Name of the action, lowercase.
 

Constructor & Destructor Documentation

◆ CableColorChange()

rack::history::CableColorChange::CableColorChange ( )
inline

Member Function Documentation

◆ setCable()

void rack::history::CableColorChange::setCable ( app::CableWidget * cw)

◆ undo()

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

Reimplemented from rack::history::Action.

◆ redo()

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

Reimplemented from rack::history::Action.

Member Data Documentation

◆ cableId

int64_t rack::history::CableColorChange::cableId

◆ newColor

NVGcolor rack::history::CableColorChange::newColor

◆ oldColor

NVGcolor rack::history::CableColorChange::oldColor

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