textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutvirtualkeyctrl.h
branchRCL_3
changeset 43 ebd48d2de13c
parent 28 6c2c2d3ab788
child 44 ecbabf52600f
equal deleted inserted replaced
39:ac7e4d1d9209 43:ebd48d2de13c
   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(CFbsBitGc* aGc);
   177     void DrawKeyText();
   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 
       
   204     /**
   200     /**
   205      * Get the control event for given internal event type
   201      * Get the control event for given internal event type
   206      *
   202      *
   207      * @since S60 V5.0     
   203      * @since S60 V5.0     
   208      * @param aEvent Internal event type
   204      * @param aEvent Internal event type
   233      */    
   229      */    
   234     TInt iScanCode;       
   230     TInt iScanCode;       
   235     
   231     
   236     TVirtualKeyDrawInfo iVirtualKeyDrawInfo;     
   232     TVirtualKeyDrawInfo iVirtualKeyDrawInfo;     
   237     
   233     
   238 public:
   234 friend class CVirtualKeyboard;    
   239     void UpdateChangedArea(TBool aFlag);    
       
   240 private:    
       
   241     CFbsBitGc* GetGc();
       
   242     TRect GetRect(); 
       
   243     
       
   244     friend class CVirtualKeyboard;    
       
   245     };
   235     };
   246     
   236     
   247 inline CVirtualKeyboard* CVirtualKeyCtrl::Keyboard()
   237 inline CVirtualKeyboard* CVirtualKeyCtrl::Keyboard()
   248     {
   238     {
   249     return iKeyboard;
   239     return iKeyboard;