void CtrlrManagerWindowManager::show (const CtrlrManagerWindowManager::WindowType window) { CtrlrChildWindow *w = getWindow(window); if (w) { w->setVisible (true); } }
void CtrlrManagerWindowManager::toggle(const CtrlrManagerWindowManager::WindowType window, const bool makeVisible) { CtrlrChildWindow *w = getWindow(window); if (w) { if (makeVisible) { w->setVisible (true); w->toFront(true); } } }
void CtrlrPanelWindowManager::toggle(const CtrlrPanelWindowManager::WindowType window, const bool makeVisible) { CtrlrChildWindow *w = getWindow(window); if (w) { if (w->isVisible () && !makeVisible) { windows.removeObject (w); } else { w->setVisible (true); } } }