|
|
|
|
Location:
CLOCK.H
Link against: clock.lib
class RDigitalClock : public RClock;
A digital clock.
A digital clock is composed of one or more text sections, which define how the time information is displayed.
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
RDigitalClock - A digital clock
Defined in RDigitalClock:
AddTextSectionL(), ConstructL(), RDigitalClock(), SetBackgroundColor(), 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 RDigitalClock(RAnimDll &aAnimDll, const RWindowBase &aWindow);
Creates a digital 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, TRgb aBackgroundColor, TInt aNumTextSections);
Completes construction of a digital clock.
|
IMPORT_C void AddTextSectionL(const TDigitalDisplayTextSection &aTextSection);
Adds a text section 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.
|