39 #define FL_SQUARE_CLOCK 0
40 #define FL_ROUND_CLOCK 1
41 #define FL_ANALOG_CLOCK FL_SQUARE_CLOCK
42 #define FL_DIGITAL_CLOCK FL_SQUARE_CLOCK
44 // fabien: Please keep the horizontal formatting of both images in class desc,
64 int hour_, minute_, second_;
69 void draw(
int X,
int Y,
int W,
int H);
76 void value(
int H,
int m,
int s);
89 int hour()
const {
return hour_;}
126 Fl_Clock(
int X,
int Y,
int W,
int H,
const char *L = 0);
128 Fl_Clock(
uchar t,
int X,
int Y,
int W,
int H,
const char *L);
This widget provides a round analog clock display.
Definition: Fl_Clock.H:122
unsigned long ulong
unsigned long
Definition: fl_types.h:41
int hour() const
Returns the displayed hour (0 to 23).
Definition: Fl_Clock.H:89
This widget can be used to display a program-supplied time.
Definition: Fl_Clock.H:63
ulong value() const
Returns the displayed time.
Definition: Fl_Clock.H:83
int minute() const
Returns the displayed minute (0 to 59).
Definition: Fl_Clock.H:95
unsigned int Fl_Color
an FLTK color value
Definition: Enumerations.H:769
int second() const
Returns the displayed second (0 to 60, 60=leap second).
Definition: Fl_Clock.H:101
unsigned char uchar
unsigned char
Definition: fl_types.h:39