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

Method addBaseColor

src/app/MultiLightWidget.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13
14void MultiLightWidget::addBaseColor(NVGcolor baseColor) {
15 baseColors.push_back(baseColor);
16}
17
18void MultiLightWidget::setBrightnesses(const std::vector<float>& brightnesses) {
19 assert(brightnesses.size() == baseColors.size());

Callers 7

TWhiteLightMethod · 0.80
TRedLightMethod · 0.80
TGreenLightMethod · 0.80
TBlueLightMethod · 0.80
TYellowLightMethod · 0.80
TGreenRedLightMethod · 0.80
TRedGreenBlueLightMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected