epoc32/include/mw/animationconfig.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/animationconfig.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@2
     4
// 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
     5
// which accompanies this distribution, and is available
williamr@2
     6
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
//
williamr@2
    15
williamr@2
    16
#ifndef __ANIMATIONCONFIG_H__
williamr@2
    17
#define __ANIMATIONCONFIG_H__
williamr@2
    18
williamr@2
    19
struct TAnimationConfig
williamr@2
    20
/** These are passed to animator objects when an animation is started and
williamr@2
    21
provide some control over the manner in which the animation runs.
williamr@2
    22
@publishedAll
williamr@2
    23
@released*/
williamr@2
    24
	{
williamr@2
    25
	enum TFlags
williamr@2
    26
	/** Flag values used by animator objects when an animation is started that
williamr@2
    27
	provide some control over the manner in which the animation runs. 
williamr@2
    28
williamr@2
    29
	@publishedAll
williamr@2
    30
	@released */
williamr@2
    31
 		{
williamr@2
    32
		/** If set, interpret the iData member as the number of times the
williamr@2
    33
		animation should run before automatically stopping itself.*/
williamr@2
    34
		ELoop				= 0x0001,
williamr@2
    35
		/** If set, the animation will start as soon as it can.  By default,
williamr@2
    36
		animations wait for the data to be completely loaded before starting.*/
williamr@2
    37
		EStartImmediately	= 0x0010,
williamr@2
    38
		/** If set, and ELoop is set, interpret the iData member as a number
williamr@2
    39
		of frames to run through, instead of complete cycles.*/
williamr@2
    40
		ECountFrames		= 0x0020,
williamr@2
    41
		/** By default animations which stop after a number of loops return
williamr@2
    42
		to the first frame.  If this flag is set they stop on the last frame.*/
williamr@2
    43
		EEndOnLastFrame 	= 0x0040,
williamr@2
    44
		};
williamr@2
    45
	/** Set this to a combination of the values in TFlags.*/
williamr@2
    46
	TInt iFlags;
williamr@2
    47
	/** The meaning of this item depends on the value of the iFlags member.*/
williamr@2
    48
	TInt iData;
williamr@2
    49
	};
williamr@2
    50
williamr@2
    51
#endif //__ANIMATIONCONFIG_H__