Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <APGICNFL.H>
Link against: apgrfx.lib

Class CApaMaskedBitmap

class CApaMaskedBitmap : public CFbsBitmap;

Description

An application icon.

This is a bitmap and a mask, managed by the Font and Bitmap server.

An object of this type is passed to RApaLsSession::GetAppIcon(TUid,TInt,CApaMaskedBitmap &)const to fetch a suitable application icon.

Derivation

Members

Defined in CApaMaskedBitmap:

Inherited from CBase:

Inherited from CFbsBitmap:

See also:


Construction and destruction


NewLC()

IMPORT_C static CApaMaskedBitmap* NewLC();

Description

Creates a default application icon object.

Return value

CApaMaskedBitmap *

A pointer to the new application icon object.


NewL(const CApaMaskedBitmap *)

IMPORT_C static CApaMaskedBitmap* NewL(const CApaMaskedBitmap *aSourceIcon);

Description

Creates a new application icon object, making a duplicate copy of an existing application icon.

Parameters

const CApaMaskedBitmap *aSourceIcon

A pointer to an existing application icon.

Return value

CApaMaskedBitmap *

A pointer to the new application icon object.


~CApaMaskedBitmap()

IMPORT_C ~CApaMaskedBitmap();

Description

Destructor.

Frees resources owned by the object prior to its destruction.

[Top]


Member functions


Mask()const

IMPORT_C CFbsBitmap* Mask() const;

Description

Gets the icon's mask.

Return value

CFbsBitmap *

A pointer to the mask bitmap.


InternalizeL(RReadStream &)

IMPORT_C void InternalizeL(RReadStream &aStream);

Description

Internalizes the application icon from the read stream.

Parameters

RReadStream &aStream

The read stream.


ExternalizeL(RWriteStream &)const

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises the application icon to the specified stream.

Parameters

RWriteStream &aStream

The write stream.


SetMaskBitmap(CFbsBitmap *)

IMPORT_C void SetMaskBitmap(CFbsBitmap *aMask);

Description

Sets the icon's mask

Parameters

CFbsBitmap *aMask

A pointer to the mask bitmap