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

Method canCloseWindow

Source/Core/CtrlrManager/CtrlrManager.cpp:289–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289bool CtrlrManager::canCloseWindow()
290{
291 for (int i = 0; i<getNumPanels(); i++)
292 {
293 CtrlrPanel *panel = getPanel(i);
294 if (panel != nullptr)
295 {
296 if (!panel->canClose(false))
297 {
298 return false;
299 }
300 }
301 }
302 return true;
303}
304
305void CtrlrManager::valueTreePropertyChanged (ValueTree &treeWhosePropertyHasChanged, const Identifier &property)
306{

Callers 2

closeButtonPressedMethod · 0.45
canCloseMethod · 0.45

Calls 1

canCloseMethod · 0.80

Tested by

no test coverage detected