Location:
clock.h
Link against: clock.lib
RAnalogClock
Supported from 5.0
An analogue clock.
|
Defined in RAnalogClock:
AddHandL(), ConstructL(), RAnalogClock(), SetBackgroundColor(), SetBrushColor(), SetPenColor(), SetTextColor()
Inherited from RAnim:
Command(),
CommandReply(),
Construct(),
Destroy()
Inherited from RAnimWithUtils:
Close()
Inherited from RClock:
SetUniversalTimeOffset()
Inherited from RTimeDevice:
Draw(),
SetPosition(),
SetPositionAndSize(),
SetSize(),
SetVisible(),
UpdateDisplay()
RAnalogClock(RAnimDll& aAnimDll, const RWindowBase& aWindow);
Creates an analogue clock object.
To complete construction, you must call ConstructL().
|
void ConstructL(TTimeIntervalSeconds aUniversalTimeOffset, const TPoint& aPosition, const TSize& aSize, const TMargins& aMargins, const STimeDeviceShadow& aShadow, TInt aFaceHandle, TInt aFaceMaskHandle, TInt aNumHands, const AnalogDisplayAmPm* aAmPm=NULL);
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().
|
void AddHandL(const TAnalogDisplayHand& aHand);
Adds a hand to the clock.
This function can only be called after full construction of the clock.
|
void SetBackgroundColor(TRgb aBackgroundColor, TRgb aShadowColor);
Supported from 6.0
Sets the background colour for the clock.
This function can only be called after full construction of the clock.
|
void SetBrushColor(const TRgb aBrushColor);
Supported from 6.0
Sets the brush colour for the hands.
This function can only be called after full construction of the clock.
|
void SetPenColor(const TRgb aPenColor);
Supported from 6.0
Sets the pen colour for the hands.
This function can only be called after full construction of the clock.
|
void SetTextColor(TRgb aTextColor);
Supported from 6.0
Sets the text colour.
This function can only be called after full construction of the clock.
|