Location:
W32ADLL.H
class CFreeTimerWindowAnim : public CWindowAnim;
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.
MEventHandler
- Event handler interface
CBase
- Base class for all classes to be instantiated on the heap
CAnim
- Server side animated object base interface
CWindowAnim
- Window animation interface
CFreeTimerWindowAnim
- Free timer animation interface
Defined in CFreeTimerWindowAnim
:
ReservedF1()
, WindowFunctions()
Inherited from CAnim
:
Animate()
,
Command()
,
CommandReplyL()
,
HandleNotification()
,
Reserved1()
,
Reserved2()
,
Reserved3()
,
iFunctions
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CWindowAnim
:
ConstructL()
,
FocusChanged()
,
Redraw()
,
ReservedW1()
,
ReservedW2()
,
iGc
,
iWindowFunctions
Inherited from MEventHandler
:
OfferRawEvent()
protected: inline MAnimFreeTimerWindowFunctions *WindowFunctions();
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.
|
private: inline virtual void ReservedF1() const;