MCPcopy Create free account
hub / github.com/VCVRack/Rack / CableColorChange

Class CableColorChange

include/history.hpp:161–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159
160
161struct CableColorChange : Action {
162 int64_t cableId = -1;
163 NVGcolor newColor = color::BLACK_TRANSPARENT;
164 NVGcolor oldColor = color::BLACK_TRANSPARENT;
165 void setCable(app::CableWidget* cw);
166 void undo() override;
167 void redo() override;
168 CableColorChange() {
169 name = "change cable color";
170 }
171};
172
173
174struct State {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected