Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



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

Derivation

Members

Defined in CSpriteAnim:
CSpriteAnim(), ConstructL(), ReservedS1(), ReservedS2(), iSpriteFunctions

Inherited from CAnim:
Animate(), Command(), CommandReplyL(), HandleNotification(), Reserved1(), Reserved2(), Reserved3(), iFunctions

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from MEventHandler:
OfferRawEvent()

See also:


Construction and destruction


ConstructL()

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


CSpriteAnim()

protected: inline CSpriteAnim();

Description

Protected constructor.

Ensures that only derived classes can be constructed.

[Top]


Member functions


ReservedS1()

private: inline virtual void ReservedS1() const;

Description


ReservedS2()

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.