|→||1.12 Other programs|
Simple clock with alert
The program shows a simple analog clock.
menu item to enable/disable alert and set alert time.
The "Options" dialog box appears.
In the example we set an alert for 18:05.
When reaching alert time the main window:
You can stop blinking by simply clicking on the clock.
The usual buttons in the windows title bar can be used to switch back from maximized window to normal size.
Most modern desktop systems have a task bar, sometimes referred to as system tray. Programs running permanently with minimal user interactions can hide their windows and place a small icon in the task bar.
A double-click on the task bar icon brings the window on screen, additionally the icon can supply a context menu.
menu item to hide wxdkclocks main window.
The main window is hidden, you can restore it by double-clicking
the task bar icon.
Either double-click the task bar icon or use the "Restore
window" menu item from the task bar icons context menu.
If the main window is hidden you can use the "Exit application"
menu item from the task bar icons context menu.
An administrator can use the following preferences to configure
default colors for clock in normal state and alert state.
The preferences are used when starting wxdkclock for the first time.
|The /color/clock/... values
are used in normal state, the /color/alert/... values are used in
alert state when showing a blinking clock. The values are in the
range 0 .... 255.
For /colour/clock/... you should use a colour specified in CI documents (corporate identity) as main colour. Derive the /colour/alert value by transforming the /colour/clock/... colour to hue/saturation/brightness and increase brightness. Make sure the brightness difference is recognized as blinking but is not annoying.
This program uses DK libraries version 3.