From d490097eaacbc300dd7f52502636d85f4585fafd Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 28 Mar 2006 23:53:15 +0000 Subject: STR 1192: Added documentation for Fl_Clock_Output git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Clock_Output.html | 54 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 documentation/Fl_Clock_Output.html (limited to 'documentation/Fl_Clock_Output.html') diff --git a/documentation/Fl_Clock_Output.html b/documentation/Fl_Clock_Output.html new file mode 100644 index 000000000..746907777 --- /dev/null +++ b/documentation/Fl_Clock_Output.html @@ -0,0 +1,54 @@ + + +

class Fl_Clock_Output

+
+

Class Hierarchy

+ +

Include Files

+ +

Description

+This widget can be used to display a program-supplied time. +The time shown on the clock is not updated. +To display the current time, use Fl_Clock +instead.

+

Methods

+ +

Fl_Clock_Output::Fl_Clock_Output(int x, int y, int w, +int h, const char *label = 0)

+ Creates a new Fl_Clock_Output widget using the given position, size, +and label string. The default boxtype is FL_NO_BOX. +

virtual Fl_Clock_Output::~Fl_Clock_Output()

+ The destructor removes the clock. +

int Fl_Clock_Output::hour() const

+ Returns the current hour (0 to 23). +

int Fl_Clock_Output::minute() const

+ Returns the current minute (0 to 59). +

int Fl_Clock_Output::second() const

+ Returns the current second (0 to 60, 60 = leap second). +

void Fl_Clock_Output::value(ulong v) +
void Fl_Clock_Output::value(int h, int m, int s) +
ulong Fl_Clock_Output::value(void)

+ The first two forms of value set the displayed time to the +given UNIX time value or specific hours, minutes, and seconds. +

The third form of value returns the displayed time in +seconds since the UNIX epoch (January 1, 1970).

+ -- cgit v1.2.3