API published in: S60 1st Ed
Link against: eikcoctl.lib eikcore.lib
Required Capabilities
None
#include <eikmenup.h>
CEikMenuPaneItem
class encapsulates the data needed to define a menu pane item and provides some of the functionality required to display
the item.
Public Member Functions |
|
IMPORT_C | CEikMenuPaneItem () |
C++ default constructor. |
|
IMPORT_C | ~CEikMenuPaneItem () |
Destructor. |
|
IMPORT_C void | SetIcon (CGulIcon *aIcon) |
Sets a menu item icon. |
|
IMPORT_C void | DrawItemIcon (CWindowGc &aGc, TRect aRect, TBool aDimmed, TInt aBitmapSpaceRequired) const |
Draws the menu item icon. |
|
IMPORT_C void | CreateIconL (CFbsBitmap *aBitmap, CFbsBitmap *aMask) |
Construct an icon from bitmaps. |
|
IMPORT_C CFbsBitmap * | IconBitmap () const |
Gets a pointer to the menu item's icon picture bitmap. |
|
IMPORT_C CFbsBitmap * | IconMask () const |
Gets a pointer to the menu item's icon mask bitmap. |
|
IMPORT_C void | SetBitmapsOwnedExternally (TBool aOwnedExternally) |
Sets icon bitmap ownership. |
|
IMPORT_C void | SetIconBitmapL (CFbsBitmap *aBitmap) |
Sets the picture bitmap. |
|
IMPORT_C void | SetIconMaskL (CFbsBitmap *aMask) |
Sets the mask bitmap. |
|
IMPORT_C TPtrC | ScaleableText () const |
Returns scaleable text. |
|
IMPORT_C void | SetScaleableTextL (const TDesC &aText) |
Sets scaleable text. |
|
Data Fields |
|
TInt | iPos |
The y position of the menu pane item. |
|
TInt | iHotKeyCode |
The menu pane item's hotkey text. |
|
SData | iData |
Information from an SData struct. |
|
Data Structures |
|
struct | SData |
Struct to menu pane item. More... |
|
C++ default constructor. |
|
Destructor. |
|
Construct an icon from bitmaps. Constructs a new icon for the menu item, taking ownership of the picture bitmap aBitmap and the mask bitmap aMask unless the bitmaps are externally owned.
|
|
Draws the menu item icon.
|
|
Gets a pointer to the menu item's icon picture bitmap. This does not imply transfer of ownership.
|
|
Gets a pointer to the menu item's icon mask bitmap. This does not imply transfer of ownership.
|
|
Returns scaleable text.
If there isn't scaleable text available then this method returns
|
|
Sets icon bitmap ownership.
Sets the menu item's icon bitmaps as externally owned if
|
|
Sets a menu item icon. This replaces any icon already set for the menu item.
|
|
Sets the picture bitmap. Transfers ownership unless the bitmaps are already owned externally.
|
|
Sets the mask bitmap. Transfers ownership unless the bitmaps are already owned externally.
|
|
Sets scaleable text.
|
|
Information from an SData struct. |
|
The menu pane item's hotkey text. |
|
The y position of the menu pane item. |