equal
deleted
inserted
replaced
325 |
325 |
326 iCurrentState = newState; |
326 iCurrentState = newState; |
327 if(DataMgr()->IsUpdate()) |
327 if(DataMgr()->IsUpdate()) |
328 { |
328 { |
329 DataMgr()->SetUpdate(EFalse); |
329 DataMgr()->SetUpdate(EFalse); |
330 CSplitItutUiLayout* itutLayout = |
330 |
331 static_cast<CSplitItutUiLayout*>( LayoutContext()->UiLayout() ); |
331 // Get the screen rect |
332 itutLayout->SizeChanged( NULL ); |
332 TRect screenRect = DataMgr()->screenSize(); |
|
333 // If the screen is in portrait mode |
|
334 if ( screenRect.Width() < screenRect.Height()) |
|
335 { |
|
336 CSplitItutUiLayout* itutLayout = |
|
337 static_cast<CSplitItutUiLayout*>( LayoutContext()->UiLayout()); |
|
338 itutLayout->SizeChanged( NULL ); |
|
339 } |
333 } |
340 } |
334 |
341 |
335 iCurrentState->OnEntryL(); |
342 iCurrentState->OnEntryL(); |
336 } |
343 } |
337 |
344 |