Script Library: 1213 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 
View scriptLicenseDownload documentation as: HTML or editable
Download scriptHistoryOther scripts by: vincentecuye

Documentation for: analog-clock.r


REBOL

Analog Clock

Author: Vincent Ecuyer
Date: 30-Jan-2013
File: %analog-clock.r

Contents:

1. Purpose
2. Usage
3. Note

1. Purpose

Colorful clock with analog display

2. Usage

This analog clock changes colors at each tick, and adapts itself to the window size, from stamp-sized to full-screen, like the old Amiga one.

The title bar shows the time too, so in some operating systems (like MS-Windows) it can still be usable when minimized.

3. Note

This simple clock works with most versions of /View, but only needs the /Face subset (part of the SDK): it doesn't use the VID dialect at all, and instead builds all its faces with "make face" statements. A consequence is a less readable source code, VID being better suited to build graphical interfaces.

MakeDoc2 by REBOL- 30-Jan-2013