}
else
{
- m_pActiveLayout->refreshRect( rEvtRefresh.getXStart(),
- rEvtRefresh.getYStart(),
- rEvtRefresh.getWidth(),
- rEvtRefresh.getHeight() );
+ m_pActiveLayout->computeRefresh( rEvtRefresh.getXStart(),
+ rEvtRefresh.getYStart(),
+ rEvtRefresh.getWidth(),
+ rEvtRefresh.getHeight() );
}
}
// Get the size of the layout and resize the window
resize( pLayout->getWidth(), pLayout->getHeight() );
- updateShape();
if( isVisible )
{
pLayout->onShow();
void TopWindow::innerShow()
{
- // First, refresh the layout and update the shape of the window
+ // First, refresh the layout
if( m_pActiveLayout )
{
- updateShape();
m_pActiveLayout->onShow();
}