equal
deleted
inserted
replaced
989 |
989 |
990 /** |
990 /** |
991 * Creates menu pane's extension object if it doesn't exist yet. |
991 * Creates menu pane's extension object if it doesn't exist yet. |
992 */ |
992 */ |
993 void CheckCreateExtensionL(); |
993 void CheckCreateExtensionL(); |
|
994 |
|
995 /** |
|
996 * Calculates the rectangle occupied by an item. |
|
997 * |
|
998 * @param aItemIndex Item's index. |
|
999 * @return Item's rectangle. |
|
1000 */ |
|
1001 TRect ItemRect( TInt aItemIndex ) const; |
|
1002 |
|
1003 /** |
|
1004 * Calculates the height of menu items. |
|
1005 * |
|
1006 * @return Item height. |
|
1007 */ |
|
1008 TInt CalculateItemHeight() const; |
994 |
1009 |
995 protected: // from CoeControl |
1010 protected: // from CoeControl |
996 |
1011 |
997 /** |
1012 /** |
998 * From @c CCoeControl. |
1013 * From @c CCoeControl. |
1070 CEikScrollBarFrame* iSBFrame; |
1085 CEikScrollBarFrame* iSBFrame; |
1071 CMenuScroller* iScroller; |
1086 CMenuScroller* iScroller; |
1072 CEikButtonBase* iLaunchingButton; // for popouts only |
1087 CEikButtonBase* iLaunchingButton; // for popouts only |
1073 TInt iSubPopupWidth; // 0..2 |
1088 TInt iSubPopupWidth; // 0..2 |
1074 TInt iSpare; |
1089 TInt iSpare; |
1075 CEikMenuPaneExtension* iExtension ; |
1090 CEikMenuPaneExtension* iExtension; |
1076 |
1091 |
1077 }; |
1092 }; |
1078 |
1093 |
1079 #endif |
1094 #endif |
1080 |
1095 |