Clock Class Reference

Inherits ClockOutput.

List of all members.

Public Member Functions

int handle (int)
void update ()
 Clock (int x, int y, int w, int h, const char *l=0)

Static Public Attributes

NamedStyledefault_style


Detailed Description

This widget provides a round analog clock display and is provided for Forms compatibility. It installs a 1-second timeout callback using add_timeout().

The color() fills the background. The selectioncolor() (which defaults to GRAY85) fills the hands. The textcolor() is used to color in the tick marks and outline the hands.

type() may be set to SQUARE, ROUND, or DIGITAL (nyi). See the base class ClockOutput for some other methods.

clock.gif

Design credits: Original clock display written by Paul Haeberli at SGI. Modifications by Mark Overmars for Forms Further changes by Bill Spitzak for fltk


The documentation for this class was generated from the following files:
Sun Jan 7 00:55:17 2007. FLTK ©2006 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.