class CEikBitmapButton : public CEikCommandButtonBase |
A command button with a single bitmap
This specialization of CEikCommandButtonBase supports a single bitmap, optionally with a mask.
Public Member Functions | |
---|---|
CEikBitmapButton () | |
~CEikBitmapButton () | |
IMPORT_C void | ConstructFromResourceL ( TResourceReader &) |
IMPORT_C void | HandlePointerEventL (const TPointerEvent &) |
IMPORT_C CEikImage * | Picture ( TWhichComponent ) |
IMPORT_C void | SetPictureFromFileL (const TDesC &, TInt , TInt , TWhichComponent ) |
IMPORT_C void | SetPictureL (const CFbsBitmap *, const CFbsBitmap *, TWhichComponent ) |
Private Member Functions | |
---|---|
IMPORT_C void * | ExtensionInterface ( TUid ) |
Private Attributes | |
---|---|
TInt | iDummy |
IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [virtual] |
TResourceReader & aReader | Fully constructed resource reader |
IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [private, virtual] |
From CAknControl
TUid aInterface |
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
const TPointerEvent & aPointerEvent | Event to handle |
IMPORT_C CEikImage * | Picture | ( | TWhichComponent | aWhich = EFirst | ) | const |
Access to the image
TWhichComponent aWhich = EFirst | Which picture to access |
IMPORT_C void | SetPictureFromFileL | ( | const TDesC & | aFilename, |
TInt | aMain, | |||
TInt | aMask = -1, | |||
TWhichComponent | aWhich = EFirst | |||
) |
Sets the bitmap and optional mask from an mbm file.
const TDesC & aFilename | |
TInt aMain | Index of the bitmap to use |
TInt aMask = -1 | Index of the mask. If -1, then a null mask will be used |
TWhichComponent aWhich = EFirst | The component for which the picture is to be set. |
IMPORT_C void | SetPictureL | ( | const CFbsBitmap * | aMain, |
const CFbsBitmap * | aMask = NULL, | |||
TWhichComponent | aWhich = EFirst | |||
) |
Sets the bitmap and optional mask for the button
const CFbsBitmap * aMain | The bitmap to use |
const CFbsBitmap * aMask = NULL | The mask. If null, then no mask will be used |
TWhichComponent aWhich = EFirst | The component for which the picture is to be set. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.