30#define FL_SQUARE_CLOCK         0        
   31#define FL_ROUND_CLOCK          1        
   32#define FL_ANALOG_CLOCK FL_SQUARE_CLOCK  
   33#define FL_DIGITAL_CLOCK FL_SQUARE_CLOCK  
   55  int hour_, minute_, second_;
 
   60  void draw(
int X, 
int Y, 
int W, 
int H);
 
   67  void value(
int H, 
int m, 
int s);
 
   80  int hour()
 const {
return hour_;}
 
 
  117  Fl_Clock(
int X, 
int Y, 
int W, 
int H,  
const char *L = 0);
 
  119  Fl_Clock(
uchar t, 
int X, 
int Y, 
int W, 
int H, 
const char *L);
 
 
unsigned int Fl_Color
An FLTK color value; see also Colors.
Definition Enumerations.H:941
int hour() const
Returns the displayed hour (0 to 23).
Definition Fl_Clock.H:80
Fl_Clock_Output(int X, int Y, int W, int H, const char *L=0)
Create a new Fl_Clock_Output widget with the given position, size and label.
Definition Fl_Clock.cxx:153
int minute() const
Returns the displayed minute (0 to 59).
Definition Fl_Clock.H:86
ulong value() const
Returns the displayed time.
Definition Fl_Clock.H:74
int second() const
Returns the displayed second (0 to 60, 60=leap second).
Definition Fl_Clock.H:92
void value(ulong v)
Set the displayed time.
Definition Fl_Clock.cxx:138
Fl_Clock(int X, int Y, int W, int H, const char *L=0)
Create an Fl_Clock widget using the given position, size, and label string.
Definition Fl_Clock.cxx:172
unsigned char uchar
unsigned char
Definition fl_types.h:30
unsigned long ulong
unsigned long
Definition fl_types.h:32