CSpriteAnim Class Reference

#include <w32adll.h>

Link against: peninputlayoutcontrol.lib

class CSpriteAnim : public CAnim

Inherits from

Detailed 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.

See also: CFreeTimerWindowAnim CWindowAnim

Member Attribute Documentation

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.

Constructor & Destructor Documentation

CSpriteAnim ( )

CSpriteAnim()[protected, inline]

Protected constructor.

Ensures that only derived classes can be constructed.

Member Function Documentation

ConstructL ( TAny * )

voidConstructL(TAny *aArgs)[pure virtual]

Server side construction and initialisation of an animation class.

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