equal
deleted
inserted
replaced
1248 { |
1248 { |
1249 TRect bubbleRect = TItutDataConverter::AnyToRect( |
1249 TRect bubbleRect = TItutDataConverter::AnyToRect( |
1250 iDataMgr->RequestData( ESpellIndiPaneWithoutTextRect )); |
1250 iDataMgr->RequestData( ESpellIndiPaneWithoutTextRect )); |
1251 TRect iconRect = TItutDataConverter::AnyToRect( |
1251 TRect iconRect = TItutDataConverter::AnyToRect( |
1252 iDataMgr->RequestData( ESpellIndiIconWithoutTextRect )); |
1252 iDataMgr->RequestData( ESpellIndiIconWithoutTextRect )); |
1253 TSize offset( 0, 6 ); |
1253 TSize offset; |
|
1254 offset.iHeight = iconRect.iTl.iY - bubbleRect.iTl.iY; |
|
1255 offset.iWidth = iconRect.iTl.iX - bubbleRect.iTl.iX; |
1254 TSize size( iconRect.Width(), iconRect.Height()); |
1256 TSize size( iconRect.Width(), iconRect.Height()); |
1255 |
1257 |
1256 iICF->MsgBubbleCtrl()->SetRect( bubbleRect ); |
1258 iICF->MsgBubbleCtrl()->SetRect( bubbleRect ); |
1257 iICF->MsgBubbleCtrl()->SetIconOffsetAndSize( offset, size ); |
1259 iICF->MsgBubbleCtrl()->SetIconOffsetAndSize( offset, size ); |
1258 iICF->ShowBubble( KEmptyString, iICF->MsgBubbleCtrl()->Rect()); |
1260 iICF->ShowBubble( KEmptyString, iICF->MsgBubbleCtrl()->Rect()); |
1854 // when skin change all control with skin image should be reload. |
1856 // when skin change all control with skin image should be reload. |
1855 TRAP_IGNORE(ConstructKeyImageFromResourceL( R_ITUT_KEYPAD_BITMAP )); |
1857 TRAP_IGNORE(ConstructKeyImageFromResourceL( R_ITUT_KEYPAD_BITMAP )); |
1856 |
1858 |
1857 // reconstruct shift icon when skin changed |
1859 // reconstruct shift icon when skin changed |
1858 TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ReConstructL()); |
1860 TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ReConstructL()); |
1859 TRAP_IGNORE(iStandardItutKp->StarIcon()->ReConstructL()); |
|
1860 if ( iDataMgr->IsPortraitWest()) |
1861 if ( iDataMgr->IsPortraitWest()) |
1861 { |
1862 { |
1862 TRAP_IGNORE(iStandardItutKp->StarIcon()->ReConstructL()); |
1863 TRAP_IGNORE(iStandardItutKp->StarIcon()->ReConstructL()); |
1863 TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ResizeL(iDataMgr->iShiftIconRectForPrtWest.Size())); |
1864 TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ResizeL(iDataMgr->iShiftIconRectForPrtWest.Size())); |
1864 TRAP_IGNORE(iStandardItutKp->StarIcon()->ResizeL(iDataMgr->iStarIconRectForPrtWest.Size())); |
1865 TRAP_IGNORE(iStandardItutKp->StarIcon()->ResizeL(iDataMgr->iStarIconRectForPrtWest.Size())); |
2150 iDataMgr->RequestData( EIndiTextLine )); |
2151 iDataMgr->RequestData( EIndiTextLine )); |
2151 TRect bubbleRect = TItutDataConverter::AnyToRect( |
2152 TRect bubbleRect = TItutDataConverter::AnyToRect( |
2152 iDataMgr->RequestData( EIndiPaneWithTextRect )); |
2153 iDataMgr->RequestData( EIndiPaneWithTextRect )); |
2153 TRect iconRect = TItutDataConverter::AnyToRect( |
2154 TRect iconRect = TItutDataConverter::AnyToRect( |
2154 iDataMgr->RequestData( EIndiIconWithTextRect )); |
2155 iDataMgr->RequestData( EIndiIconWithTextRect )); |
2155 TSize offset( 60, 6 ); |
2156 TSize offset; |
|
2157 offset.iHeight = iconRect.iTl.iY - bubbleRect.iTl.iY; |
|
2158 offset.iWidth = iconRect.iTl.iX - bubbleRect.iTl.iX; |
2156 TSize size( iconRect.Width(), iconRect.Height()); |
2159 TSize size( iconRect.Width(), iconRect.Height()); |
2157 |
2160 |
2158 iICF->MsgBubbleCtrl()->SetRect( bubbleRect ); |
2161 iICF->MsgBubbleCtrl()->SetRect( bubbleRect ); |
2159 iICF->MsgBubbleCtrl()->SetIconOffsetAndSize( offset, size ); |
2162 iICF->MsgBubbleCtrl()->SetIconOffsetAndSize( offset, size ); |
2160 iICF->MsgBubbleCtrl()->SetTextFormat( textLine ); |
2163 iICF->MsgBubbleCtrl()->SetTextFormat( textLine ); |
2168 { |
2171 { |
2169 TRect bubbleRect = TItutDataConverter::AnyToRect( |
2172 TRect bubbleRect = TItutDataConverter::AnyToRect( |
2170 iDataMgr->RequestData( EIndiPaneWithoutTextRect )); |
2173 iDataMgr->RequestData( EIndiPaneWithoutTextRect )); |
2171 TRect iconRect = TItutDataConverter::AnyToRect( |
2174 TRect iconRect = TItutDataConverter::AnyToRect( |
2172 iDataMgr->RequestData( EIndiIconWithoutTextRect )); |
2175 iDataMgr->RequestData( EIndiIconWithoutTextRect )); |
2173 TSize offset( 0, 6 ); |
2176 TSize offset; |
|
2177 offset.iHeight = iconRect.iTl.iY - bubbleRect.iTl.iY; |
|
2178 offset.iWidth = iconRect.iTl.iX - bubbleRect.iTl.iX; |
2174 TSize size( iconRect.Width(), iconRect.Height()); |
2179 TSize size( iconRect.Width(), iconRect.Height()); |
2175 |
2180 |
2176 iICF->MsgBubbleCtrl()->SetRect( bubbleRect ); |
2181 iICF->MsgBubbleCtrl()->SetRect( bubbleRect ); |
2177 iICF->MsgBubbleCtrl()->SetIconOffsetAndSize( offset, size ); |
2182 iICF->MsgBubbleCtrl()->SetIconOffsetAndSize( offset, size ); |
2178 } |
2183 } |