Location:
gulicon.h
Link against: egul.lib
CGulIcon
Supported from 6.0
Packages two bitmaps, one each for an icon image and its mask.
|
Defined in CGulIcon
:
Bitmap()
, BitmapsOwnedExternally()
, Mask()
, NewL()
, NewLC()
, SetBitmap()
, SetBitmapsOwnedExternally()
, SetMask()
, ~CGulIcon()
Inherited from CBase
:
operator new()
static CGulIcon* NewLC();
Creates a new icon and leaves it on the cleanup stack.
|
static CGulIcon* NewL(CFbsBitmap* aBitmap, CFbsBitmap* aMask=NULL);
Creates a new icon using the bitmap and mask.
It takes ownership of the bitmap and mask and returns a pointer to the object.
|
|
void SetBitmap(CFbsBitmap* aBitmap);
Sets the icon image’s bitmap.
Transfers ownership unless bitmaps are set to be owned externally.
|
void SetMask(CFbsBitmap* aMask);
Sets the icon image’s mask.
The mask can be set to be identical to the bitmap if the bitmap is self-masking.
|
CFbsBitmap* Bitmap() const;
Gets the icon image's bitmap.
Does not normally imply transfer of ownership. Ownership can be taken if bitmaps are set to be owned externally.
|
CFbsBitmap* Mask() const;
Gets the icon image's mask.
|
void SetBitmapsOwnedExternally(TBool aOwnedExternally);
Sets the bitmap and mask to be owned externally.
|
TBool BitmapsOwnedExternally() const;
Gets the icon bitmap ownership.
|