| 93 | |
| 94 | |
| 95 | void PulseRouter::PostRepatch(PatchCableSource* cableSource, bool fromUserClick) |
| 96 | { |
| 97 | //Hopefully this isn't important. |
| 98 | //INoteSource::PostRepatch(cableSource, fromUserClick); |
| 99 | |
| 100 | for (int i = 0; i < (int)mDestinationCables.size(); ++i) |
| 101 | { |
| 102 | if (cableSource == mDestinationCables[i]) |
| 103 | { |
| 104 | IClickable* target = cableSource->GetTarget(); |
| 105 | std::string name = target ? target->Name() : " "; |
| 106 | mRouteSelector->SetLabel(name.c_str(), i); |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | void PulseRouter::GetModuleDimensions(float& width, float& height) |
| 112 | { |