#include <mw/animationgroup.h>
Link against: animation.lib
class CAnimationGroup : public CAnimation, public CAnimation |
Public Member Functions | |
---|---|
~CAnimationGroup() | |
IMPORT_C const RPointerArray< CAnimation > & | Animations() |
IMPORT_C RPointerArray< CAnimation > & | Animations() |
virtual void | Freeze() |
virtual void | Hold() |
CAnimationGroup * | NewL() |
virtual void | Pause() |
virtual void | Resume() |
virtual void | SetPosition(const TPoint &) |
virtual void | Start(const TAnimationConfig &) |
virtual void | Stop() |
virtual void | Unfreeze() |
virtual void | Unhold() |
Protected Member Functions | |
---|---|
virtual IMPORT_C void | CAnimationGroup_Reserved1() |
virtual IMPORT_C void | CAnimationGroup_Reserved2() |
Handles groups of other animations.
When it is appropriate to have several animations starting and stopping together, add them all to an animation group and control them through that.
In addition to making the code easier to both read and write, the animation group handles synchronisation issues which can occur when issuing a sequence of asynchronous requests.
Care must be taken to remove an animation from any groups it may have been added to before deleting it.
IMPORT_C const RPointerArray< CAnimation > & | Animations | ( | ) | const |
Returns a reference to the array of animations being grouped.
It is intended for animations to be added to and removed from this array directly.
IMPORT_C RPointerArray< CAnimation > & | Animations | ( | ) |
Returns a reference to the array of animations being grouped.
It is intended for animations to be added to and removed from this array directly.
IMPORT_C void | CAnimationGroup_Reserved1 | ( | ) | [protected, virtual] |
Reserved for future use
IMPORT_C void | CAnimationGroup_Reserved2 | ( | ) | [protected, virtual] |
Reserved for future use
CAnimationGroup * | NewL | ( | ) | [static] |
Two stage constructor.
Creates an empty animation group.
void | SetPosition | ( | const TPoint & | aPoint | ) | [virtual] |
Reimplemented from CAnimation::SetPosition(const TPoint &)
Set the position of all the animations.
Note that this will cause all the animations to be in the same place, which is unlikely to be a desired effect. It is implemented here for completeness.
Parameters | |
---|---|
aPoint | The new location of the top left corner of the animation, relative to the window in which it is to be drawn |
void | Start | ( | const TAnimationConfig & | aConfig | ) | [virtual] |
Reimplemented from CAnimation::Start(const TAnimationConfig &)
Starts all of the animations.
Parameters | |
---|---|
aConfig | Specifies run time attributes of the animation |