379 iPreviewWndInnerRect = previewWndInnerRect.Rect(); |
379 iPreviewWndInnerRect = previewWndInnerRect.Rect(); |
380 iPreviewWndText = |
380 iPreviewWndText = |
381 AknLayoutScalable_Avkon::popup_fep_char_preview_window_t1(0).LayoutLine(); |
381 AknLayoutScalable_Avkon::popup_fep_char_preview_window_t1(0).LayoutLine(); |
382 previewWndText.LayoutText(previewWndRect.Rect(), iPreviewWndText); |
382 previewWndText.LayoutText(previewWndRect.Rect(), iPreviewWndText); |
383 iBubbleFont = previewWndText.Font(); |
383 iBubbleFont = previewWndText.Font(); |
|
384 iArrowPaddingSize = TSize(10,10); |
384 //========================================================================== |
385 //========================================================================== |
385 // going to be removed if the LAF data is ready |
386 // going to be removed if the LAF data is ready |
386 // |
387 // |
387 #ifdef HackerVersion |
388 #ifdef HackerVersion |
388 const TUint KMarginLayout = 4; |
389 const TUint KMarginLayout = 4; |
427 |
428 |
428 iRectBtnArrowRight = iRectBtnArrowLeft; |
429 iRectBtnArrowRight = iRectBtnArrowLeft; |
429 iRectBtnArrowRight.Move(TPoint(buttonWidth,0)); |
430 iRectBtnArrowRight.Move(TPoint(buttonWidth,0)); |
430 |
431 |
431 iSizeBtnPadding = TSize(6,6); |
432 iSizeBtnPadding = TSize(6,6); |
432 |
433 iArrowPaddingSize = TSize(8,8); |
433 |
434 |
434 iRectSpase = iRectBtnClose; |
435 iRectSpase = iRectBtnClose; |
435 iRectSpase.Move(TPoint(0,buttonHight)); |
436 iRectSpase.Move(TPoint(0,buttonHight)); |
436 |
437 |
437 iRectEnter = iRectSpase; |
438 iRectEnter = iRectSpase; |
448 iRectIcf = TRect(TPoint(4*buttonWidth+KMarginLayout,KMarginLayout),TPoint(iLayoutRect.iBr.iX-KMarginLayout,2*buttonHight+KMarginLayout)); |
449 iRectIcf = TRect(TPoint(4*buttonWidth+KMarginLayout,KMarginLayout),TPoint(iLayoutRect.iBr.iX-KMarginLayout,2*buttonHight+KMarginLayout)); |
449 |
450 |
450 // iwriting box |
451 // iwriting box |
451 iRectWritingBox = TRect(TPoint(KMarginLayout,2*buttonHight+KMarginLayout),iLayoutRect.iBr-TPoint(KMarginLayout,KMarginLayout)); |
452 iRectWritingBox = TRect(TPoint(KMarginLayout,2*buttonHight+KMarginLayout),iLayoutRect.iBr-TPoint(KMarginLayout,KMarginLayout)); |
452 |
453 |
|
454 iIndicatorRect.iTl = iRectWritingBox.iTl; |
|
455 iIndicatorRect.iTl = iIndicatorRect.iTl + TPoint(20,20); |
|
456 iIndicatorRect.SetSize(TSize(80,80)); |
|
457 |
453 // construct symbol table |
458 // construct symbol table |
454 iRectOfSymbolTable = iRectWritingBox; |
459 iRectOfSymbolTable = iRectWritingBox; |
455 iRectOfSymbolTable.Move(TPoint(buttonWidth,-buttonHight)); |
460 iRectOfSymbolTable.Move(TPoint(buttonWidth,-buttonHight)); |
456 iRectOfSymbolTable.SetHeight(5*buttonHight); |
461 iRectOfSymbolTable.SetHeight(5*buttonHight); |
457 iRectOfSymbolTable.SetWidth(6*buttonWidth); |
462 iRectOfSymbolTable.SetWidth(6*buttonWidth); |
511 iRectBtnArrowRight = iRectBtnArrowLeft; |
516 iRectBtnArrowRight = iRectBtnArrowLeft; |
512 iRectBtnArrowRight.Move(TPoint(buttonWidth,0)); |
517 iRectBtnArrowRight.Move(TPoint(buttonWidth,0)); |
513 |
518 |
514 // button padding |
519 // button padding |
515 iSizeBtnPadding = TSize(6,6); |
520 iSizeBtnPadding = TSize(6,6); |
|
521 iArrowPaddingSize = TSize(12,12); |
516 |
522 |
517 // candate position |
523 // candate position |
518 iCandidateLTPos = iRectBtnClose.iTl + TPoint(0,buttonHight); |
524 iCandidateLTPos = iRectBtnClose.iTl + TPoint(0,buttonHight); |
519 iCandsUnitWidth = buttonWidth-iCandsVerticalMargin; |
525 iCandsUnitWidth = buttonWidth-iCandsVerticalMargin; |
520 iCandsUnitHeight = buttonHight; |
526 iCandsUnitHeight = buttonHight; |
521 |
527 |
522 // HWR Box Rect |
528 // HWR Box Rect |
523 iRectWritingBox = TRect(TPoint(iRectBtnArrowUp.iTl.iX,iRectBtnArrowUp.iBr.iY),iLayoutRect.iBr-TPoint(KMarginLayout,KMarginLayout)); |
529 iRectWritingBox = TRect(TPoint(iRectBtnArrowUp.iTl.iX,iRectBtnArrowUp.iBr.iY),iLayoutRect.iBr-TPoint(KMarginLayout,KMarginLayout)); |
|
530 |
|
531 iIndicatorRect.iTl = iRectWritingBox.iTl; |
|
532 iIndicatorRect.iTl = iIndicatorRect.iTl + TPoint(20,20); |
|
533 iIndicatorRect.SetSize(TSize(80,80)); |
524 |
534 |
525 // construct symbol table |
535 // construct symbol table |
526 iRectOfSymbolTable = iRectWritingBox; |
536 iRectOfSymbolTable = iRectWritingBox; |
527 iRectOfSymbolTable.Move(TPoint(0,-buttonHight)); |
537 iRectOfSymbolTable.Move(TPoint(0,-buttonHight)); |
528 iRectOfSymbolTable.SetHeight(5*buttonHight); |
538 iRectOfSymbolTable.SetHeight(5*buttonHight); |
924 void CPeninputFingerHwrArLafManager::ConstructL() |
934 void CPeninputFingerHwrArLafManager::ConstructL() |
925 { |
935 { |
926 } |
936 } |
927 |
937 |
928 TSize CPeninputFingerHwrArLafManager::SymbolGroupButtonSize() |
938 TSize CPeninputFingerHwrArLafManager::SymbolGroupButtonSize() |
929 { |
939 { |
930 return iSymButtonSize; |
940 return iSymButtonSize; |
931 } |
941 } |
|
942 |
|
943 TRect CPeninputFingerHwrArLafManager::GetIndicatorRect() |
|
944 { |
|
945 return iIndicatorRect; |
|
946 } |
|
947 |
|
948 TSize CPeninputFingerHwrArLafManager::GetArrowPaddingSize() |
|
949 { |
|
950 return iArrowPaddingSize; |
|
951 } |
|
952 |
932 // End Of File |
953 // End Of File |