textinput/peninputgenericitut/src/peninputgenericitutwindow.cpp
branchRCL_3
changeset 6 6ceef9a83b1a
parent 5 a47de9135b21
child 7 6defe5d1bd39
--- a/textinput/peninputgenericitut/src/peninputgenericitutwindow.cpp	Fri Mar 12 15:44:07 2010 +0200
+++ b/textinput/peninputgenericitut/src/peninputgenericitutwindow.cpp	Mon Mar 15 12:42:02 2010 +0200
@@ -748,7 +748,7 @@
 
     iICF->SetResourceId(R_FINGER_ICF);
     ConstructIcfFromResourceL();
-    iICF->SetBgImgSkinId(KAknsIIDQsnFrCall2Rect);
+    iICF->SetBgImgSkinId(KAknsIIDQgnGrafFepInputBg);
     //iDataMgr->SetTextAlignment();
     
     AddControlL(iICF);
@@ -2063,6 +2063,23 @@
         }
     }
 
+void CGenericItutWindow::MsgBubbleForChinese()
+	{
+	if ( iICF )
+		{
+		iBubbleSize = AknLayoutScalable_Apps::popup_char_count_window().LayoutLine();
+	    iBubbleTextLayout = AknLayoutScalable_Apps::popup_char_count_window_t1(0).LayoutLine();
+		
+	    iICF->MsgBubbleCtrl()->SetTextFormat(iBubbleTextLayout);
+	    iICF->MsgBubbleCtrl()->SetBitmapParam(NULL,
+	    									  NULL,
+	    									  KAknsIIDQsnFrInputPreviewSideL,
+	    									  KAknsIIDQsnFrInputPreviewMiddle,
+	    									  KAknsIIDQsnFrInputPreviewSideR);  
+	    iICF->SetMsgBubbleCtrlSize(TSize(iBubbleSize.iW,iBubbleSize.iH));
+	    iICF->MsgBubbleCtrl()->SetTextL( KEmptyString );
+		}
+	}
 void CGenericItutWindow::SetIndiWithTextFlag( TBool aFlag )
     {
     iIndiWithText = aFlag;