equal
deleted
inserted
replaced
125 |
125 |
126 iCurrentState = newstate; |
126 iCurrentState = newstate; |
127 if(DataMgr()->IsUpdate()) |
127 if(DataMgr()->IsUpdate()) |
128 { |
128 { |
129 DataMgr()->SetUpdate(EFalse); |
129 DataMgr()->SetUpdate(EFalse); |
130 CGenericItutUiLayout* itutLayout = |
130 |
131 static_cast<CGenericItutUiLayout*>( LayoutContext()->UiLayout() ); |
131 // Get the screen rect |
132 itutLayout->SizeChanged( NULL ); |
132 TRect screenRect = DataMgr()->screenSize(); |
|
133 // If the screen is in portrait mode |
|
134 if ( screenRect.Width() < screenRect.Height()) |
|
135 { |
|
136 CGenericItutUiLayout* itutLayout = |
|
137 static_cast<CGenericItutUiLayout*>( LayoutContext()->UiLayout()); |
|
138 itutLayout->SizeChanged( NULL ); |
|
139 } |
133 } |
140 } |
134 iCurrentState->OnEntryL(); |
141 iCurrentState->OnEntryL(); |
135 } |
142 } |
136 |
143 |
137 void CWesternItutUiMgr::ActivateUiL() |
144 void CWesternItutUiMgr::ActivateUiL() |