MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetUIControl

Method GetUIControl

Source/ScriptModule.cpp:782–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782IUIControl* 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
793void ScriptModule::AdjustUIControl(IUIControl* control, float value, double time, int lineNum)
794{

Callers 5

MidiReceivedMethod · 0.45
PollMethod · 0.45
PollMethod · 0.45
OnKontrolButtonMethod · 0.45
OnClickedMethod · 0.45

Calls 2

ofIsStringInStringFunction · 0.85
FindUIControlMethod · 0.45

Tested by

no test coverage detected