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

Method BuildControllerList

Source/LinnstrumentControl.cpp:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void LinnstrumentControl::BuildControllerList()
113{
114 mControllerList->Clear();
115 const std::vector<std::string>& devices = mDevice.GetPortList(false);
116 for (int i = 0; i < devices.size(); ++i)
117 mControllerList->AddLabel(devices[i].c_str(), i);
118}
119
120void LinnstrumentControl::OnScaleChanged()
121{

Callers

nothing calls this directly

Calls 4

GetPortListMethod · 0.80
sizeMethod · 0.80
ClearMethod · 0.45
AddLabelMethod · 0.45

Tested by

no test coverage detected