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_C CHuiAnimatedTexture ( CHuiTextureManager & aManager ) [protected]

Default constructor.

Parameters

CHuiTextureManager & aManager

~CHuiAnimatedTexture()

IMPORT_C ~CHuiAnimatedTexture ( )

Destructor.

Member Functions Documentation

AdvanceTime(TReal32)

void AdvanceTime ( TReal32 aElapsedTime ) [pure virtual]

Called to update the texture when time progresses.

Parameters

TReal32 aElapsedTime

BaseConstructL()

IMPORT_C void BaseConstructL ( ) [protected]

Second-phase constructor.

HasContent()

IMPORT_C TBool HasContent ( ) const

SegmentCount()

IMPORT_C TInt SegmentCount ( ) const

SegmentName(TInt)

IMPORT_C TUint SegmentName ( TInt aSegment ) const

Parameters

TInt aSegment

SegmentOffset(TInt)

IMPORT_C TPoint SegmentOffset ( TInt aSegment ) const

Parameters

TInt aSegment

SegmentSize(TInt)

IMPORT_C TSize SegmentSize ( TInt aSegment ) const

Parameters

TInt aSegment

SegmentTextureSize(TInt)

IMPORT_C TSize SegmentTextureSize ( TInt aSegment ) 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 TSize Size ( ) const

Texture()

IMPORT_C CHuiTexture & Texture ( )

Returns the texture object associated with this animated texture.

TextureChanged()

IMPORT_C TBool TextureChanged ( ) const

TextureClearChanged()

IMPORT_C void TextureClearChanged ( ) const

TextureExtension(const TUid &, TAny **)

IMPORT_C void TextureExtension ( 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.