diff -r 2f259fa3e83a -r 8ca85d2f0db7 classicui_pub/options_menu_api/inc/EIKMENUP.H --- a/classicui_pub/options_menu_api/inc/EIKMENUP.H Tue Feb 02 01:00:49 2010 +0200 +++ b/classicui_pub/options_menu_api/inc/EIKMENUP.H Fri Feb 19 23:04:46 2010 +0200 @@ -991,6 +991,21 @@ * Creates menu pane's extension object if it doesn't exist yet. */ void CheckCreateExtensionL(); + + /** + * Calculates the rectangle occupied by an item. + * + * @param aItemIndex Item's index. + * @return Item's rectangle. + */ + TRect ItemRect( TInt aItemIndex ) const; + + /** + * Calculates the height of menu items. + * + * @return Item height. + */ + TInt CalculateItemHeight() const; protected: // from CoeControl @@ -1072,7 +1087,7 @@ CEikButtonBase* iLaunchingButton; // for popouts only TInt iSubPopupWidth; // 0..2 TInt iSpare; - CEikMenuPaneExtension* iExtension ; + CEikMenuPaneExtension* iExtension; };