CBitmapFrameData Class Reference

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.

Inherits from

Constructor & Destructor Documentation

CBitmapFrameData()

CBitmapFrameData ( ) [private]

~CBitmapFrameData()

IMPORT_C ~CBitmapFrameData ( )

Member Functions Documentation

Bitmap()

IMPORT_C CFbsBitmap * Bitmap ( ) const

BitmapsOwnedExternally()

IMPORT_C TBool BitmapsOwnedExternally ( ) const

IntervalInMilliSeconds()

IMPORT_C TInt IntervalInMilliSeconds ( ) const

Mask()

IMPORT_C CFbsBitmap * Mask ( ) const

NewL()

IMPORT_C CBitmapFrameData * NewL ( ) [static]

NewL(CFbsBitmap *, CFbsBitmap *)

IMPORT_C CBitmapFrameData * NewL ( CFbsBitmap * aBitmap,
CFbsBitmap * aMask = NULL
) [static]

Parameters

CFbsBitmap * aBitmap
CFbsBitmap * aMask = NULL

NewL(CFbsBitmap *, CFbsBitmap *, TInt, TPoint)

IMPORT_C CBitmapFrameData * NewL ( CFbsBitmap * aBitmap,
CFbsBitmap * aMask,
TInt aIntervalInMilliSeconds,
TPoint aPosition
) [static]

Parameters

CFbsBitmap * aBitmap
CFbsBitmap * aMask
TInt aIntervalInMilliSeconds
TPoint aPosition

Position()

IMPORT_C TPoint Position ( ) const

SetBitmap(CFbsBitmap *)

IMPORT_C void SetBitmap ( CFbsBitmap * aBitmap )

Parameters

CFbsBitmap * aBitmap

SetBitmapsOwnedExternally(TBool)

IMPORT_C void SetBitmapsOwnedExternally ( TBool aOwnedExternally )

Parameters

TBool aOwnedExternally

SetInterval(TInt)

IMPORT_C void SetInterval ( TInt aIntervalInMilliSeconds )

Parameters

TInt aIntervalInMilliSeconds

SetMask(CFbsBitmap *)

IMPORT_C void SetMask ( CFbsBitmap * aMask )

Parameters

CFbsBitmap * aMask

SetPosition(TPoint)

IMPORT_C void SetPosition ( TPoint aPosition )

Parameters

TPoint aPosition

Member Data Documentation

CFbsBitmap * iBitmap

CFbsBitmap * iBitmap [private]

TBool iBitmapsOwnedExternally

TBool iBitmapsOwnedExternally [private]

TInt iIntervalInMilliSeconds

TInt iIntervalInMilliSeconds [private]

CFbsBitmap * iMaskBitmap

CFbsBitmap * iMaskBitmap [private]

TPoint iPosition

TPoint iPosition [private]