1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __ANIMATIONCONFIG_H__
17 #define __ANIMATIONCONFIG_H__
19 struct TAnimationConfig
20 /** These are passed to animator objects when an animation is started and
21 provide some control over the manner in which the animation runs.
26 /** Flag values used by animator objects when an animation is started that
27 provide some control over the manner in which the animation runs.
32 /** If set, interpret the iData member as the number of times the
33 animation should run before automatically stopping itself.*/
35 /** If set, the animation will start as soon as it can. By default,
36 animations wait for the data to be completely loaded before starting.*/
37 EStartImmediately = 0x0010,
38 /** If set, and ELoop is set, interpret the iData member as a number
39 of frames to run through, instead of complete cycles.*/
40 ECountFrames = 0x0020,
41 /** By default animations which stop after a number of loops return
42 to the first frame. If this flag is set they stop on the last frame.*/
43 EEndOnLastFrame = 0x0040,
45 /** Set this to a combination of the values in TFlags.*/
47 /** The meaning of this item depends on the value of the iFlags member.*/
51 #endif //__ANIMATIONCONFIG_H__