javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtmenuarranger.h
changeset 23 98ccebc37403
parent 21 2a9601315dfc
equal deleted inserted replaced
21:2a9601315dfc 23:98ccebc37403
    23 #endif //RD_SCALABLE_UI_V2
    23 #endif //RD_SCALABLE_UI_V2
    24 
    24 
    25 /**
    25 /**
    26  * CSwtMenuArranger
    26  * CSwtMenuArranger
    27  * @lib eswt
    27  * @lib eswt
    28  * 
    28  *
    29  * Context menus contain:
    29  * Context menus contain:
    30  * # Prior to 9.2:
    30  * # Prior to 9.2:
    31  *      - Specific control menu of focused control (Mark, Unmark, etc.).
    31  *      - Specific control menu of focused control (Mark, Unmark, etc.).
    32  *      - OK & SELECT commands of focused control.
    32  *      - OK & SELECT commands of focused control.
    33  *      - OK & SELECT commands of all parents of focused control.
    33  *      - OK & SELECT commands of all parents of focused control.
    34  * # Since 9.2:
    34  * # Since 9.2:
    35  *      - No context menus in 9.2.
    35  *      - No context menus in 9.2.
    36  * 
    36  *
    37  * Stylus popup menus contain:
    37  * Stylus popup menus contain:
    38  * # Prior to 9.2:
    38  * # Prior to 9.2:
    39  *      - Specific control menu of long tapped control (Mark, Unmark, etc.).
    39  *      - Specific control menu of long tapped control (Mark, Unmark, etc.).
    40  *      - OK & SELECT commands of long tapped control.
    40  *      - OK & SELECT commands of long tapped control.
    41  *      - OK & SELECT commands of all parents of long tapped control.
    41  *      - OK & SELECT commands of all parents of long tapped control.
    43  *      - Popup menu of long tapped control (Control.setMenu()).
    43  *      - Popup menu of long tapped control (Control.setMenu()).
    44  * # Since 9.2:
    44  * # Since 9.2:
    45  *      - Specific control menu of long tapped control (Mark, Unmark, etc.).
    45  *      - Specific control menu of long tapped control (Mark, Unmark, etc.).
    46  *      - All commands of long tapped control.
    46  *      - All commands of long tapped control.
    47  *      - Popup menu of long tapped control (Control.setMenu()).
    47  *      - Popup menu of long tapped control (Control.setMenu()).
    48  * 
    48  *
    49  * Options menus contain:
    49  * Options menus contain:
    50  * # Prior to 9.2:
    50  * # Prior to 9.2:
    51  *      - Menu bar of active shell.
    51  *      - Menu bar of active shell.
    52  *      - Specific control menu of focused control (Mark, Unmark, etc.).
    52  *      - Specific control menu of focused control (Mark, Unmark, etc.).
    53  *      - All commands of all parents of focused control.
    53  *      - All commands of all parents of focused control.
   177     void HandleWindowVisibilityChangeL(CCoeControl* aDestination);
   177     void HandleWindowVisibilityChangeL(CCoeControl* aDestination);
   178     TSize ImageSize() const;
   178     TSize ImageSize() const;
   179     CEikMenuPane* ParentPane(CEikMenuPane& aPane) const;
   179     CEikMenuPane* ParentPane(CEikMenuPane& aPane) const;
   180 
   180 
   181 #ifdef RD_SCALABLE_UI_V2
   181 #ifdef RD_SCALABLE_UI_V2
   182     void OpenStylusPopupMenuL(const MSwtControl& aControl, const TPoint& aPoint, 
   182     void OpenStylusPopupMenuL(const MSwtControl& aControl, const TPoint& aPoint,
   183                               MSwtPopupMenuCallBack* aCallBack = NULL);
   183                               MSwtPopupMenuCallBack* aCallBack = NULL);
   184     void OpenStylusPopupMenuL(const MSwtMenu& aMenu, const TPoint& aPoint);
   184     void OpenStylusPopupMenuL(const MSwtMenu& aMenu, const TPoint& aPoint);
   185     void CloseStylusPopupMenuL();
   185     void CloseStylusPopupMenuL();
   186 #endif //RD_SCALABLE_UI_V2
   186 #endif //RD_SCALABLE_UI_V2
   187 
   187 
   290 
   290 
   291     /**
   291     /**
   292      * Cached image size for the panes
   292      * Cached image size for the panes
   293      */
   293      */
   294     TSize iImageSize;
   294     TSize iImageSize;
   295     
   295 
   296     MSwtPopupMenuCallBack* iPopupMenuCallback;
   296     MSwtPopupMenuCallBack* iPopupMenuCallback;
   297 };
   297 };
   298 
   298 
   299 
   299 
   300 #endif // SWTMENUARRANGER_H
   300 #endif // SWTMENUARRANGER_H