CBitmapAnimClientData Class Reference
class CBitmapAnimClientData : public CBase
|
Encapsulates one or more animation frames into an entire animation.
In addition to specifying the frames you wish to include in your animation, you can also specify:
You can also specify a default frame interval that is used for all frames in an animation. If the interval is already set for any of the individual frames, that takes precedence.
When you have defined your animation, use
RBitmapAnim
to play the animation.
Constructor & Destructor Documentation
CBitmapAnimClientData()
CBitmapAnimClientData
|
(
|
)
|
[private]
|
~CBitmapAnimClientData()
IMPORT_C
|
~CBitmapAnimClientData
|
(
|
)
|
|
Member Functions Documentation
AppendFrameL(CBitmapFrameData *)
DurationInMilliSeconds()
IMPORT_C
TInt
|
DurationInMilliSeconds
|
(
|
)
|
const
|
Flash()
IMPORT_C
TBool
|
Flash
|
(
|
)
|
const
|
FrameIntervalInMilliSeconds()
IMPORT_C
TInt
|
FrameIntervalInMilliSeconds
|
(
|
)
|
const
|
ResetFrameArray()
IMPORT_C void
|
ResetFrameArray
|
(
|
)
|
|
SetBackgroundFrame(CBitmapFrameData *)
SetFlash(TBool)
IMPORT_C void
|
SetFlash
|
(
|
TBool
|
aFlash
|
)
|
|
SetFrameInterval(TInt)
IMPORT_C void
|
SetFrameInterval
|
(
|
TInt
|
aFrameIntervalInMilliSeconds
|
)
|
|
Parameters
TInt
aFrameIntervalInMilliSeconds
|
|
SetPlayMode(TPlayMode)
IMPORT_C void
|
SetPlayMode
|
(
|
TPlayMode
|
aPlayMode
|
)
|
|
Size()
IMPORT_C
TSize
|
Size
|
(
|
)
|
const
|
Member Enumerations Documentation
Enum TPlayMode
Animation play mode flags.
The animation can be played in any of the ways described below.
Enumerators
EPlay = 0x00
|
Plays the animation once, from the first frame to the last one.
|
ECycle = 0x01
|
Plays the animation from the first frame to the last one continuously.
|
EBounce = 0x02
|
Plays the animation from the first frame to the last one then from the last frame to the first continuously.
|
Member Data Documentation
CBitmapFrameData * iBackgroundFrame
CArrayPtrFlat< CBitmapFrameData > iFrameArray
TInt
iFrameIntervalInMilliSeconds
TInt
|
iFrameIntervalInMilliSeconds
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.