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

Method SetUpFromSaveData

Source/EnvelopeEditor.cpp:634–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634void EnvelopeEditor::SetUpFromSaveData()
635{
636 ADSRDisplay* display = dynamic_cast<ADSRDisplay*>(TheSynth->FindUIControl(mModuleSaveData.GetString("target")));
637 if (display != nullptr)
638 SetADSRDisplay(display);
639}

Callers

nothing calls this directly

Calls 2

GetStringMethod · 0.80
FindUIControlMethod · 0.45

Tested by

no test coverage detected