|
||
class RAnalogClock : public RClock;
An analogue clock.
RAnim
- Client-side handle to a server-side animation class.
RAnimWithUtils
- Utility class to support clock animation.
RTimeDevice
- Sets display parameters for clocks.
RClock
- Sets the time for clocks.
RAnalogClock
- An analogue clock.
Defined in RAnalogClock
:
AddHandL(const TAnalogDisplayHand &)
Adds a hand to the clock.ConstructL(TTimeIntervalSeconds,const TPoint &,const TSize &,const TMargins &,const STimeDeviceShadow &,TInt,TInt,TInt,const
SAnalogDisplayAmPm *)
Completes construction of an analogue clock.RAnalogClock(RAnimDll &,const RWindowBase &)
Creates an analogue clock object.SetBackgroundColor(TRgb,TRgb)
Sets the background colour for the clock.SetBrushColor(const TRgb)
Sets the brush colour for the hands.SetPenColor(const TRgb)
Sets the pen colour for the hands.SetTextColor(TRgb)
Sets the text colour.Inherited from RAnim
:
AsyncCommandReply(TRequestStatus &,TInt,const TIpcArgs &)
Sends a command and its arguments to the server-side CAnim instance asynchronous...Command(TInt)
Sends a command to the server-side CAnim instance, and returns immediately.Command(TInt,const TPtrC8 &)
Sends a command and its arguments to the server-side CAnim instance, and returns...CommandReply(TInt)
Sends a command to the server-side CAnim instance, and waits for a response.CommandReply(TInt,const TDesC8 &,const TIpcArgs &)
Sends a command and its arguments to the server-side CAnim instance, and waits f...CommandReply(TInt,const TPtrC8 &)
Sends a command and its arguments to the server-side CAnim instance, and waits f...Construct(const RWindowBase &,TInt,const TDesC8 &)
Completes construction of the object based on a window device, and creates the s...Construct(const RWindowBase &,TInt,const TDesC8 &,const TIpcArgs &)
Completes construction of the object based on a window device, and creates the s...Construct(const RWsSprite &,TInt,const TDesC8 &)
Completes construction of the Anim DLL based on a sprite.Construct(const RWsSprite &,TInt,const TDesC8 &,const TIpcArgs &)
Completes construction of the Anim DLL based on a sprite.Destroy()
Closes and deletes the server-side animation object.RAnim(RAnimDll &)
Protected C++ constructor.Inherited from RAnimWithUtils
:
Close()
Closes the clock animation. Inherited from RClock
:
SetUniversalTimeOffset(TTimeIntervalSeconds)
Adjusts the clock's time.Inherited from RTimeDevice
:
Draw()
Draws the clock. SetPosition(const TPoint &)
Sets the clock's on-screen position.SetPositionAndSize(const TPoint &,const TSize &)
Sets the clock's on-screen position and size.SetSize(const TSize &)
Sets the clock's on-screen size.SetVisible(TBool)
Makes the clock visible. By default, clocks are invisible.UpdateDisplay()
Forces an update to the clock's display.CFbsBitmap::Handle()const
Gets the handle number of the bitmap. The returned value can be used to give ano...IMPORT_C RAnalogClock(RAnimDll &aAnimDll, const RWindowBase &aWindow);
Creates an analogue clock object.
To complete construction, you must call RAnalogClock::ConstructL(TTimeIntervalSeconds,const TPoint &,const TSize &,const TMargins &,const STimeDeviceShadow &,TInt,TInt,TInt,const
SAnalogDisplayAmPm *)
.
|
ConstructL(TTimeIntervalSeconds,const TPoint &,const TSize &,const TMargins &,const STimeDeviceShadow &,TInt,TInt,TInt,const
SAnalogDisplayAmPm *)
IMPORT_C void ConstructL(TTimeIntervalSeconds aUniversalTimeOffset, const TPoint &aPosition, const TSize &aSize, const TMargins
&aMargins, const STimeDeviceShadow &aShadow, TInt aFaceHandle, TInt aFaceMaskHandle, TInt aNumHands, const SAnalogDisplayAmPm
*aAmPm=0);
Completes construction of an analogue clock.
The bitmaps specified in aFaceHandle and aFaceMaskHandle cannot be destroyed until the clock has been completely constructed,
including all necessary calls to RAnalogClock::AddHandL(const TAnalogDisplayHand &)
.
|
CFbsBitmap::Handle()const
Gets the handle number of the bitmap. The returned value can be used to give ano...IMPORT_C void AddHandL(const TAnalogDisplayHand &aHand);
Adds a hand to the clock.
This function can only be called after full construction of the clock.
|
IMPORT_C void SetBackgroundColor(TRgb aBackgroundColor, TRgb aShadowColor);
Sets the background colour for the clock.
This function can only be called after full construction of the clock.
|
IMPORT_C void SetTextColor(TRgb aTextColor);
Sets the text colour.
This function can only be called after full construction of the clock.
|
IMPORT_C void SetPenColor(const TRgb aPenColor);
Sets the pen colour for the hands.
This function can only be called after full construction of the clock.
|
IMPORT_C void SetBrushColor(const TRgb aBrushColor);
Sets the brush colour for the hands.
This function can only be called after full construction of the clock.
|