MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaSavePanel

Method luaSavePanel

Source/Core/CtrlrPanel/CtrlrPanel.cpp:1460–1474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1458}
1459
1460void CtrlrPanel::luaSavePanel(const CtrlrPanelFileType fileType, const File &file)
1461{
1462 if (luaPanelSavedCbk && !luaPanelSavedCbk.wasObjectDeleted())
1463 {
1464 if (luaPanelSavedCbk->isValid())
1465 {
1466 getCtrlrLuaManager().getMethodManager().call (luaPanelSavedCbk, (int)fileType, file);
1467 }
1468 }
1469
1470 for (int i=0; i<ctrlrModulators.size(); i++)
1471 {
1472 ctrlrModulators[i]->getProcessor().handleUpdateNowIfNeeded();
1473 }
1474}
1475
1476void CtrlrPanel::setLuaDebug (const bool _debug)
1477{

Callers 3

exportPanelMethod · 0.80
savePanelBinMethod · 0.80
savePanelXmlMethod · 0.80

Calls 5

isValidMethod · 0.45
callMethod · 0.45
sizeMethod · 0.45
getProcessorMethod · 0.45

Tested by

no test coverage detected