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

Method removeView

src/app/ui/workspace.cpp:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void Workspace::removeView(WorkspaceView* view)
69{
70 base::remove_from_container(m_views, view);
71
72 WorkspacePanel* panel = getViewPanel(view);
73 ASSERT(panel);
74 if (panel)
75 panel->removeView(view);
76}
77
78bool Workspace::closeView(WorkspaceView* view, bool quitting)
79{

Callers 7

onRemoveDocumentMethod · 0.45
onCloseViewMethod · 0.45
onCloseViewMethod · 0.45
~HomeViewMethod · 0.45
onCloseViewMethod · 0.45
onCloseViewMethod · 0.45
~MainWindowMethod · 0.45

Calls 1

remove_from_containerFunction · 0.85

Tested by

no test coverage detected