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 TInt aId
) [private]

C++ constructor

Parameters

CAlfTexture & aTexture
MFsTextureLoaderObserver & aObserver Observer reference
CFsBitmapProvider * aProvider (Optional) Bitmap provider
const TInt aId Unique id

~CFsTexture()

~CFsTexture ( )

C++ Destructor

Member Functions Documentation

ConstructL()

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

2-phased constructor

Parameters

CAlfTexture & aTexture
MFsTextureLoaderObserver & aObserver Observer reference
CFsBitmapProvider * aProvider (Optional) Bitmap provider
const TInt aId Unique id

Pos()

TInt Pos ( ) const

Return position of texture

Provider()

CFsBitmapProvider * Provider ( )

Return address of provider

SetPos(const TInt &)

void SetPos ( const TInt & aPos )

Set position

Parameters

const TInt & aPos New position

SetTextFlags(const TInt &)

void SetTextFlags ( const TInt & aFlags )

Set flag status New staus

Parameters

const TInt & aFlags

SetTextSize(const TSize &)

void SetTextSize ( const TSize & aSize )

Overwrite default size

Parameters

const TSize & aSize New size

StopTimer()

void StopTimer ( ) [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()

void TimerExpiredL ( )

Timer callback

UnloadL(const TBool &)

void UnloadL ( 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 TInt iId [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: