Location:
eikmenub.h
Link against:
eikcoctl.lib
CEikMenuBarTitle
Supported from 6.0
Defines a menu bar title and provides some of the functionality required to display it.
|
Defined in CEikMenuBarTitle
:
CEikMenuBarTitle()
, CalculateBaseLineOffset()
, CreateIconL()
, IconBitmap()
, IconMask()
, SData
, SetBitmapsOwnedExternally()
, SetIcon()
, SetIconBitmapL()
, SetIconMaskL()
, SetIconOwnedExternally
, iData
, iPos
, iTitleFlags
, iWidth
, ~CEikMenuBarTitle()
Inherited from CBase
:
operator new()
void CalculateBaseLineOffset(TInt& aBaseLine);
Sets the value of the title text baseline offset to take into account the size of any title icon.
|
void CreateIconL(CFbsBitmap* aBitmap, CFbsBitmap* aMask);
Constructs a new icon for the title, taking ownership of the picture bitmap and the mask bitmap unless they are externally owned.
|
CFbsBitmap* IconBitmap() const;
Gets a pointer to the title icon’s bitmap. Does not imply transfer of ownership.
|
CFbsBitmap* IconMask() const;
Gets a pointer to the title icon’s bitmap mask. Does not imply transfer of ownership.
|
void SetBitmapsOwnedExternally(TBool aOwnedExternally);
Sets external ownership of the title icon’s bitmaps.
|
void SetIconOwnedExternally(TBool aOwnedExternally);
Sets external ownership of the title icon.
|
void SetIcon(CGulIcon* aIcon);
Sets the title icon.
|
void SetIconBitmapL(CFbsBitmap* aBitmap);
Sets the bitmap for the icon. Transfers ownership unless the bitmaps are owned externally.
|
void SetIconMaskL(CFbsBitmap* aMask);
Sets the bitmap mask for the icon. Transfers ownership unless the bitmaps are owned externally.
|
SData
Defines a menu bar. See also MEikMenuObserver::DynInitMenuPaneL()
.
See also MENU_TITLE
for details of the resource interface to menu items.
Defined in CEikMenuBarTitle::SData
:
iMenuPaneResourceId
, iText
Nominal text length (see iText
below).
Defined in CEikMenuBarTitle::SData::
:
iMenuPaneResourceId
TInt iMenuPaneResourceId
The resource ID from which the menu pane is constructed.
iText
TBuf<ENominalTextLength> iText
The text to display on the menu pane.
TInt iWidth
The title’s width.