| 46 | |
| 47 | |
| 48 | void PulseRouter::DrawModule() |
| 49 | { |
| 50 | if (Minimized() || IsVisible() == false) |
| 51 | return; |
| 52 | |
| 53 | mRouteSelector->Draw(); |
| 54 | for (int i = 0; i < (int)mDestinationCables.size(); ++i) |
| 55 | { |
| 56 | ofVec2f pos = mRouteSelector->GetOptionPosition(i) - mRouteSelector->GetPosition(); |
| 57 | mDestinationCables[i]->SetManualPosition(pos.x + 10, pos.y + 4); |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | void PulseRouter::SetSelectedMask(int mask) |
| 62 | { |
nothing calls this directly
no test coverage detected