| 358 | } |
| 359 | |
| 360 | int 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 | } |