Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: apgicnfl.h
Link against: apgrfx.lib

Class CApaMaskedBitmap

CApaMaskedBitmap

Support

Supported from 5.0

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() to fetch a suitable application icon.

Derivation

CApaMaskedBitmapAn application icon
CBaseBase class for all classes to be instantiated on the heap
CFbsBitmapA bitmap managed by the font and bitmap server

Defined in CApaMaskedBitmap:
ExternalizeL(), InternalizeL(), Mask(), NewL(), NewLC(), ~CApaMaskedBitmap()

Inherited from CBase:
operator new()

Inherited from CFbsBitmap:
Create(), DataAddress(), DisplayMode(), Duplicate(), ExternalizeRectangleL(), GetPalette(), GetPixel(), GetScanLine(), GetVerticalScanLine(), Handle(), Header(), HorizontalPixelsToTwips(), HorizontalTwipsToPixels(), IsFileInRom(), IsLargeBitmap(), IsMonochrome(), IsRomBitmap(), Load(), PaletteAttributes(), Reset(), Resize(), Save(), ScanLineLength(), SetPalette(), SetScanLine(), SetSizeInTwips(), SizeInPixels(), SizeInTwips(), StoreL(), VerticalPixelsToTwips(), VerticalTwipsToPixels()

See also:


Construction and destruction


NewL()

static CApaMaskedBitmap* NewL(CApaMaskedBitmap* aSourceIcon);

Description

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

Parameters

CApaMaskedBitmap* aSourceIcon

A pointer to an existing application icon.

Return value

CApaMaskedBitmap*

A pointer to the new application icon object.


NewLC()

static CApaMaskedBitmap* NewLC();

Description

Creates a default application icon object.

Return value

CApaMaskedBitmap*

A pointer to the new application icon object.


~CApaMaskedBitmap()

~CApaMaskedBitmap();

Description

Destructor.

Frees resources owned by the object prior to its destruction.

[Top]


Stream persistence


ExternalizeL()

void ExternalizeL(RWriteStream& aStream) const;

Description

Externalises the application icon to the specified stream.

Parameters

RWriteStream& aStream

The write stream.


InternalizeL()

void InternalizeL(RReadStream& aStream);

Description

Internalizes the application icon from the read stream.

Parameters

RReadStream& aStream

The read stream.

[Top]


Accessors and information


Mask()

CFbsBitmap* Mask() const;

Description

Gets the icon's mask.

Return value

CFbsBitmap*

A pointer to the mask bitmap.