textinput/peninputsplititut/inc/peninputsplititutwindow.h
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
child 56 8152b1f1763a
--- a/textinput/peninputsplititut/inc/peninputsplititutwindow.h	Tue Sep 14 21:59:06 2010 +0300
+++ b/textinput/peninputsplititut/inc/peninputsplititutwindow.h	Wed Sep 15 12:34:44 2010 +0300
@@ -33,6 +33,7 @@
 class CFepCtrlDropdownList;
 class CAknFepCtrlCommonBgCtrl;
 class CPeninputSyncBitmapRotator;
+class CBubbleCtrl;
 
 const TInt KUnavailableID = -1;
 
@@ -240,36 +241,52 @@
     void SetPromptTextL( TUint8* aData );
     
     /** 
-     * Set bubble
+     * Set split bubble
      *
-     * @since S60 5.0
      * @return None
      */    
-    void SetIndiBubble();
+    void SetSplitIndiBubble();
     
     /** 
-     * Update bubble prompt text
+     * Set spelling bubble
      *
-     * @since S60 5.0
+     * @return None
+     */    
+    void SetSpellIndiBubble();
+    
+    /** 
+     * Update split bubble prompt text
+     *
      * @param aData text
      * @return None
      */
-    void UpdateIndiBubbleL( TUint8* aData );
+    void UpdateSplitIndiBubbleL( TUint8* aData );
+
+    /** 
+     * Update spelling bubble prompt text
+     *
+     * @param aData text
+     * @return None
+     */
+    void UpdateSpellIndiBubbleL( TUint8* aData );    
     
     /** 
      * Set bubble image
      *
-     * @since S60 5.0
+     * @param aBubble bubble control
+     * @param aRect bubble rect
      * @param aImgID1 image ID1
      * @param aMaskID1 mask image id1
      * @param aImgID2 image ID2
      * @param aMaskID2 mask image id2
      * @return None
      */
-    void SetIndiBubbleImageL( const TInt aImgID1,
-						      const TInt aMaskID1,
-                              const TInt aImgID2,
-                              const TInt aMaskID2 );
+    void SetBubbleImageL( CBubbleCtrl& aBubble,
+                          const TRect& aRect,
+                          const TInt aImgID1,
+						  const TInt aMaskID1,
+                          const TInt aImgID2,
+                          const TInt aMaskID2 );
 private:
     /**
      * C++ constructor
@@ -476,6 +493,13 @@
      * @return None
      */
     void CreateICFL();
+	
+    /**
+     * Create split indicator bubble
+     *
+     * @return None
+     */
+    void CreateSplitIndiBubbleL();
      
     /**
      * Check control size change
@@ -626,6 +650,7 @@
     TSize iIndicatorTextSize;
     TBool iImDimensionSet;
     CFepLayoutMultiLineIcf* iICF;
+    CBubbleCtrl* iSplitIndiBubble;        
     };
    
 // ---------------------------------------------------------------------------