| 2684 | } |
| 2685 | |
| 2686 | IUIControl* ModularSynth::FindUIControl(std::string path) |
| 2687 | { |
| 2688 | if (path == "") |
| 2689 | return nullptr; |
| 2690 | if (path[0] == '$') |
| 2691 | { |
| 2692 | if (Prefab::sLoadingPrefab) |
| 2693 | return nullptr; |
| 2694 | return mModuleContainer.FindUIControl(path.substr(1, path.length() - 1)); |
| 2695 | } |
| 2696 | return mModuleContainer.FindUIControl(IClickable::sPathLoadContext + path); |
| 2697 | } |
| 2698 | |
| 2699 | void ModularSynth::GrabSample(ChannelBuffer* data, std::string name, bool window, int numBars) |
| 2700 | { |
no test coverage detected