Location:
clock.h
Link against: clock.lib
RDigitalClock
Supported from 5.0
A digital clock.
A digital clock is composed of one or more text sections, which define how the time information is displayed.
|
Defined in RDigitalClock:
AddTextSectionL(), ConstructL(), RDigitalClock(), SetBackgroundColor(), 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()
RDigitalClock(RAnimDll& aAnimDll, const RWindowBase& aWindow);
Creates a digital 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, TRgb aBackgroundColor, TInt aNumTextSections);
Completes construction of a digital clock.
|
void AddTextSectionL(const TDigitalDisplayTextSection& aTextSection);
Adds a text section to the clock.
This function can only be called after full construction of the clock.
|
void SetBackgroundColor(TRgb aBackgroundColor, TRgb aShadowColor);
Sets background colour for the clock.
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.
|