epoc32/include/animationconfig.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/animationconfig.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/animationconfig.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,51 @@
     1.4 -animationconfig.h
     1.5 +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +
    1.20 +#ifndef __ANIMATIONCONFIG_H__
    1.21 +#define __ANIMATIONCONFIG_H__
    1.22 +
    1.23 +struct TAnimationConfig
    1.24 +/** These are passed to animator objects when an animation is started and
    1.25 +provide some control over the manner in which the animation runs.
    1.26 +@publishedAll
    1.27 +@released*/
    1.28 +	{
    1.29 +	enum TFlags
    1.30 +	/** Flag values used by animator objects when an animation is started that
    1.31 +	provide some control over the manner in which the animation runs. 
    1.32 +
    1.33 +	@publishedAll
    1.34 +	@released */
    1.35 + 		{
    1.36 +		/** If set, interpret the iData member as the number of times the
    1.37 +		animation should run before automatically stopping itself.*/
    1.38 +		ELoop				= 0x0001,
    1.39 +		/** If set, the animation will start as soon as it can.  By default,
    1.40 +		animations wait for the data to be completely loaded before starting.*/
    1.41 +		EStartImmediately	= 0x0010,
    1.42 +		/** If set, and ELoop is set, interpret the iData member as a number
    1.43 +		of frames to run through, instead of complete cycles.*/
    1.44 +		ECountFrames		= 0x0020,
    1.45 +		/** By default animations which stop after a number of loops return
    1.46 +		to the first frame.  If this flag is set they stop on the last frame.*/
    1.47 +		EEndOnLastFrame 	= 0x0040,
    1.48 +		};
    1.49 +	/** Set this to a combination of the values in TFlags.*/
    1.50 +	TInt iFlags;
    1.51 +	/** The meaning of this item depends on the value of the iFlags member.*/
    1.52 +	TInt iData;
    1.53 +	};
    1.54 +
    1.55 +#endif //__ANIMATIONCONFIG_H__