I have done a considerably more refined version of the clock - let me know
if any want the latest source or program.

Changes:

I rewrote most of the erase and draw code to better virtualise it, now the
hands crossing paint cleanly, and no screen refreshes needed, it maintains
an internal state that works out which parts need any repainting at any
second.

Other additions:

Day of week

A small disk at centre of second hand to make it look more like a real
clock.

A small highlight to the edge of the hands, as well as the shadow, to have
them better show against a dark background.

Other possibilities are:
More continuous hand movement (eg 5/10/20x second)/alarms/hour chimes, but I
am pretty happy now.  Got other stuff to do!

John


_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to