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

Method GetLayout

Source/ModularSynth.cpp:2794–2803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2792}
2793
2794ofxJSONElement ModularSynth::GetLayout()
2795{
2796 ofxJSONElement root;
2797
2798 root["modules"] = mModuleContainer.WriteModules();
2799 root["ui_modules"] = mUILayerModuleContainer.WriteModules();
2800 root["zoomlocations"] = mZoomer.GetSaveData();
2801
2802 return root;
2803}
2804
2805void ModularSynth::SaveLayout(std::string jsonFile, bool makeDefaultLayout /*= true*/)
2806{

Callers

nothing calls this directly

Calls 2

WriteModulesMethod · 0.80
GetSaveDataMethod · 0.80

Tested by

no test coverage detected