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

Method SaveLayoutAsPopup

Source/ModularSynth.cpp:2820–2825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2818}
2819
2820void ModularSynth::SaveLayoutAsPopup()
2821{
2822 FileChooser chooser("Save current layout as...", File(ofToDataPath("layouts/newlayout.json")), "*.json", true, false, GetFileChooserParent());
2823 if (chooser.browseForFileToSave(true))
2824 SaveLayout(chooser.getResult().getFullPathName().toStdString());
2825}
2826
2827void ModularSynth::SaveCurrentState()
2828{

Callers 1

ButtonClickedMethod · 0.80

Calls 1

ofToDataPathFunction · 0.85

Tested by

no test coverage detected