photosgallery/viewframework/views/cloudview/inc/glxtagscontextmenucontrol.h
branchRCL_3
changeset 32 78ad99c24f08
parent 25 191387a8b767
equal deleted inserted replaced
30:a60acebbbd9d 32:78ad99c24f08
    67 public:
    67 public:
    68     //MGlxTimernotifier
    68     //MGlxTimernotifier
    69     /**
    69     /**
    70      * Virtual Function from MGlxTimernotifier
    70      * Virtual Function from MGlxTimernotifier
    71      */
    71      */
    72     void TimerComplete();
    72     void TimerCompleteL();
    73 
    73 
    74 public:
    74 public:
    75     /**
    75     /**
    76      * Sets the grid layout on the screen with the Point specified
    76      * Sets the grid layout on the screen with the Point specified
    77      * @param aPoint - Point from which grid has to be displayed
    77      * @param aPoint - Point from which grid has to be displayed
    79     void SetDisplay(const TPoint& aPoint);
    79     void SetDisplay(const TPoint& aPoint);
    80     /**
    80     /**
    81      * Hides/shows the grid layout
    81      * Hides/shows the grid layout
    82      * @param aOpacity - Opacity value
    82      * @param aOpacity - Opacity value
    83      */
    83      */
    84     void ShowItemMenu(TBool aOpacity);
    84     void ShowItemMenuL(TBool aOpacity);
    85     /**
    85     /**
    86      * Hides/shows the grid layout
    86      * Hides/shows the grid layout
    87      * @return value of menu's visibility
    87      * @return value of menu's visibility
    88      */
    88      */
    89     TBool ItemMenuVisibility();
    89     TBool ItemMenuVisibility();
    93      * It also handles coordinates changed from Orientation
    93      * It also handles coordinates changed from Orientation
    94      * @param aRect - rect area where the Tags are drawn
    94      * @param aRect - rect area where the Tags are drawn
    95      */
    95      */
    96     void SetViewableRect(TRect aRect);
    96     void SetViewableRect(TRect aRect);
    97 
    97 
       
    98     /**
       
    99     * Handles the Up event when moved away from stylus menu
       
   100     */
       
   101     void HandleUpEventL();
       
   102     
    98 private:
   103 private:
    99     /**     
   104     /**     
   100      *  constructor 
   105      *  constructor 
   101      *  @param aItemMenuObserver - handles the menu items in grid layout
   106      *  @param aItemMenuObserver - handles the menu items in grid layout
   102      */
   107      */
   162     //Viewable rect
   167     //Viewable rect
   163     TRect iViewableRect;
   168     TRect iViewableRect;
   164 
   169 
   165     //flag for stylus menu visibility
   170     //flag for stylus menu visibility
   166     TBool iItemMenuVisibility;
   171     TBool iItemMenuVisibility;
       
   172     
       
   173     //Menu item selected
       
   174     TInt iCommandId;
       
   175     
   167     //Maximum text width of a menu item
   176     //Maximum text width of a menu item
   168     TInt iMaxTextWidth;
   177     TInt iMaxTextWidth;
   169     };
   178     };
   170 
   179 
   171 #endif /* GLXTAGSCONTEXTMENUCONTROL_H_ */
   180 #endif /* GLXTAGSCONTEXTMENUCONTROL_H_ */