CSpriteAnim Class Reference

class CSpriteAnim : public CAnim

Sprite animation interface.

Sprites are bitmaps that can overlay a window or the screen. A sprite animation can be provided by deriving from this class.

The interface inherits from CAnim and has access to its functions. It additionally can access an interface for querying and manipulating a sprite, using its iSpriteFunctions member.

The derived class is constructed in the DLL factory class CAnimDll::CreateInstanceL() function.

CFreeTimerWindowAnim CWindowAnim

Inherits from

Constructor & Destructor Documentation

CSpriteAnim()

CSpriteAnim()[protected, inline]

Protected constructor.

Ensures that only derived classes can be constructed.

Member Functions Documentation

ConstructL(TAny *)

voidConstructL(TAny *aArgs)[pure virtual]

Server side construction and initialisation of an animation class.

Parameters

TAny * aArgsPackaged arguments which may be required during construction. These are transferred from the aParams argument of the client side constructor's RAnim::Construct().

ReservedS1()

voidReservedS1()const [private, inline, virtual]

ReservedS2()

voidReservedS2()const [private, inline, virtual]

Member Data Documentation

MAnimSpriteFunctions * iSpriteFunctions

MAnimSpriteFunctions *iSpriteFunctions[protected]

Pointer to a class containing functions implemented by the window server.

These are available to any CSpriteAnim-derived class.

Note that this value is automatically set for you by the animation framework. You do not need to assign a value to this pointer.