textinput/peninputgenericitut/src/peninputgenericitutwindow.cpp
branchRCL_3
changeset 6 6ceef9a83b1a
parent 5 a47de9135b21
child 7 6defe5d1bd39
equal deleted inserted replaced
5:a47de9135b21 6:6ceef9a83b1a
   746 
   746 
   747     iICF->SetFocus(ETrue);
   747     iICF->SetFocus(ETrue);
   748 
   748 
   749     iICF->SetResourceId(R_FINGER_ICF);
   749     iICF->SetResourceId(R_FINGER_ICF);
   750     ConstructIcfFromResourceL();
   750     ConstructIcfFromResourceL();
   751     iICF->SetBgImgSkinId(KAknsIIDQsnFrCall2Rect);
   751     iICF->SetBgImgSkinId(KAknsIIDQgnGrafFepInputBg);
   752     //iDataMgr->SetTextAlignment();
   752     //iDataMgr->SetTextAlignment();
   753     
   753     
   754     AddControlL(iICF);
   754     AddControlL(iICF);
   755     }
   755     }
   756 
   756 
  2061         iICF->MsgBubbleCtrl()->SetRect( bubbleRect );
  2061         iICF->MsgBubbleCtrl()->SetRect( bubbleRect );
  2062         iICF->MsgBubbleCtrl()->SetIconOffsetAndSize( offset, size );
  2062         iICF->MsgBubbleCtrl()->SetIconOffsetAndSize( offset, size );
  2063         }
  2063         }
  2064     }
  2064     }
  2065 
  2065 
       
  2066 void CGenericItutWindow::MsgBubbleForChinese()
       
  2067 	{
       
  2068 	if ( iICF )
       
  2069 		{
       
  2070 		iBubbleSize = AknLayoutScalable_Apps::popup_char_count_window().LayoutLine();
       
  2071 	    iBubbleTextLayout = AknLayoutScalable_Apps::popup_char_count_window_t1(0).LayoutLine();
       
  2072 		
       
  2073 	    iICF->MsgBubbleCtrl()->SetTextFormat(iBubbleTextLayout);
       
  2074 	    iICF->MsgBubbleCtrl()->SetBitmapParam(NULL,
       
  2075 	    									  NULL,
       
  2076 	    									  KAknsIIDQsnFrInputPreviewSideL,
       
  2077 	    									  KAknsIIDQsnFrInputPreviewMiddle,
       
  2078 	    									  KAknsIIDQsnFrInputPreviewSideR);  
       
  2079 	    iICF->SetMsgBubbleCtrlSize(TSize(iBubbleSize.iW,iBubbleSize.iH));
       
  2080 	    iICF->MsgBubbleCtrl()->SetTextL( KEmptyString );
       
  2081 		}
       
  2082 	}
  2066 void CGenericItutWindow::SetIndiWithTextFlag( TBool aFlag )
  2083 void CGenericItutWindow::SetIndiWithTextFlag( TBool aFlag )
  2067     {
  2084     {
  2068     iIndiWithText = aFlag;
  2085     iIndiWithText = aFlag;
  2069     }
  2086     }
  2070 // End Of File
  2087 // End Of File