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

Function resetCables

src/settings.cpp:105–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104
105void resetCables() {
106 cableColors = {
107 color::fromHexString("#f3374b"), // red
108 color::fromHexString("#ffb437"), // yellow
109 color::fromHexString("#00b56e"), // green
110 color::fromHexString("#3695ef"), // blue
111 color::fromHexString("#8b4ade"), // purple
112 };
113 cableLabels.clear();
114 cableLabels.resize(cableColors.size());
115}
116
117
118void init() {

Callers 2

initFunction · 0.85
onActionMethod · 0.85

Calls 3

fromHexStringFunction · 0.85
clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected