![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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 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.
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()const
WindowFunctions()
Gets the free timer utility functions.Inherited from CAnim
:
Animate(TDateTime *)
Main animation function, called by the window server.Command(TInt,TAny *)
Implements client-side initiated commands.CommandReplyL(TInt,TAny *)
Implements client-side initiated commands, returning a value.HandleNotification(const TWsEvent &)
iFunctions
Pointer to a class containing functions implemented by the window server.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CWindowAnim
:
ConstructL(TAny *,TBool)
Server side construction and initialisation of an animation class.FocusChanged(TBool)
Notifies change of focus.Redraw()
Redraws the objects.iGc
Pointer to the graphics context. iWindowFunctions
Pointer to a class containing functions implemented by the window server.Inherited from MEventHandler
:
OfferRawEvent(const TRawEvent &)
Handles raw events.CSpriteAnim
Sprite animation interface.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;