#include <mw/bmpancli.h>
class CBitmapAnimClientData : public CBase |
Public Member Enumerations | |
---|---|
enum | TPlayMode { EPlay, ECycle, EBounce } |
Public Member Functions | |
---|---|
~CBitmapAnimClientData() | |
IMPORT_C void | AppendFrameL(CBitmapFrameData *) |
IMPORT_C CBitmapFrameData * | BackgroundFrame() |
IMPORT_C TInt | DurationInMilliSeconds() |
IMPORT_C TBool | Flash() |
IMPORT_C const CArrayPtrFlat< CBitmapFrameData > & | FrameArray() |
IMPORT_C TInt | FrameIntervalInMilliSeconds() |
IMPORT_C CBitmapAnimClientData * | NewL() |
IMPORT_C TPlayMode | PlayMode() |
IMPORT_C void | ResetFrameArray() |
IMPORT_C void | SetBackgroundFrame(CBitmapFrameData *) |
IMPORT_C void | SetFlash(TBool) |
IMPORT_C void | SetFrameInterval(TInt) |
IMPORT_C void | SetPlayMode(TPlayMode) |
IMPORT_C TSize | Size() |
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:
whether the animation will flash
whether the animation is played once, or continuously
the background frame that is drawn to clear each frame in the animation
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.
Animation play mode flags.
The animation can be played in any of the ways described below.
IMPORT_C void | SetBackgroundFrame | ( | CBitmapFrameData * | aBackgroundFrame | ) |