| 113 | } |
| 114 | |
| 115 | void NoteRouter::PostRepatch(PatchCableSource* cableSource, bool fromUserClick) |
| 116 | { |
| 117 | INoteSource::PostRepatch(cableSource, fromUserClick); |
| 118 | |
| 119 | for (int i = 0; i < (int)mDestinationCables.size(); ++i) |
| 120 | { |
| 121 | if (cableSource == mDestinationCables[i]->GetPatchCableSource()) |
| 122 | { |
| 123 | IClickable* target = cableSource->GetTarget(); |
| 124 | std::string name = target ? target->Name() : " "; |
| 125 | mRouteSelector->SetLabel(name.c_str(), i); |
| 126 | } |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | void NoteRouter::GetModuleDimensions(float& width, float& height) |
| 131 | { |
nothing calls this directly
no test coverage detected