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

Method LoadLayoutBase

Source/IDrawableModule.cpp:1189–1199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1187}
1188
1189void IDrawableModule::LoadLayoutBase(const ofxJSONElement& moduleInfo)
1190{
1191 LoadLayout(moduleInfo);
1192
1193 ITimeListener* timeListener = dynamic_cast<ITimeListener*>(this);
1194 if (timeListener)
1195 {
1196 mModuleSaveData.LoadInt("transport_priority", moduleInfo, timeListener->mTransportPriority, -9999, 9999, K(isTextField));
1197 timeListener->mTransportPriority = mModuleSaveData.GetInt("transport_priority");
1198 }
1199}
1200
1201void IDrawableModule::SaveLayoutBase(ofxJSONElement& moduleInfo)
1202{

Callers 3

AddEffectMethod · 0.80
LoadLayoutMethod · 0.80
SetUpModuleMethod · 0.80

Calls 2

LoadIntMethod · 0.80
GetIntMethod · 0.80

Tested by

no test coverage detected