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

Method isPanelActive

Source/UIComponents/CtrlrApplicationWindow/CtrlrEditor.cpp:161–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool CtrlrEditor::isPanelActive(const bool checkRestrictedInstance)
162{
163 if (getActivePanel())
164 {
165 if (checkRestrictedInstance)
166 {
167 if (owner.getInstanceMode() == InstanceSingleRestriced)
168 {
169 return (false);
170 }
171
172 return (true);
173 }
174 else
175 {
176 return (true);
177 }
178 }
179
180 return (false);
181}
182
183void CtrlrEditor::setMenuBarVisible(const bool shouldBeVisible)
184{

Callers

nothing calls this directly

Calls 1

getInstanceModeMethod · 0.80

Tested by

no test coverage detected