If a second picture is set for the button it is shown when the button is pressed.
|
Public Types |
enum | TLayout { ETextRightPictureLeft = 0x000,
ETextBottomPictureTop = 0x001,
ETextTopPictureBottom = 0x002,
ETextLeftPictureRight = 0x003
} |
| Layout options for the Two Picture botton. More...
|
enum | TExcess { EShare = 0x0000,
EToText = 0x0010,
EToPicture = 0x0020
} |
| Where to put the excess space when laying out the bitmaps or text. More...
|
enum | TDisplayContent { ETextOnly = 0x0100,
EPictureOnly = 0x0200,
ETextAndPicture = 0x0300
} |
| Content to display for the text. More...
|
Public Member Functions |
IMPORT_C | CEikTwoPictureCommandButton () |
| Two picture command button constructor.
|
IMPORT_C | ~CEikTwoPictureCommandButton () |
| Two picture command button C++ destructor.
|
IMPORT_C TBool | IsSecondPictureOwnedExternally () |
| Accesses ownership of the second picture' bitmap and mask (if present).
|
IMPORT_C CEikImage * | Picture () const |
| Access the picture image.
|
IMPORT_C void | ConstructImagesFromResourceL (TResourceReader &aReader, TWhichComponent aWhich) |
| Constructs the two images from resource.
|
IMPORT_C void | SetTextL (const TDesC &aText) |
| Sets the label text on the button.
|
IMPORT_C void | SetTwoPicturesL (const CFbsBitmap *aMain, const CFbsBitmap *aMask=NULL, const CFbsBitmap *aSecondMain=NULL, const CFbsBitmap *aSecondMask=NULL) |
| Sets the bitmap and optional mask for the button's two pictures.
|
IMPORT_C void | SetSecondPicture (const CFbsBitmap *aSecondMain, const CFbsBitmap *aSecondMask=NULL) |
| Sets the bitmap and optional mask for the button's second picture.
|
IMPORT_C void | SetPictureFromFileL (const TDesC &aFilename, TInt aMain, TInt aMask=-1) |
| Sets the bitmap and optional mask for the first picture from an mbm file.
|
IMPORT_C void | SetSecondPictureFromFileL (const TDesC &aFilename, TInt aMain, TInt aMask=-1) |
| Sets the bitmap and optional mask for the second picture from an mbm file.
|
IMPORT_C void | SetSecondPictureOwnedExternally (TBool aOwnership) |
| Sets the ownership of the second picture object.
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
| From CCoeControl.
|
IMPORT_C void | ActivateL () |
| From CCoeControl.
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
| From CCoeControl.
|
Protected Member Functions |
IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
| From CCoeControl.
|