CHuiAnimatedTexture Class Reference

class CHuiAnimatedTexture : public CBase

Animated textures are informed of the progress of time. Before a display refresh occurs, the texture manager will tell all animated textures to update themselves.

CHuiAnimatedTexture can be used as a base class for application-specific animated texture classes.

Inherits from

Constructor & Destructor Documentation

CHuiAnimatedTexture(CHuiTextureManager &)

IMPORT_CCHuiAnimatedTexture(CHuiTextureManager &aManager)[protected]

Default constructor.

Parameters

CHuiTextureManager & aManager

~CHuiAnimatedTexture()

IMPORT_C~CHuiAnimatedTexture()

Destructor.

Member Functions Documentation

AdvanceTime(TReal32)

voidAdvanceTime(TReal32aElapsedTime)[pure virtual]

Called to update the texture when time progresses.

Parameters

TReal32 aElapsedTime

BaseConstructL()

IMPORT_C voidBaseConstructL()[protected]

Second-phase constructor.

HasContent()

IMPORT_C TBoolHasContent()const

SegmentCount()

IMPORT_C TIntSegmentCount()const

SegmentName(TInt)

IMPORT_C TUintSegmentName(TIntaSegment)const

Parameters

TInt aSegment

SegmentOffset(TInt)

IMPORT_C TPointSegmentOffset(TIntaSegment)const

Parameters

TInt aSegment

SegmentSize(TInt)

IMPORT_C TSizeSegmentSize(TIntaSegment)const

Parameters

TInt aSegment

SegmentTextureSize(TInt)

IMPORT_C TSizeSegmentTextureSize(TIntaSegment)const

Parameters

TInt aSegment

SegmentedTexture()

IMPORT_C MHuiSegmentedTexture *SegmentedTexture()

SegmentedTexture()

IMPORT_C const MHuiSegmentedTexture *SegmentedTexture()const

ShadowedTexture()

IMPORT_C MHuiShadowedTexture *ShadowedTexture()

ShadowedTexture()

IMPORT_C const MHuiShadowedTexture *ShadowedTexture()const

Size()

IMPORT_C TSizeSize()const

Texture()

IMPORT_C CHuiTexture &Texture()

Returns the texture object associated with this animated texture.

TextureChanged()

IMPORT_C TBoolTextureChanged()const

TextureClearChanged()

IMPORT_C voidTextureClearChanged()const

TextureExtension(const TUid &, TAny **)

IMPORT_C voidTextureExtension(const TUid &aExtensionUid,
TAny **aExtensionParameters
)[protected]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParameters

Member Data Documentation

CHuiTextureManager & iManager

CHuiTextureManager &iManager[protected]

Texture manager who owns this texture.

TAny * iSpare

TAny *iSpare[private]

CHuiTexture * iTexture

CHuiTexture *iTexture[protected]

Contents of the animated texture.