class CAnimationFrame : public CBase |
Data format for individual bitmap format animation frames.
Animators and data providers which use the "bitmap" data type use objects of this type to transfer data.
You do not need to instantiate an object of this type unless you are writing a new data provider.
CBitmapAnimator
CICLAnimationDataProvider
Public Member Functions | |
---|---|
~CAnimationFrame() | |
CFbsBitmap * | Bitmap() |
const CFbsBitmap * | Bitmap() |
IMPORT_C void | CreateL(const TFrameInfo &) |
TFrameInfo & | FrameInfo() |
const TFrameInfo & | FrameInfo() |
IMPORT_C void | GetHandles(THandles &) |
CFbsBitmap * | Mask() |
const CFbsBitmap * | Mask() |
IMPORT_C CAnimationFrame * | NewL() |
IMPORT_C CAnimationFrame * | NewL(const THandles &) |
IMPORT_C void | SetHandlesL(const THandles &) |
Protected Member Functions | |
---|---|
IMPORT_C void | CAnimationFrame_Reserved1() |
IMPORT_C void | CAnimationFrame_Reserved2() |
Private Member Functions | |
---|---|
CAnimationFrame() | |
CAnimationFrame(const CAnimationFrame &) | |
void | ConstructL() |
CAnimationFrame & | operator=(const CAnimationFrame &) |
Private Attributes | |
---|---|
CFbsBitmap * | iBitmap |
TInt | iCAnimationFrame_Reserved |
TFrameInfo | iFrameInfo |
CFbsBitmap * | iMask |
CAnimationFrame | ( | const CAnimationFrame & | ) | [private] |
const CAnimationFrame & |
CFbsBitmap * | Bitmap | ( | ) | [inline] |
Returns the bitmap image for the changed area for this frame A pointer to a CFbsBitmap
const CFbsBitmap * | Bitmap | ( | ) | const [inline] |
Returns the bitmap image for the changed area for this frame A pointer to a const CFbsBitmap
IMPORT_C void | CAnimationFrame_Reserved1 | ( | ) | [protected, virtual] |
Reserved for future use
IMPORT_C void | CAnimationFrame_Reserved2 | ( | ) | [protected, virtual] |
Reserved for future use
IMPORT_C void | CreateL | ( | const TFrameInfo & | aFrameInfo | ) |
Initialises the internal bitmaps to the correct sizes for the frame.
const TFrameInfo & aFrameInfo | A TFrameInfo object indicating the required size of the bitmaps. |
const TFrameInfo & | FrameInfo | ( | ) | const [inline] |
Returns information about the frame. A const TFrameInfo
IMPORT_C void | GetHandles | ( | THandles & | aHandles | ) | const |
Obtains an alternative representation of the frame suitable for transferring over most interfaces (a THandle uses handles instead of pointers).
THandles & aHandles | A handles object to populate |
CFbsBitmap * | Mask | ( | ) | [inline] |
Returns the bitmap mask for the changed area for this frame A pointer to a CFbsBitmap
const CFbsBitmap * | Mask | ( | ) | const [inline] |
Returns the bitmap mask for the changed area for this frame A pointer to a const CFbsBitmap
IMPORT_C CAnimationFrame * | NewL | ( | ) | [static] |
Two stage constructor.
After construction, the frame contains empty bitmaps.
The new object
IMPORT_C CAnimationFrame * | NewL | ( | const THandles & | aHandles | ) | [static] |
Two stage constructor.
After construction, the frame contains the bitmaps specified in the handles argument.
The new object
const THandles & aHandles | An internal data type used for transferring the contents |
IMPORT_C void | SetHandlesL | ( | const THandles & | aHandles | ) |
Sets the contents of the internal bitmaps to those represented by the handles.
const THandles & aHandles | A handles object obtained from a call to GetHandles |
CAnimationFrame & | operator= | ( | const CAnimationFrame & | ) | [private] |
const CAnimationFrame & |