bluetoothengine/bthid/mouse/PaintCursor/inc/paintcursorappview.h
branchRCL_3
changeset 11 a42ed326b458
parent 0 f63038272f30
child 16 b23265fb36da
equal deleted inserted replaced
10:0707dd69d236 11:a42ed326b458
    31 _LIT( KMouseCurorSrvName, "\\system\\apps\\animation\\BTCURSOR_SERVER" );
    31 _LIT( KMouseCurorSrvName, "\\system\\apps\\animation\\BTCURSOR_SERVER" );
    32 
    32 
    33 /*!
    33 /*!
    34  An instance of the CPaintCursorAppView View object for PaintCursor application
    34  An instance of the CPaintCursorAppView View object for PaintCursor application
    35  */
    35  */
    36 class CPaintCursorAppView : public CCoeControl
    36 class CPaintCursorAppView : public CCoeControl,  public MCoeControlObserver
       
    37 
    37     {
    38     {
    38 public:
    39 public:
    39 
    40 
    40     /*!
    41     /*!
    41      Create a CPaintCursorAppView object, which will draw itself to aRect
    42      Create a CPaintCursorAppView object, which will draw itself to aRect
    53 
    54 
    54     /*!
    55     /*!
    55      Destroy the object and release all memory objects
    56      Destroy the object and release all memory objects
    56      */
    57      */
    57     ~CPaintCursorAppView();
    58     ~CPaintCursorAppView();
       
    59     
       
    60     void HideCursor();
    58 
    61 
       
    62     void ShowCursor();
       
    63 	
    59 public:
    64 public:
    60     // from CCoeControl
    65     // from CCoeControl
    61 
    66 
    62     void SizeChanged();
    67     void SizeChanged();
    63 
    68 
    64     void Draw(const TRect& aRect) const;
    69     void Draw(const TRect& aRect) const;
       
    70 	
       
    71 public:
       
    72     /**
       
    73     * From MCoeControlObserver, HandleControlEventL.
       
    74     */
       
    75     // event handling section
       
    76     // e.g Listbox events
       
    77     void HandleControlEventL( CCoeControl* aControl, TCoeEvent aEventType );
    65 
    78 
    66     void HideCursor();
    79     void HandleResourceChange( TInt aType );
    67 
    80 
    68     void ShowCursor();
       
    69 private:
    81 private:
    70 
    82 
    71     /*!
    83     /*!
    72      Perform the second phase construction of a CPaintCursorAppView object
    84      Perform the second phase construction of a CPaintCursorAppView object
    73      @param aRect the rectangle this view will be drawn to
    85      @param aRect the rectangle this view will be drawn to