williamr@2: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: #ifndef __ANIMATIONCONFIG_H__ williamr@2: #define __ANIMATIONCONFIG_H__ williamr@2: williamr@2: struct TAnimationConfig williamr@2: /** These are passed to animator objects when an animation is started and williamr@2: provide some control over the manner in which the animation runs. williamr@2: @publishedAll williamr@2: @released*/ williamr@2: { williamr@2: enum TFlags williamr@2: /** Flag values used by animator objects when an animation is started that williamr@2: provide some control over the manner in which the animation runs. williamr@2: williamr@2: @publishedAll williamr@2: @released */ williamr@2: { williamr@2: /** If set, interpret the iData member as the number of times the williamr@2: animation should run before automatically stopping itself.*/ williamr@2: ELoop = 0x0001, williamr@2: /** If set, the animation will start as soon as it can. By default, williamr@2: animations wait for the data to be completely loaded before starting.*/ williamr@2: EStartImmediately = 0x0010, williamr@2: /** If set, and ELoop is set, interpret the iData member as a number williamr@2: of frames to run through, instead of complete cycles.*/ williamr@2: ECountFrames = 0x0020, williamr@2: /** By default animations which stop after a number of loops return williamr@2: to the first frame. If this flag is set they stop on the last frame.*/ williamr@2: EEndOnLastFrame = 0x0040, williamr@2: }; williamr@2: /** Set this to a combination of the values in TFlags.*/ williamr@2: TInt iFlags; williamr@2: /** The meaning of this item depends on the value of the iFlags member.*/ williamr@2: TInt iData; williamr@2: }; williamr@2: williamr@2: #endif //__ANIMATIONCONFIG_H__