Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <W32ADLL.H>

Class CSpriteAnim

class CSpriteAnim : public CAnim;

Description

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(TInt) function.

Derivation

Members

Defined in CSpriteAnim:

Inherited from CAnim:

Inherited from CBase:

Inherited from MEventHandler:

See also:


Construction and destruction


ConstructL(TAny *)

virtual void ConstructL(TAny *aArgs)=0;

Description

Server side construction and initialisation of an animation class.

Parameters

TAny *aArgs

Packaged arguments which may be required during construction. These are transferred from the aParams argument of the client side constructor's RAnim::Construct(const RWindowBase &,TInt,const TDesC8 &).


CSpriteAnim()

protected: inline CSpriteAnim();

Description

Protected constructor.

Ensures that only derived classes can be constructed.

[Top]


Member functions


ReservedS1()const

private: inline virtual void ReservedS1() const;

Description


ReservedS2()const

private: inline virtual void ReservedS2() const;

Description

[Top]


Member data


iSpriteFunctions

protected: MAnimSpriteFunctions * iSpriteFunctions;

Description

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.