|
|
|
|
Location:
CLOCK.H
Link against: clock.lib
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(), ConstructL(), RAnalogClock(), SetBackgroundColor(), SetBrushColor(), SetPenColor(), SetTextColor()
Inherited from RAnim:
AsyncCommandReply(),
Command(),
CommandReply(),
Construct(),
Destroy()
Inherited from RAnimWithUtils:
Close()
Inherited from RClock:
SetUniversalTimeOffset()
Inherited from RTimeDevice:
Draw(),
SetPosition(),
SetPositionAndSize(),
SetSize(),
SetVisible(),
UpdateDisplay()
IMPORT_C RAnalogClock(RAnimDll &aAnimDll, const RWindowBase &aWindow);
Creates an analogue clock object.
To complete construction, you must call ConstructL().
|
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().
|
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.
|