Two bitmaps can be packaged, one for the image itself and, optionally, another for the image’s mask.
|
Public Member Functions |
IMPORT_C | CEikImage () |
| C++ default constructor.
|
IMPORT_C | ~CEikImage () |
| Destructor.
|
IMPORT_C TSize | MinimumSize () |
| Gets the minimum size required to draw the image.
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
| Constructs an image from resource using the specified resource reader.
|
IMPORT_C void | CreatePictureFromFileL (const TDesC &aFilename, TInt aMainId, TInt aMaskId=-1) |
| Creates a bitmap and a mask for an icon.
|
IMPORT_C void | SetPicture (const CFbsBitmap *aBitmap, const CFbsBitmap *aMaskBitmap=NULL) |
| Sets picture parameters.
|
IMPORT_C void | SetEmphasis (TBool aEmphasis) |
| Sets emphasis.
|
IMPORT_C void | SetPictureOwnedExternally (TBool aOwnership) |
| Sets the owner of the picture.
|
IMPORT_C const CFbsBitmap * | Bitmap () const |
| Gets a pointer of CFbsBitmap object.
|
IMPORT_C const CFbsBitmap * | Mask () const |
| Gets pointer of CFbsBitmap object.
|
IMPORT_C void | SetBitmap (const CFbsBitmap *aBitmap) |
| Sets new bitmap.
|
IMPORT_C void | SetMask (const CFbsBitmap *aMaskBitmap) |
| Sets new bitmap mask.
|
IMPORT_C void | SetNewBitmaps (const CFbsBitmap *aNewBitmap, const CFbsBitmap *aNewMask) |
| Sets new bitmap and bitmap's mask.
|
IMPORT_C TBool | IsPictureOwnedExternally () |
| Checks whether picture is owned externally.
|
IMPORT_C void | SetBrushStyle (CGraphicsContext::TBrushStyle aBrushStyle) |
| Sets the brush style.
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
| From CCoeControl .
|
Protected Member Functions |
IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
| From CCoeControl .
|