|
||
Provides the graphical display of digital and analogue clocks.
The clocks are animated to change with system time.
The animation of the clocks is performed by an animation DLL that plugs-in to the Window Server. The key classes in this API
are client-side animation classes, derived from the animation client-side class RAnim
.
The API has three key concepts: clock base classes, analogue clock, and digital clock.
A number of base classes provide shared functionality for the clocks, including basic display control, and time setting. They
derive ultimately from RAnim
, and are, in inheritance order, RAnimWithUtils
, RTimeDevice
, and RClock
.
Derived from RClock
, the class RAnalogClock
provides an analogue clock with configurable colour, size, position, and number of hands.
How a hand is drawn is specified by a TAnalogDisplayHand
object. The settings for displaying an AM/PM indicator is provided by SAnalogDisplayAmPm
.
Derived from RClock
, the class RDigitalClock
provides a digital clock with configurable colour, size, position, and font. What time information is displayed is configured
through one or more TDigitalDisplayTextSection
objects.