| 780 | } |
| 781 | |
| 782 | IUIControl* ScriptModule::GetUIControl(std::string path) |
| 783 | { |
| 784 | IUIControl* control; |
| 785 | if (ofIsStringInString(path, "~")) |
| 786 | control = TheSynth->FindUIControl(path); |
| 787 | else |
| 788 | control = TheSynth->FindUIControl(Path() + "~" + path); |
| 789 | |
| 790 | return control; |
| 791 | } |
| 792 | |
| 793 | void ScriptModule::AdjustUIControl(IUIControl* control, float value, double time, int lineNum) |
| 794 | { |
no test coverage detected