textinput/peninputarc/inc/pensrvcliinc/penuiwndctrl.h
branchRCL_3
changeset 9 e6a39382bb9c
parent 0 eb1f2e154e89
child 12 5e18d8c489d6
equal deleted inserted replaced
8:4eb1ae11334f 9:e6a39382bb9c
   161      *
   161      *
   162      * @param aRect Control's area.
   162      * @param aRect Control's area.
   163      */
   163      */
   164     void Draw( const TRect &aRect ) const;
   164     void Draw( const TRect &aRect ) const;
   165     
   165     
       
   166 public:
       
   167     /**
       
   168      * Auto refresh timer callback, refresh pen ui. (for NGA)
       
   169      */
       
   170     void RefreshUI();
       
   171     
   166 private:
   172 private:
   167 
   173 
   168     /**
   174     /**
   169      * when pen ui is activated, e.g. after screen saver, restore system fading status 
   175      * when pen ui is activated, e.g. after screen saver, restore system fading status 
   170      * and set non-fading for pen ui
   176      * and set non-fading for pen ui
   194      * @return TUid          Indicate the Id of WindowGroupNameApp
   200      * @return TUid          Indicate the Id of WindowGroupNameApp
   195      * @param  aWS           Indicate RWsSession.
   201      * @param  aWS           Indicate RWsSession.
   196      * @param  aWGId         Id of focus window group.
   202      * @param  aWGId         Id of focus window group.
   197      */
   203      */
   198     TUid WindowGroupNameAppUidL( RWsSession& aWS,TInt aWGId  );
   204     TUid WindowGroupNameAppUidL( RWsSession& aWS,TInt aWGId  );
       
   205     
       
   206     /**
       
   207      * Restart auto refresh timer. (for NGA)
       
   208      */
       
   209     void RestartRefreshTimer();
       
   210     
       
   211     /**
       
   212      * stop auto refresh timer. (for NGA)
       
   213      */
       
   214     void StopRefreshTimer();
   199     
   215     
   200 
   216 
   201 private: // Data
   217 private: // Data
   202     RWindowGroup& iWndGroup;
   218     RWindowGroup& iWndGroup;
   203     CFbsBitmap * iBitmap;
   219     CFbsBitmap * iBitmap;
   220     TRect iInvalidateRect;
   236     TRect iInvalidateRect;
   221     TBool iResourceChange;
   237     TBool iResourceChange;
   222     //TBool iUiLayoutChange;
   238     //TBool iUiLayoutChange;
   223     TBool iInGlobalEditorState;
   239     TBool iInGlobalEditorState;
   224     TRect iLayoutClipRect;
   240     TRect iLayoutClipRect;
       
   241     
       
   242     /**
       
   243      * Auto refresh timer
       
   244      * own
       
   245      */
       
   246     CPeriodic* iAutoRefreshTimer;
       
   247     
   225     };
   248     };
   226 class CInternalBkCtrl : public CCoeControl
   249 class CInternalBkCtrl : public CCoeControl
   227     {
   250     {
   228 public: // Constructors and destructor
   251 public: // Constructors and destructor
   229     /**
   252     /**