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

Method addViewToPanel

src/app/ui/workspace.cpp:256–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256void Workspace::addViewToPanel(WorkspacePanel* panel, WorkspaceView* view, bool from_drop, int pos)
257{
258 panel->addView(view, from_drop, pos);
259
260 m_activePanel = panel;
261 m_views.push_back(view);
262
263 setActiveView(view);
264 layout();
265}
266
267WorkspacePanel* Workspace::getViewPanel(WorkspaceView* view)
268{

Callers 2

onCloneTabMethod · 0.80
dropViewAtMethod · 0.80

Calls 1

addViewMethod · 0.45

Tested by

no test coverage detected