| 42 | } |
| 43 | |
| 44 | void NoteSorter::DrawModule() |
| 45 | { |
| 46 | if (Minimized() || IsVisible() == false) |
| 47 | return; |
| 48 | |
| 49 | for (int i = 0; i < (int)mDestinationCables.size(); ++i) |
| 50 | { |
| 51 | mPitchEntry[i]->Draw(); |
| 52 | ofRectangle rect = mPitchEntry[i]->GetRect(true); |
| 53 | mDestinationCables[i]->GetPatchCableSource()->SetManualPosition(rect.getMaxX() + 15, rect.y + rect.height / 2); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | void NoteSorter::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 58 | { |
nothing calls this directly
no test coverage detected