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

Method LoadLayout

Source/SpectralDisplay.cpp:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void SpectralDisplay::LoadLayout(const ofxJSONElement& moduleInfo)
161{
162 mModuleSaveData.LoadString("target", moduleInfo);
163 mModuleSaveData.LoadInt("width", moduleInfo, 600, 50, 2000, K(isTextField));
164 mModuleSaveData.LoadInt("height", moduleInfo, 100, 50, 2000, K(isTextField));
165
166 SetUpFromSaveData();
167}
168
169void SpectralDisplay::SaveLayout(ofxJSONElement& moduleInfo)
170{

Callers

nothing calls this directly

Calls 2

LoadStringMethod · 0.80
LoadIntMethod · 0.80

Tested by

no test coverage detected