API published in: S60 2nd Ed
Link against: aknskins.lib aknskinsrv.lib aknswallpaperutils.lib
Required Capabilities
None
#include <aknsitemdata.h>
Inherits CAknsImageTableItemData.
Bitmap animation item data contains (in addition to base class members), animation properties as well as an array containing frame properties Item type for bitmap animation item data objects is always EAknsITBmpAnim.
This is a public class with exported functions. The class is not intended for derivation outside the library.
Public Member Functions |
|
virtual | ~CAknsBmpAnimItemData () |
Destructor. |
|
IMPORT_C void | SetFrameInfosL (const TAknsBmpAnimFrameInfo *aFrameInfos) |
Sets frame property values for this item data instance. |
|
IMPORT_C TAknsBmpAnimFrameInfo * | FrameInfos () const |
Returns pointer to the first entry in the frame property array, owned by this object. |
|
IMPORT_C void | SetLastFrameBackground (TBool aLastFrameBg) |
Sets the flag indicating whether the last frame should be interpreted as the background (i.e. |
|
IMPORT_C TBool | LastFrameBackground () const |
Retrieves the flag value indicating whether the last frame should be interpreted as the background. |
|
IMPORT_C void | SetFrameInterval (const TInt16 aFrameInterval) |
Sets the frame interval for the entire animation. |
|
IMPORT_C TInt16 | FrameInterval () const |
Retrieves the frame interval. |
|
IMPORT_C void | SetPlayMode (const TInt16 aPlayMode) |
Sets the play mode for the entire animation. |
|
IMPORT_C TInt16 | PlayMode () const |
Retrieves the play mode. |
|
IMPORT_C void | SetFlash (const TBool aFlash) |
Sets the flash property for the entire animation. |
|
IMPORT_C TBool | Flash () const |
Retrieves the flash property. |
|
Static Public Member Functions |
|
static IMPORT_C CAknsBmpAnimItemData * | NewL () |
Two-phased constructor. |
|
Protected Member Functions |
|
CAknsBmpAnimItemData (const TAknsItemType aType) | |
C++ protected constructor. |
|
Protected Attributes |
|
TAknsBmpAnimFrameInfo * | iFrameArray |
Frame info array. |
|
TBool | iLastFrameBackground |
Last frame used as background flag. |
|
TInt16 | iFrameInterval |
Frame interval. |
|
TInt16 | iPlayMode |
Play mode. |
|
TBool | iFlash |
Flash flag. |
|
Destructor. Destroys arrays. |
|
C++ protected constructor. Constructs a new CAknsBmpAnimItemData without an array.
|
|
Retrieves the flash property.
|
|
Returns pointer to the first entry in the frame property array, owned by this object.
|
|
Retrieves the frame interval.
|
|
Retrieves the flag value indicating whether the last frame should be interpreted as the background.
|
|
Two-phased constructor. Constructs a new CAknsBmpAnimItemData object. Values must be set separately using SetImagesL and SetFrameInfosL.
Reimplemented from CAknsImageTableItemData. |
|
Retrieves the play mode.
|
|
Sets the flash property for the entire animation.
|
|
Sets frame property values for this item data instance. The number of entries in the given array must match the number of images in the image table. Therefore SetFrameInfosL must be called only after SetImagesL has already been called.
|
|
Sets the frame interval for the entire animation.
|
|
Sets the flag indicating whether the last frame should be interpreted as the background (i.e. excluded from the animation itself).
|
|
Sets the play mode for the entire animation.
|
|
Flash flag. |
|
Frame info array. |
|
Frame interval. |
|
Last frame used as background flag. |
|
Play mode. |