MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / UpdateScaleDisplay

Method UpdateScaleDisplay

Source/LinnstrumentControl.cpp:125–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void LinnstrumentControl::UpdateScaleDisplay()
126{
127 //SendScaleInfo();
128
129 for (int y = 0; y < kRows; ++y)
130 {
131 mDevice.SendCC(21, y); //only set row once, to cut down on messages
132 for (int x = 0; x < kCols; ++x)
133 {
134 SetGridColor(x, y, GetDesiredGridColor(x, y), true);
135 }
136 }
137}
138
139void LinnstrumentControl::SetGridColor(int x, int y, LinnstrumentColor color, bool ignoreRow /*= false*/)
140{

Callers

nothing calls this directly

Calls 1

SendCCMethod · 0.45

Tested by

no test coverage detected