textinput/peninputarc/inc/pensrvcliinc/penuiwndctrl.h
branchRCL_3
changeset 56 8152b1f1763a
parent 46 bd83ceabce89
equal deleted inserted replaced
50:5a1685599b76 56:8152b1f1763a
   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     
   199     void UpdateChangedArea(const CFbsBitmap* aBmp,const TRect& aRect,TBool aFlag);
   200     /**
   200     void UpdateBubble(const CFbsBitmap* aBmp,const CFbsBitmap* aMaskBmp,const TRect& aPos,TBool aFlag);
   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     
       
   230     void Clean();
   201     void Clean();
   231     
   202     
   232     void HandleNGASpecificSignal(TInt aEventType, const TDesC& aEventData);
   203     void HandleNGASpecificSignal(TInt aEventType, const TDesC& aEventData);
   233     void LiftUpPriority();
   204     void LiftUpPriority();
   234     
   205     
   238      * @since S60 v5.0
   209      * @since S60 v5.0
   239      * @param none
   210      * @param none
   240      * @return void
   211      * @return void
   241      */
   212      */
   242     void SetCursorColor();
   213     void SetCursorColor();
   243     
       
   244    /**
       
   245     * Enable or disable transition effect.
       
   246     * 
       
   247     * @since Symbian^3
       
   248     * @param aEnableGfxTransEffect, ETrue: enable transition effect
       
   249     *                               EFalse: disable transition effect.
       
   250     */
       
   251     inline void EnableGfxTransEffect( TBool aEnableGfxTransEffect )
       
   252     	{
       
   253     	iEnableGfxTransEffect = aEnableGfxTransEffect;
       
   254     	};
       
   255     
   214     
   256 public: // Functions from base classes.
   215 public: // Functions from base classes.
   257 
   216 
   258     /**
   217     /**
   259      * From CCoeControl    
   218      * From CCoeControl    
   351     CFbsBitmap * iCursorBmp;
   310     CFbsBitmap * iCursorBmp;
   352     CFbsBitmap* iICFBmp;
   311     CFbsBitmap* iICFBmp;
   353     CFbsBitmap* iChangedBmp;
   312     CFbsBitmap* iChangedBmp;
   354     RPointerArray<CFbsBitmap> iBubblesArea;
   313     RPointerArray<CFbsBitmap> iBubblesArea;
   355     RPointerArray<CFbsBitmap> iBubblesMaskArea;
   314     RPointerArray<CFbsBitmap> iBubblesMaskArea;
   356     
       
   357     /**
       
   358      * An array of the Controls' addresses 
       
   359      */
       
   360     RArray<TUint32> iBubblesCtrl;
       
   361     
       
   362     RArray<TRect> iBubblesPos;
   315     RArray<TRect> iBubblesPos;
   363     
   316     
   364     TPoint iCursorPos;
   317     TPoint iCursorPos;
   365     TPoint iIcfPos;
   318     TPoint iIcfPos;
   366     TPoint iChangedPos;
   319     TPoint iChangedPos;
   395     /**
   348     /**
   396      * The cursor's color 
   349      * The cursor's color 
   397      */
   350      */
   398     TRgb iCursorColor;
   351     TRgb iCursorColor;
   399     
   352     
   400     
       
   401    /**
       
   402     * If transition effect is enabled. 
       
   403     */
       
   404     TBool iEnableGfxTransEffect;
       
   405 
       
   406 friend class CCursorWindow;
   353 friend class CCursorWindow;
   407     };
   354     };
   408 class CInternalBkCtrl : public CCoeControl
   355 class CInternalBkCtrl : public CCoeControl
   409     {
   356     {
   410 public: // Constructors and destructor
   357 public: // Constructors and destructor