equal
deleted
inserted
replaced
348 |
348 |
349 iCurrentState = newState; |
349 iCurrentState = newState; |
350 if(DataMgr()->IsUpdate()) |
350 if(DataMgr()->IsUpdate()) |
351 { |
351 { |
352 DataMgr()->SetUpdate(EFalse); |
352 DataMgr()->SetUpdate(EFalse); |
353 |
353 CGenericItutUiLayout* itutLayout = |
354 // Get the screen rect |
354 static_cast<CGenericItutUiLayout*>( LayoutContext()->UiLayout() ); |
355 TRect screenRect = DataMgr()->screenSize(); |
355 itutLayout->SizeChanged( NULL ); |
356 // If the screen is in portrait mode |
|
357 if ( screenRect.Width() < screenRect.Height()) |
|
358 { |
|
359 CGenericItutUiLayout* itutLayout = |
|
360 static_cast<CGenericItutUiLayout*>( LayoutContext()->UiLayout()); |
|
361 itutLayout->SizeChanged( NULL ); |
|
362 } |
|
363 } |
356 } |
364 |
357 |
365 iCurrentState->OnEntryL(); |
358 iCurrentState->OnEntryL(); |
366 } |
359 } |
367 |
360 |