MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / PerformLayout

Method PerformLayout

src/Windows/Window.cpp:360–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360int WindowSplitter::PerformLayout() {
361 int win1height = m_splitterRect.top - m_windowRect.top;
362 int win2height = (m_windowRect.bottom - (m_splitterRect.bottom-m_windowRect.top));
363 int win1top = m_windowRect.top;
364 int win2top = m_splitterRect.bottom;
365
366 m_window1->Move(m_windowRect.left, win1top, m_windowRect.right, win1height);
367 m_window2->Move(m_windowRect.left, win2top, m_windowRect.right, win2height);
368
369 return 0;
370}

Callers

nothing calls this directly

Calls 1

MoveMethod · 0.45

Tested by

no test coverage detected