textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutvirtualkeyctrl.h
branchRCL_3
changeset 12 5e18d8c489d6
parent 0 eb1f2e154e89
child 13 1bbdde98cc2d
equal deleted inserted replaced
11:c8fb4cf7b3ae 12:5e18d8c489d6
   172     /**
   172     /**
   173      * Draw key text
   173      * Draw key text
   174      *
   174      *
   175      * @since S60 V5.0     
   175      * @since S60 V5.0     
   176      */            
   176      */            
   177     void DrawKeyText();
   177     void DrawKeyText(CFbsBitGc* aGc);
   178     
   178     
   179     /**
   179     /**
   180      * Redraw and update the key
   180      * Redraw and update the key
   181      *
   181      *
   182      * @since S60 V5.0     
   182      * @since S60 V5.0     
   195      */                
   195      */                
   196     void DrawBmp(const TRect& aDestRect,const TRect& aSourceRect,
   196     void DrawBmp(const TRect& aDestRect,const TRect& aSourceRect,
   197                     const CFbsBitmap* aBmp,CFbsBitmap* aMask,
   197                     const CFbsBitmap* aBmp,CFbsBitmap* aMask,
   198                     TBool aInvertFlag = EFalse);
   198                     TBool aInvertFlag = EFalse);
   199 
   199 
       
   200     void DrawBmp(CFbsBitGc* aGc, const TRect& aDestRect,const TRect& aSourceRect,
       
   201                                       const CFbsBitmap* aBmp,CFbsBitmap* aMask,
       
   202                                       TBool aInvertFlag = EFalse);
       
   203 
   200     /**
   204     /**
   201      * Get the control event for given internal event type
   205      * Get the control event for given internal event type
   202      *
   206      *
   203      * @since S60 V5.0     
   207      * @since S60 V5.0     
   204      * @param aEvent Internal event type
   208      * @param aEvent Internal event type
   229      */    
   233      */    
   230     TInt iScanCode;       
   234     TInt iScanCode;       
   231     
   235     
   232     TVirtualKeyDrawInfo iVirtualKeyDrawInfo;     
   236     TVirtualKeyDrawInfo iVirtualKeyDrawInfo;     
   233     
   237     
   234 friend class CVirtualKeyboard;    
   238 protected:
       
   239     void UpdateChangedArea(TBool aFlag);    
       
   240 private:    
       
   241     CFbsBitGc* GetGc();
       
   242     TRect GetRect(); 
       
   243     
       
   244     friend class CVirtualKeyboard;    
   235     };
   245     };
   236     
   246     
   237 inline CVirtualKeyboard* CVirtualKeyCtrl::Keyboard()
   247 inline CVirtualKeyboard* CVirtualKeyCtrl::Keyboard()
   238     {
   248     {
   239     return iKeyboard;
   249     return iKeyboard;