CFsBitmapProvider Class Reference

class CFsBitmapProvider : public CBase

Inherits from

Constructor & Destructor Documentation

CFsBitmapProvider(const TInt)

CFsBitmapProvider(const TIntaId)[private]

C++ Constructor

Parameters

const TInt aIdProvider identifier

~CFsBitmapProvider()

~CFsBitmapProvider()[virtual]

Member Functions Documentation

ConstructL(const CFbsBitmap *, const CFbsBitmap *)

voidConstructL(const CFbsBitmap *aBitmap,
const CFbsBitmap *aBitmapMask
)[private]

Symbian 2nd-phase constructor

Parameters

const CFbsBitmap * aBitmap
const CFbsBitmap * aBitmapMask

Id()

TInt Id()const

NewL(const CFbsBitmap *, const CFbsBitmap *, const TInt)

CFsBitmapProvider *NewL(const CFbsBitmap *aBitmap,
const CFbsBitmap *aBitmapMask,
const TIntaId
)[static]

Parameters

const CFbsBitmap * aBitmap
const CFbsBitmap * aBitmapMask
const TInt aId

ProvideBitmapL(TInt, CFbsBitmap *&, CFbsBitmap *&)

voidProvideBitmapL(TIntaId,
CFbsBitmap *&aBitmap,
CFbsBitmap *&aMaskBitmap
)[private, virtual]

Provide a bitmap and mask from the given UID. This method should create a bitmap and its mask, usually by loading it from disk.

CHuiTextureManager::CreateTextureL()

Parameters

TInt aIdTextureManager id of this bitmap, may be used for extracting an icon resource.
CFbsBitmap *& aBitmapOutput parameter for the provider: On return, has to store a pointer to the generated bitmap. Ownership transferred to caller. The support for input CFbsBitmap formats varies between different renderers. See cfbsbitmapsupport Table describing renderer bitmap support.
CFbsBitmap *& aMaskBitmapOutput parameter for the provider: On return, has to store a pointer to the generated alpha mask or NULL if there is no mask. Ownership of the bitmap is transferred to the caller.

Member Data Documentation

CFbsBitmap * iBitmap

CFbsBitmap *iBitmap[private]

Owns:

CFbsBitmap * iBitmapMask

CFbsBitmap *iBitmapMask[private]

Owns:

const TInt iId

const TIntiId[private]

Identifier