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

Method Poll

Source/StepSequencer.cpp:163–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void StepSequencer::Poll()
164{
165 IDrawableModule::Poll();
166
167 ComputeSliders(0);
168
169 if (HasGridController())
170 {
171 int numChunks = GetNumControllerChunks();
172 if (numChunks != mGridYOffDropdown->GetNumValues())
173 {
174 mGridYOffDropdown->Clear();
175 for (int i = 0; i < numChunks; ++i)
176 mGridYOffDropdown->AddLabel(ofToString(i).c_str(), i);
177 }
178
179 UpdateLights();
180 }
181}
182
183namespace
184{

Callers

nothing calls this directly

Calls 4

ofToStringFunction · 0.85
GetNumValuesMethod · 0.45
ClearMethod · 0.45
AddLabelMethod · 0.45

Tested by

no test coverage detected