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

Method SetUpFromSaveData

Source/Chorder.cpp:327–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void Chorder::SetUpFromSaveData()
328{
329 SetUpPatchCables(mModuleSaveData.GetString("target"));
330
331 bool multisliderMode = mModuleSaveData.GetBool("multislider_mode");
332 mChordGrid->SetGridMode(multisliderMode ? UIGrid::kMultisliderBipolar : UIGrid::kNormal);
333 mChordGrid->SetRestrictDragToRow(multisliderMode);
334 mChordGrid->SetRequireShiftForMultislider(true);
335}
336
337void Chorder::SaveState(FileStreamOut& out)
338{

Callers

nothing calls this directly

Calls 5

GetStringMethod · 0.80
GetBoolMethod · 0.80
SetGridModeMethod · 0.80
SetRestrictDragToRowMethod · 0.80

Tested by

no test coverage detected