IPatchable
| 193 | |
| 194 | //IPatchable |
| 195 | PatchCableSource* GetPatchCableSource(int index = 0) override |
| 196 | { |
| 197 | if (index < mPatchCableSources.size()) |
| 198 | return mPatchCableSources[index]; |
| 199 | return nullptr; |
| 200 | } |
| 201 | std::vector<PatchCableSource*> GetPatchCableSources() { return mPatchCableSources; } |
| 202 | |
| 203 | static void FindClosestSides(float xThis, float yThis, float wThis, float hThis, float xThat, float yThat, float wThat, float hThat, float& startX, float& startY, float& endX, float& endY, bool sidesOnly = false); |