MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / setActiveView

Method setActiveView

src/app/ui/workspace.cpp:88–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void Workspace::setActiveView(WorkspaceView* view)
89{
90 m_activePanel = getViewPanel(view);
91 ASSERT(m_activePanel);
92 if (!m_activePanel)
93 return;
94
95 m_activePanel->setActiveView(view);
96
97 ActiveViewChanged(); // Fire ActiveViewChanged event
98}
99
100void Workspace::setMainPanelAsActive()
101{

Callers 8

onProcessMessageMethod · 0.45
onCloseViewMethod · 0.45
onTabPopupMethod · 0.45
onActiveViewChangeMethod · 0.45
onSelectTabMethod · 0.45
onMouseDownMethod · 0.45
onMouseDownMethod · 0.45
onMouseDownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected