API published in: S60 1st Ed
Link against: eikcoctl.lib eikcore.lib
Required Capabilities
None
#include <eikmenub.h>
Public Member Functions |
|
IMPORT_C | CEikMenuBarTitle () |
C++ default constructor. |
|
IMPORT_C | ~CEikMenuBarTitle () |
Destructor. |
|
IMPORT_C void | SetIcon (CGulIcon *aIcon) |
Sets the title icon. |
|
IMPORT_C void | SetBitmapsOwnedExternally (TBool aOwnedExternally) |
Sets whether the bitmap and mask are owned externally or not. |
|
IMPORT_C void | DrawIcon (CWindowGc &aGc, TRect aRect, TInt aLeftMargin) const |
Draws the title icon to the graphics context aGc , inside the rect aRect with an offset from the left side of the rectangle of size aLeftMargin . |
|
IMPORT_C 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. |
|
IMPORT_C void | SetIconBitmapL (CFbsBitmap *aBitmap) |
Sets the bitmap for the icon. |
|
IMPORT_C void | SetIconMaskL (CFbsBitmap *aMask) |
Sets the bitmap mask for the icon. |
|
IMPORT_C CFbsBitmap * | IconBitmap () const |
Gets a pointer to the title icon’s bitmap. |
|
IMPORT_C CFbsBitmap * | IconMask () const |
Gets a pointer to the title icon’s bitmap mask. |
|
TInt | ExtraLeftMargin () const |
Gets the value of the extra left margin for the title text which will take into account the width of the title icon. |
|
void | CalculateBaseLine (TInt &aBaseLine, TInt &aTitleHeight) |
Adjusts the value of the title text baseline offset aBaseLine to take into account any size of the title icon. |
|
Data Fields |
|
TInt | iPos |
The title’s position on the menu bar. |
|
TInt | iWidth |
The title’s width. |
|
SData | iData |
The menu bar title text. |
|
TInt | iTitleFlags |
Flags used internally by the menu bar title. |
|
Data Structures |
|
struct | SData |
Defines a menu bar. More... |
|
C++ default constructor. |
|
Destructor. |
|
Adjusts the value of the title text baseline offset
|
|
Constructs a new icon for the title, taking ownership of the picture bitmap and the mask bitmap unless they are externally owned.
|
|
Draws the title icon to the graphics context
|
|
Gets the value of the extra left margin for the title text which will take into account the width of the title icon.
|
|
Gets a pointer to the title icon’s bitmap. Does not imply transfer of ownership.
|
|
Gets a pointer to the title icon’s bitmap mask. Does not imply transfer of ownership.
|
|
Sets whether the bitmap and mask are owned externally or not.
|
|
Sets the title icon.
|
|
Sets the bitmap for the icon. Transfers ownership unless the bitmaps are owned externally.
|
|
Sets the bitmap mask for the icon. Transfers ownership unless the bitmaps are owned externally.
|
|
The menu bar title text. |
|
The title’s position on the menu bar. |
|
Flags used internally by the menu bar title. |
|
The title’s width. |