CFsBitmapProvider Class Reference

class CFsBitmapProvider : public CBase

Inherits from

Constructor & Destructor Documentation

CFsBitmapProvider(const TInt)

CFsBitmapProvider ( const TInt aId ) [private]

C++ Constructor

Parameters

const TInt aId Provider identifier

~CFsBitmapProvider()

~CFsBitmapProvider ( ) [virtual]

Member Functions Documentation

ConstructL(const CFbsBitmap *, const CFbsBitmap *)

void ConstructL ( 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 TInt aId
) [static]

Parameters

const CFbsBitmap * aBitmap
const CFbsBitmap * aBitmapMask
const TInt aId

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

void ProvideBitmapL ( TInt aId,
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 aId TextureManager id of this bitmap, may be used for extracting an icon resource.
CFbsBitmap *& aBitmap Output 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 *& aMaskBitmap Output 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 TInt iId [private]

Identifier