| 161 | } |
| 162 | |
| 163 | void 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 | |
| 183 | namespace |
| 184 | { |
nothing calls this directly
no test coverage detected