class CSAnimCtrl : public CCoeControl |
Start-up Animation UI control class. Draws animation centered to the control.
Public Member Functions | |
---|---|
~CSAnimCtrl() | |
void | Cancel() |
void | Clear() |
void | Load(const TDesC &, const TTimeIntervalMicroSeconds32 &, const TBool, const TInt, const TDesC &, const TInt, const TTimeIntervalMicroSeconds &, const TInt, TRequestStatus &) |
IMPORT_C CSAnimCtrl * | NewL(const TRect &, const CCoeControl &) |
void | Start(TRequestStatus &) |
Protected Member Functions | |
---|---|
CSAnimCtrl() | |
IMPORT_C void | BaseConstructL(const TRect &, const CCoeControl &) |
CCoeControl * | ComponentControl(TInt) |
TInt | CountComponentControls() |
void | Draw(const TRect &) |
void | UpdateScreen(const CFbsBitmap &, const CFbsBitmap &) |
void | UpdateScreen(const CFbsBitmap &) |
Private Member Functions | |
---|---|
CSAnimCtrl(const CSAnimCtrl &) | |
CSAnimCtrl & | operator=(const CSAnimCtrl &) |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType |
Protected Attributes | |
---|---|
TRgb | iBackgroundColour |
CSAnimEngine * | iEngine |
const CFbsBitmap * | iImage |
const CFbsBitmap * | iMask |
Private Attributes | |
---|---|
TAny * | iReserved1 |
TAny * | iReserved2 |
TInt | iReserved3 |
TInt | iReserved4 |
Inherited Attributes | |
---|---|
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize |
CSAnimCtrl | ( | const CSAnimCtrl & | ) | [private] |
Copy constructor.
const CSAnimCtrl & |
IMPORT_C void | BaseConstructL | ( | const TRect & | aRect, |
const CCoeControl & | aContainer | |||
) | [protected] |
Second phase constructor for derived classes.
const TRect & aRect | Rectangle designated for the control. |
const CCoeControl & aContainer | The compound control that is the container for this control. |
CCoeControl * | ComponentControl | ( | TInt | aIndex | ) | const [protected, virtual] |
From CCoeControl.
TInt aIndex | Identifies the component control to return. |
TInt | CountComponentControls | ( | ) | const [protected, virtual] |
From CCoeControl.
void | Draw | ( | const TRect & | aRect | ) | const [protected, virtual] |
From CCoeControl.
const TRect & aRect | The rectangle to draw into. |
void | Load | ( | const TDesC & | aImageFileName, |
const TTimeIntervalMicroSeconds32 & | aFrameDelay, | |||
const TBool | aScalingEnabled, | |||
const TInt | aAnimRepeatCount, | |||
const TDesC & | aToneFileName, | |||
const TInt | aVolume, | |||
const TTimeIntervalMicroSeconds & | aVolumeRamp, | |||
const TInt | aToneRepeatCount, | |||
TRequestStatus & | aStatus | |||
) | [virtual] |
Load the parts of the show (image/animation and/or tone) from file(s). Completes immediately with KErrNone if the show has no parts.
const TDesC & aImageFileName | Identifies the image file to use. |
const TTimeIntervalMicroSeconds32 & aFrameDelay | Frame delay to use. |
const TBool aScalingEnabled | Identifies whether to try to scale the image to fit the screen size or just use the target size of the animation as it is. |
const TInt aAnimRepeatCount | How many times to repeat the animation. Zero indicates infinite. |
const TDesC & aToneFileName | Identifies the tone file to use. |
const TInt aVolume | Volume level to use. |
const TTimeIntervalMicroSeconds & aVolumeRamp | Volume ramp: the period over which the volume level is to rise smoothly from nothing to the normal volume level. |
const TInt aToneRepeatCount | How many times to repeat the tone. |
TRequestStatus & aStatus | Request to complete when loading is complete. |
IMPORT_C CSAnimCtrl * | NewL | ( | const TRect & | aRect, |
const CCoeControl & | aContainer | |||
) | [static] |
Constructs a CSAnimCtrl object.
const TRect & aRect | Rectangle designated for the control. |
const CCoeControl & aContainer | The compound control that is the container for this control. |
void | Start | ( | TRequestStatus & | aStatus | ) | [virtual] |
Start the show (image/animation and/or tone). Completes immediately with KErrNone if the show has no parts.
TRequestStatus & aStatus | Request to complete when all parts of the show have finished. |
void | UpdateScreen | ( | const CFbsBitmap & | aFrame, |
const CFbsBitmap & | aMask | |||
) | [protected, virtual] |
Draw an animation frame on the screen with a mask. From MSAnimObserver.
const CFbsBitmap & aFrame | Contains the animation frame to draw on the screen. |
const CFbsBitmap & aMask | Contains mask for the animation frame to draw on the screen. |
void | UpdateScreen | ( | const CFbsBitmap & | aFrame | ) | [protected, virtual] |
Draw an animation frame on the screen without a mask. From MSAnimObserver.
const CFbsBitmap & aFrame | Contains the animation frame to draw on the screen. |
CSAnimCtrl & | operator= | ( | const CSAnimCtrl & | ) | [private] |
Assignment operator.
const CSAnimCtrl & |
CSAnimEngine * | iEngine | [protected] |
Start-up Animation engine. Owned. May not be NULL.
const CFbsBitmap * | iImage | [protected] |
Bitmap to draw next. Not owned. May be NULL.
const CFbsBitmap * | iMask | [protected] |
Mask for the bitmap to draw next. Not owned. May be NULL.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.