DClok is a small project written in Delphi (thus the 'D'). I have started working with Delphi and decided, I'd like to get a grip on object oriented programming (once again).
DClok was inspired by Caskey L. Dickson's Clok which is a Java-applet that displays time in an unconventional but cute way. DClok started as a imitation of Clok but it is missing one feature: You cannot assign timezones to DCloks yet. This is planned for the future. On the other hand it has more display modes.
Currently, the whole project consists of the component itself and a screensaver. They are both available for download. The screensaver is being published under the GPL. The component is only available as compiled unit yet. The source will be available as soon as I have decided which licence to use (BSD vs. GPL).
DClok
Licence: DClok is freeware that comes without any warranty or support. Thus you use it at your own risk. You even may use it even in commercial products as long as you mention me as original author somewhere. Thus you use it at your own risk. You even may use it even in commercial products as long as you mention me as original author somewhere. Thus you use it at your own risk. You even may use it even in commercial products as long as you mention me as original author somewhere.
Download DClok.zip (8 KB).
This is the Delphi component. Developed on D5. Included is the .dcu and .dcr file.
Just put those files to a directory where Delphi can find them and include the unit into your projects:
use DClok;
What the heck..?
The first mode is called day-mode. The blue line in this example indicates the day's progress.
We are at about 17 hours here. The exact time sometimes is not important, all we need to know is: Can we disturb someone or is he asleep (especially when working with people all over the globe).
The whole functionality of Clok is not yet reached. I do not work with several timezones, but this is planned.
The colours indicate night, twilight, day and midday. All colours can be customized, as well as the hours when dawn, morning, Noon, afternoon, dusk and night begin.
In hour mode, the background bar indicates the hours. The red krell indicates the minutes.
Additionally, the color if the bar gives the same information as above.
The bar reaches the same position as the blue krell in day mode
(For an explanation of what 'krell' means, take a look at http://gkrellm.net/).
It is about 1725 in this example.
This is Ku'damm-Mode. The name derives from the Kurfürstendamm in Berlin. I don't even know, if this clock actually exists but I remember having seen this clock-layout in a magazine for the C64 years ago.
And I liked it. So here we go.
The lowest bar contains four boxes. Each box represents one minute. The boxes in the bar above represent full five minutes. Adding the minutes gives a result of 27 minutes. The same applies to the hours: 2 hours + 3*5 hours = 17 hours.
Thus we have 17:27 on this clock.
Disc mode nearly resembles a normal watch. The only difference: I don't display 12 hours but 24 hours.
The red outside represents the minutes. It's about 17:29 on this clock.
The colour of the disc is determined in the same way as in hour mode.
You can enable a krell indicating the seconds as well in any mode (except for day mode). All colours are customizeable.
DClok screensaver
Licence: DClock_screensaver is freeware that comes without any warranty or support. Thus you use it at your own risk. You even may use it even in commercial products as long as you mention me as original author somewhere.
Download DClok_screensaver.zip (220 KB, source included).
DClok_screensaver.zip contains the Delphi project and the compressed executable.
Just copy the file DClok_screensaver.scr to %SystemRoot%\System32
(or %SystemRoot%\System on Win9x) and then use it as any other screensaver.
In addition to DClok's display modes, the screensaver also indicates a day's progress by its position on the screen: When the clock is drawn at the bottom, it is 12:00, when it is drawn at the left border, we have about 18:00 hours and so on (just like disc-mode works).
[ top ]
Contact & Imprint — Kontakt & Impressum
Created: 2002-09-07 — last update of web site: 2012-01-25
Follow me: