232 { |
232 { |
233 ASSERT(iLafData); |
233 ASSERT(iLafData); |
234 return iLafData->KeypadLayoutData().iKaypadRect; |
234 return iLafData->KeypadLayoutData().iKaypadRect; |
235 } |
235 } |
236 |
236 |
|
237 // --------------------------------------------------------------------------- |
|
238 // CPeninputCnGenericVkbLafMgr::compositionLayoutData |
|
239 // (other items were commented in a header) |
|
240 // --------------------------------------------------------------------------- |
|
241 // |
|
242 const TRect& CPeninputCnGenericVkbLafMgr::compositionLayoutData() const |
|
243 { |
|
244 ASSERT(iLafData); |
|
245 return iLafData->compositionLayoutData(); |
|
246 } |
|
247 |
237 // --------------------------------------------------------------------------- |
248 // --------------------------------------------------------------------------- |
238 // CPeninputCnGenericVkbLafMgr::ICFRect |
249 // CPeninputCnGenericVkbLafMgr::ICFRect |
239 // (other items were commented in a header) |
250 // (other items were commented in a header) |
240 // --------------------------------------------------------------------------- |
251 // --------------------------------------------------------------------------- |
241 // |
252 // |
674 const TPeninputCnKeyLayoutData& MPeninputCnLafDataCommon::KeypadLayoutData() const |
685 const TPeninputCnKeyLayoutData& MPeninputCnLafDataCommon::KeypadLayoutData() const |
675 { |
686 { |
676 ASSERT( IsValid() ); |
687 ASSERT( IsValid() ); |
677 return iLayoutDataInfo[iLayoutType]->iKeypad; |
688 return iLayoutDataInfo[iLayoutType]->iKeypad; |
678 } |
689 } |
679 |
690 |
|
691 // --------------------------------------------------------------------------- |
|
692 // MPeninputCnLafDataCommon::compositionLayoutData() |
|
693 // (other items were commented in a header) |
|
694 // --------------------------------------------------------------------------- |
|
695 // |
|
696 const TRect& MPeninputCnLafDataCommon::compositionLayoutData() const |
|
697 { |
|
698 ASSERT( IsValid()); |
|
699 return iLayoutDataInfo[iLayoutType]->iCompositionRect; |
|
700 } |
|
701 |
680 // --------------------------------------------------------------------------- |
702 // --------------------------------------------------------------------------- |
681 // CPeninputLafDataCommon::RangbarLayoutData(TInt aRangbarID) |
703 // CPeninputLafDataCommon::RangbarLayoutData(TInt aRangbarID) |
682 // (other items were commented in a header) |
704 // (other items were commented in a header) |
683 // --------------------------------------------------------------------------- |
705 // --------------------------------------------------------------------------- |
684 // |
706 // |
852 cellBtn = AknLayoutScalable_Avkon::vkb2_top_grid_right_pane_g3(aLayoutType).LayoutLine(); |
874 cellBtn = AknLayoutScalable_Avkon::vkb2_top_grid_right_pane_g3(aLayoutType).LayoutLine(); |
853 cellBtnRect.LayoutRect(toprightpaneRect.Rect(), cellBtn); |
875 cellBtnRect.LayoutRect(toprightpaneRect.Rect(), cellBtn); |
854 aDataInfo.iRightButton.iRect = cellBtnRect.Rect(); |
876 aDataInfo.iRightButton.iRect = cellBtnRect.Rect(); |
855 aDataInfo.iRightButton.iInnerRect = cellBtnRect.Rect(); |
877 aDataInfo.iRightButton.iInnerRect = cellBtnRect.Rect(); |
856 } |
878 } |
|
879 |
|
880 // Read composition area laf data |
|
881 TAknWindowLineLayout compositionWindowLineLayout = |
|
882 AknLayoutScalable_Avkon::vkb2_top_candi_pane(0).LayoutLine(); |
|
883 TAknLayoutRect compositionLayoutRect; |
|
884 compositionLayoutRect.LayoutRect( toppaneRect.Rect(), compositionWindowLineLayout ); |
|
885 aDataInfo.iCompositionRect = compositionLayoutRect.Rect(); |
857 |
886 |
858 // bottom pane |
887 // bottom pane |
859 const TInt VKBParamBottom2Range[] = { 6, 8, 8 }; |
888 const TInt VKBParamBottom2Range[] = { 6, 8, 8 }; |
860 const TInt FSQParamBottom2Range[] = { 0, 2, 4 }; |
889 const TInt FSQParamBottom2Range[] = { 0, 2, 4 }; |
861 const TInt VKBParamBottom3Range[] = { 7, 9, 9 }; |
890 const TInt VKBParamBottom3Range[] = { 7, 9, 9 }; |