CFsTexture Class Reference

class CFsTexture : public CBase

Inherits from

Constructor & Destructor Documentation

CFsTexture(CAlfTexture &, MFsTextureLoaderObserver &, CFsBitmapProvider *, const TInt)

CFsTexture(CAlfTexture &aTexture,
MFsTextureLoaderObserver &aObserver,
CFsBitmapProvider *aProvider,
const TIntaId
)[private]

C++ constructor

Parameters

CAlfTexture & aTexture
MFsTextureLoaderObserver & aObserverObserver reference
CFsBitmapProvider * aProvider(Optional) Bitmap provider
const TInt aIdUnique id

~CFsTexture()

~CFsTexture()

C++ Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

2nd phase constructor

Id()

TInt Id()const

Return unique id of texture

NewL(CAlfTexture &, MFsTextureLoaderObserver &, CFsBitmapProvider *, const TInt)

CFsTexture *NewL(CAlfTexture &aTexture,
MFsTextureLoaderObserver &aObserver,
CFsBitmapProvider *aProvider,
const TIntaId
)[static]

2-phased constructor

Parameters

CAlfTexture & aTexture
MFsTextureLoaderObserver & aObserverObserver reference
CFsBitmapProvider * aProvider(Optional) Bitmap provider
const TInt aIdUnique id

Pos()

TInt Pos()const

Return position of texture

Provider()

CFsBitmapProvider *Provider()

Return address of provider

SetPos(const TInt &)

voidSetPos(const TInt &aPos)

Set position

Parameters

const TInt & aPosNew position

SetTextFlags(const TInt &)

voidSetTextFlags(const TInt &aFlags)

Set flag status New staus

Parameters

const TInt & aFlags

SetTextSize(const TSize &)

voidSetTextSize(const TSize &aSize)

Overwrite default size

Parameters

const TSize & aSizeNew size

StopTimer()

voidStopTimer()[private]

Stop timer

TextFlags()

TInt TextFlags()const

Return current flag status

TextSize()

TSize TextSize()const

Return internal size of texture

Texture()

CAlfTexture &Texture()

Return reference of Alf/Hitchock texture

TimerExpiredL()

voidTimerExpiredL()

Timer callback

UnloadL(const TBool &)

voidUnloadL(const TBool &aCancel)

Unload bitmap, or cancel unload

Parameters

const TBool & aCancel

Member Enumerations Documentation

Enum anonymous

Enumerators

EFlagNoneDefined
EFlagStatic = 1 << 1
EFlagPreserveProvider = 1 << 2

Member Data Documentation

const TInt iId

const TIntiId[private]

Texture id

MFsTextureLoaderObserver & iObserver

MFsTextureLoaderObserver &iObserver[private]

Observer reference

TInt iPos

TInt iPos[private]

Texture position

CFsBitmapProvider * iProvider

CFsBitmapProvider *iProvider[private]

Owns:

TInt iTextFlags

TInt iTextFlags[private]

Internal flags

TSize iTextSize

TSize iTextSize[private]

Internal text size, not related to texture size

CAlfTexture & iTexture

CAlfTexture &iTexture[private]

Texture reference

CPeriodic * iUnloadTimer

CPeriodic *iUnloadTimer[private]

Owns: