| 467 | } |
| 468 | |
| 469 | void Snapshots::RandomizeControl(IUIControl* control) |
| 470 | { |
| 471 | if (strcmp(control->Name(), "enabled") == 0) //don't randomize enabled/disable checkbox, too annoying |
| 472 | return; |
| 473 | if (dynamic_cast<ClickButton*>(control) != nullptr) |
| 474 | return; |
| 475 | control->SetFromMidiCC(ofRandom(1), NextBufferTime(false), true); |
| 476 | } |
| 477 | |
| 478 | void Snapshots::OnTransportAdvanced(float amount) |
| 479 | { |
nothing calls this directly
no test coverage detected