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

Method LoadLayout

Source/NoteStreamDisplay.cpp:202–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void NoteStreamDisplay::LoadLayout(const ofxJSONElement& moduleInfo)
203{
204 mModuleSaveData.LoadString("target", moduleInfo);
205 mModuleSaveData.LoadFloat("duration_ms", moduleInfo, 2000, 0, 999999, K(isTextField));
206 mModuleSaveData.LoadInt("width", moduleInfo, 400, 50, 999999, K(isTextField));
207 mModuleSaveData.LoadInt("height", moduleInfo, 200, 50, 999999, K(isTextField));
208
209 SetUpFromSaveData();
210}
211
212void NoteStreamDisplay::SaveLayout(ofxJSONElement& moduleInfo)
213{

Callers

nothing calls this directly

Calls 3

LoadStringMethod · 0.80
LoadFloatMethod · 0.80
LoadIntMethod · 0.80

Tested by

no test coverage detected