231 const TRect& CPeninputCnGenericVkbLafMgr::KeypadRect() const |
231 const TRect& CPeninputCnGenericVkbLafMgr::KeypadRect() const |
232 { |
232 { |
233 ASSERT(iLafData); |
233 ASSERT(iLafData); |
234 return iLafData->KeypadLayoutData().iKaypadRect; |
234 return iLafData->KeypadLayoutData().iKaypadRect; |
235 } |
235 } |
236 |
236 |
237 // --------------------------------------------------------------------------- |
237 // --------------------------------------------------------------------------- |
238 // CPeninputCnGenericVkbLafMgr::compositionLayoutData |
238 // CPeninputCnGenericVkbLafMgr::compositionLayoutData |
239 // (other items were commented in a header) |
239 // (other items were commented in a header) |
240 // --------------------------------------------------------------------------- |
240 // --------------------------------------------------------------------------- |
241 // |
241 // |
242 const TRect& CPeninputCnGenericVkbLafMgr::compositionLayoutData() const |
242 const TRect& CPeninputCnGenericVkbLafMgr::compositionLayoutData() const |
243 { |
243 { |
244 ASSERT(iLafData); |
244 ASSERT(iLafData); |
245 return iLafData->compositionLayoutData(); |
245 return iLafData->compositionLayoutData(); |
246 } |
246 } |
247 |
247 |
248 // --------------------------------------------------------------------------- |
248 // --------------------------------------------------------------------------- |
249 // CPeninputCnGenericVkbLafMgr::ICFRect |
249 // CPeninputCnGenericVkbLafMgr::ICFRect |
250 // (other items were commented in a header) |
250 // (other items were commented in a header) |
251 // --------------------------------------------------------------------------- |
251 // --------------------------------------------------------------------------- |
252 // |
252 // |
696 const TRect& MPeninputCnLafDataCommon::compositionLayoutData() const |
696 const TRect& MPeninputCnLafDataCommon::compositionLayoutData() const |
697 { |
697 { |
698 ASSERT( IsValid()); |
698 ASSERT( IsValid()); |
699 return iLayoutDataInfo[iLayoutType]->iCompositionRect; |
699 return iLayoutDataInfo[iLayoutType]->iCompositionRect; |
700 } |
700 } |
701 |
701 |
702 // --------------------------------------------------------------------------- |
702 // --------------------------------------------------------------------------- |
703 // CPeninputLafDataCommon::RangbarLayoutData(TInt aRangbarID) |
703 // CPeninputLafDataCommon::RangbarLayoutData(TInt aRangbarID) |
704 // (other items were commented in a header) |
704 // (other items were commented in a header) |
705 // --------------------------------------------------------------------------- |
705 // --------------------------------------------------------------------------- |
706 // |
706 // |
874 cellBtn = AknLayoutScalable_Avkon::vkb2_top_grid_right_pane_g3(aLayoutType).LayoutLine(); |
874 cellBtn = AknLayoutScalable_Avkon::vkb2_top_grid_right_pane_g3(aLayoutType).LayoutLine(); |
875 cellBtnRect.LayoutRect(toprightpaneRect.Rect(), cellBtn); |
875 cellBtnRect.LayoutRect(toprightpaneRect.Rect(), cellBtn); |
876 aDataInfo.iRightButton.iRect = cellBtnRect.Rect(); |
876 aDataInfo.iRightButton.iRect = cellBtnRect.Rect(); |
877 aDataInfo.iRightButton.iInnerRect = cellBtnRect.Rect(); |
877 aDataInfo.iRightButton.iInnerRect = cellBtnRect.Rect(); |
878 } |
878 } |
879 |
879 |
880 // Read composition area laf data |
880 // Read composition area laf data |
881 TAknWindowLineLayout compositionWindowLineLayout = |
881 TAknWindowLineLayout compositionWindowLineLayout = |
882 AknLayoutScalable_Avkon::vkb2_top_candi_pane(0).LayoutLine(); |
882 AknLayoutScalable_Avkon::vkb2_top_candi_pane(0).LayoutLine(); |
883 TAknLayoutRect compositionLayoutRect; |
883 TAknLayoutRect compositionLayoutRect; |
884 compositionLayoutRect.LayoutRect( toppaneRect.Rect(), compositionWindowLineLayout ); |
884 compositionLayoutRect.LayoutRect( toppaneRect.Rect(), compositionWindowLineLayout ); |
885 aDataInfo.iCompositionRect = compositionLayoutRect.Rect(); |
885 aDataInfo.iCompositionRect = compositionLayoutRect.Rect(); |
886 |
886 |
887 // bottom pane |
887 // bottom pane |
888 const TInt VKBParamBottom2Range[] = { 6, 8, 8 }; |
888 const TInt VKBParamBottom2Range[] = { 6, 8, 8 }; |
889 const TInt FSQParamBottom2Range[] = { 0, 2, 4 }; |
889 const TInt FSQParamBottom2Range[] = { 0, 2, 4 }; |
890 const TInt VKBParamBottom3Range[] = { 7, 9, 9 }; |
890 const TInt VKBParamBottom3Range[] = { 7, 9, 9 }; |