textinput/peninputarc/inc/pensrvcliinc/penuiwndctrl.h
branchRCL_3
changeset 19 ac7e4d1d9209
parent 15 6c2c2d3ab788
child 20 ebd48d2de13c
equal deleted inserted replaced
18:b1ea1642412e 19:ac7e4d1d9209
   194     TInt GetWndPriority();
   194     TInt GetWndPriority();
   195     void SetResourceChange(TBool aResourceChange);
   195     void SetResourceChange(TBool aResourceChange);
   196     void UpdateCursor(TBool aOnFlag,const CFbsBitmap* aCursorBmp,const TRect& aPos);
   196     void UpdateCursor(TBool aOnFlag,const CFbsBitmap* aCursorBmp,const TRect& aPos);
   197     void SetPopupArea(const TRect& aRect, TBool aFlag);
   197     void SetPopupArea(const TRect& aRect, TBool aFlag);
   198     void UpdateICFArea(const CFbsBitmap* aBmp,const TPoint& aPos);
   198     void UpdateICFArea(const CFbsBitmap* aBmp,const TPoint& aPos);
   199     void UpdateChangedArea(const CFbsBitmap* aBmp,const TRect& aRect,TBool aFlag);
   199     
   200     void UpdateBubble(const CFbsBitmap* aBmp,const CFbsBitmap* aMaskBmp,const TRect& aPos,TBool aFlag);
   200     /**
       
   201      * Update the bubble area list
       
   202      *
       
   203      * @since S60 v5.0
       
   204      * @param aCtrl the Ctrl's address
       
   205      * @param aBmp the bubble bitmap's address
       
   206      * @param aRect the bubble rect
       
   207      * @param aFlag ETrue means add bubble area and 
       
   208      *              EFalse means remove bubble area
       
   209      * @return void
       
   210      */
       
   211     void UpdateChangedArea( const TUint32 aCtrl, 
       
   212     	const CFbsBitmap* aBmp, const TRect& aRect, TBool aFlag );
       
   213     
       
   214     /**
       
   215      * Update the bubble area list
       
   216      *
       
   217      * @since S60 v5.0
       
   218      * @param aCtrl the Ctrl's address
       
   219      * @param aBmp the bubble bitmap's address
       
   220      * @param aMaskBmp the bubble mask bitmap's address
       
   221      * @param aPos the bubble rect
       
   222      * @param aFlag ETrue means add bubble area and 
       
   223      *              EFalse means remove bubble area
       
   224      * @return void
       
   225      */
       
   226     void UpdateBubble( const TUint32 aCtrl, 
       
   227     	const CFbsBitmap* aBmp, const CFbsBitmap* aMaskBmp, 
       
   228     	const TRect& aPos, TBool aFlag );
       
   229     
   201     void Clean();
   230     void Clean();
   202     
   231     
   203     void HandleNGASpecificSignal(TInt aEventType, const TDesC& aEventData);
   232     void HandleNGASpecificSignal(TInt aEventType, const TDesC& aEventData);
   204     void LiftUpPriority();
   233     void LiftUpPriority();
       
   234     
       
   235     /**
       
   236      * Update the cursor color
       
   237      *
       
   238      * @since S60 v5.0
       
   239      * @param none
       
   240      * @return void
       
   241      */
       
   242     void SetCursorColor();
       
   243     
   205 public: // Functions from base classes.
   244 public: // Functions from base classes.
   206 
   245 
   207     /**
   246     /**
   208      * From CCoeControl    
   247      * From CCoeControl    
   209      * Function where control's drawing is done.
   248      * Function where control's drawing is done.
   300     CFbsBitmap * iCursorBmp;
   339     CFbsBitmap * iCursorBmp;
   301     CFbsBitmap* iICFBmp;
   340     CFbsBitmap* iICFBmp;
   302     CFbsBitmap* iChangedBmp;
   341     CFbsBitmap* iChangedBmp;
   303     RPointerArray<CFbsBitmap> iBubblesArea;
   342     RPointerArray<CFbsBitmap> iBubblesArea;
   304     RPointerArray<CFbsBitmap> iBubblesMaskArea;
   343     RPointerArray<CFbsBitmap> iBubblesMaskArea;
       
   344     
       
   345     /**
       
   346      * An array of the Controls' addresses 
       
   347      */
       
   348     RArray<TUint32> iBubblesCtrl;
       
   349     
   305     RArray<TRect> iBubblesPos;
   350     RArray<TRect> iBubblesPos;
   306     
   351     
   307     TPoint iCursorPos;
   352     TPoint iCursorPos;
   308     TPoint iIcfPos;
   353     TPoint iIcfPos;
   309     TPoint iChangedPos;
   354     TPoint iChangedPos;
   333     RArray<TCommonBgCtrlSubItem> *iSubItems; //not own
   378     RArray<TCommonBgCtrlSubItem> *iSubItems; //not own
   334     
   379     
   335     TBool iNotUpdating;
   380     TBool iNotUpdating;
   336     CCursorWindow* iCursorWnd;
   381     CCursorWindow* iCursorWnd;
   337     
   382     
       
   383     /**
       
   384      * The cursor's color 
       
   385      */
       
   386     TRgb iCursorColor;
       
   387     
   338 friend class CCursorWindow;
   388 friend class CCursorWindow;
   339     };
   389     };
   340 class CInternalBkCtrl : public CCoeControl
   390 class CInternalBkCtrl : public CCoeControl
   341     {
   391     {
   342 public: // Constructors and destructor
   392 public: // Constructors and destructor