Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: w32adll.h
Link against: N/A

Class CFreeTimerWindowAnim

CFreeTimerWindowAnim

Support

Supported from 5.1

Description

Free timer animation interface. This interface allows animations to have their own timers or other active objects, and to draw to the window when the timer completes. The implication of this is that animations derived from this class can have an extremely short user-defined time between calls to the Animate() function — unlike the other animation classes, which are tied to the (approximately) half second flash cycle.

The interface inherits from CWindowAnim and has access to its functions. It additionally can access functions declared in the MAnimFreeTimerWindowFunctions interface, using WindowFunctions().

In order to draw to the window inside the RunL() of your own timer, you will need call the ActivateGC() function before doing any drawing, and the DeactivateGC() function after finishing the drawing.

Derivation

CAnimServer side animated object base interface
CBaseBase class for all classes to be instantiated on the heap
CFreeTimerWindowAnimFree timer animation interface
CWindowAnimWindow animation interface
MEventHandlerEvent handler interface

Defined in CFreeTimerWindowAnim:
WindowFunctions()

Inherited from CAnim:
Animate(), Command(), CommandReplyL(), iFunctions

Inherited from CBase:
operator new()

Inherited from CWindowAnim:
*iWindowFunctions, ConstructL(), FocusChanged(), Redraw(), iGc

Inherited from MEventHandler:
OfferRawEvent()

See also:


Protected member functions


WindowFunctions()

protected: inline MAnimFreeTimerWindowFunctions* WindowFunctions();

Description

Gets free timer utility functions. These functions include all the MAnimWindowFunctions, and additional functions to deactivate the graphics context and to force the screen to update.

Return value

MAnimFreeTimerWindowFunctions*

A pointer to the free timer utility functions.