class CBitmapFrameData : public CBase |
Encapsulates the information required for one frame of an animation.
Each animation frame includes a bitmap that is displayed in a specified position for a specified length of time. You can optionally include a mask that either hides part of the bitmap, or makes part of the bitmap transparent so that the background can be seen.
You will probably need to define several frames for a complete animation. When you have defined the frames you require, use CBitmapAnimClientData to construct the animation itself.
Public Member Functions | |
---|---|
~CBitmapFrameData() | |
IMPORT_C CFbsBitmap * | Bitmap() |
IMPORT_C TBool | BitmapsOwnedExternally() |
IMPORT_C TInt | IntervalInMilliSeconds() |
IMPORT_C CFbsBitmap * | Mask() |
IMPORT_C CBitmapFrameData * | NewL() |
IMPORT_C CBitmapFrameData * | NewL(CFbsBitmap *, CFbsBitmap *) |
IMPORT_C CBitmapFrameData * | NewL(CFbsBitmap *, CFbsBitmap *, TInt, TPoint) |
IMPORT_C TPoint | Position() |
IMPORT_C void | SetBitmap(CFbsBitmap *) |
IMPORT_C void | SetBitmapsOwnedExternally(TBool) |
IMPORT_C void | SetInterval(TInt) |
IMPORT_C void | SetMask(CFbsBitmap *) |
IMPORT_C void | SetPosition(TPoint) |
Private Member Functions | |
---|---|
CBitmapFrameData() |
Private Attributes | |
---|---|
CFbsBitmap * | iBitmap |
TBool | iBitmapsOwnedExternally |
TInt | iIntervalInMilliSeconds |
CFbsBitmap * | iMaskBitmap |
TPoint | iPosition |
IMPORT_C CBitmapFrameData * | NewL | ( | CFbsBitmap * | aBitmap, |
CFbsBitmap * | aMask = NULL | |||
) | [static] |
CFbsBitmap * aBitmap | |
CFbsBitmap * aMask = NULL |
IMPORT_C CBitmapFrameData * | NewL | ( | CFbsBitmap * | aBitmap, |
CFbsBitmap * | aMask, | |||
TInt | aIntervalInMilliSeconds, | |||
TPoint | aPosition | |||
) | [static] |
CFbsBitmap * aBitmap | |
CFbsBitmap * aMask | |
TInt aIntervalInMilliSeconds | |
TPoint aPosition |
IMPORT_C void | SetBitmapsOwnedExternally | ( | TBool | aOwnedExternally | ) |
TBool aOwnedExternally |
IMPORT_C void | SetInterval | ( | TInt | aIntervalInMilliSeconds | ) |
TInt aIntervalInMilliSeconds |