Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <W32ADLL.H>

Class CFreeTimerWindowAnim

class CFreeTimerWindowAnim : public CWindowAnim;

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 CAnim::Animate(TDateTime *) 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 CFreeTimerWindowAnim::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

Members

Defined in CFreeTimerWindowAnim:

Inherited from CAnim:

Inherited from CBase:

Inherited from CWindowAnim:

Inherited from MEventHandler:

See also:


Member functions


WindowFunctions()

protected: inline MAnimFreeTimerWindowFunctions* WindowFunctions();

Description

Gets the 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.


ReservedF1()const

private: inline virtual void ReservedF1() const;

Description