diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-13 19:28:54 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-13 19:28:54 +0000 |
| commit | d7b88a3bcc7e76f38ee5799be7722fd5a10781ef (patch) | |
| tree | d8984d45424c9b2cdb199c1918f38bfea4a8211d /documentation/Fl_Clock.html | |
| parent | 30fa233681467b82b165e7d42cd0bea778b93768 (diff) | |
Updated all links so they work between files.
Revision 1.
git-svn-id: file:///fltk/svn/fltk/trunk@219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Clock.html')
| -rw-r--r-- | documentation/Fl_Clock.html | 132 |
1 files changed, 55 insertions, 77 deletions
diff --git a/documentation/Fl_Clock.html b/documentation/Fl_Clock.html index e1da8a9e9..0ddb2a10b 100644 --- a/documentation/Fl_Clock.html +++ b/documentation/Fl_Clock.html @@ -1,78 +1,56 @@ -<html> -<body> - -<hr break> - -<h2><a name="Fl_Clock">class Fl_Clock</a></h2> - -<hr> - -<h3>Class Hierarchy</h3> - -<ul><pre> -<a href="#Fl_Widget">Fl_Widget</a> +<HTML><BODY> +<HR break> +<H2><A name=Fl_Clock>class Fl_Clock</A></H2> +<HR> +<H3>Class Hierarchy</H3> +<UL> +<PRE> +<A href=Fl_Widget.html#Fl_Widget>Fl_Widget</A> | - +----<b>Fl_Clock</b> -</pre></ul> - -<h3>Include Files</h3> - -<ul><pre> -#include <FL/Fl_Clock.H> -</pre></ul> - -<h3>Description</h3> - -This widget provides a round analog clock display and is provided for -Forms compatibility. It installs a 1-second timeout callback using -<a href="#add_timeout"><tt>Fl::add_timeout()</tt></a>. - -<h3>Methods</h3> - -<ul> - <li><a href="#Fl_Clock.Fl_Clock">Fl_Clock</a> - <li><a href="#Fl_Clock.~Fl_Clock">~Fl_Clock</a> - <li><a href="#Fl_Clock.hour">hour</a> - <li><a href="#Fl_Clock.minute">minute</a> - <li><a href="#Fl_Clock.second">second</a> - <li><a href="#Fl_Clock.value">value</a> -</ul> - -<h4><a name="Fl_Clock.Fl_Clock">Fl_Clock::Fl_Clock(int x, int y, int w, int h, const char *label = 0)</a></h4> - -Creates a new <tt>Fl_Clock</tt> widget using the given position, size, and -label string. The default boxtype is <tt>FL_NO_BOX</tt>. - -<h4><a name="Fl_Clock.~Fl_Clock">virtual Fl_Clock::~Fl_Clock()</a></h4> - -The destructor <i>also deletes all the children</i>. This allows a -whole tree to be deleted at once, without having to keep a pointer to all -the children in the user code. A kludge has been done so the -<tt>Fl_Clock</tt> and all of it's children can be automatic (local) -variables, but you must declare the <tt>Fl_Clock</tt> <i>first</i>, so -that it is destroyed last. - -<h4><a name="Fl_Clock.hour">int Fl_Clock::hour() const</a></h4> - -Returns the current hour (0 to 23). - -<h4><a name="Fl_Clock.minute">int Fl_Clock::minute() const</a></h4> - -Returns the current minute (0 to 59). - -<h4><a name="Fl_Clock.second">int Fl_Clock::second() const</a></h4> - -Returns the current second (0 to 60, 60 = leap second). - -<h4><a name="Fl_Clock.value">void Fl_Clock::value(ulong v)<br> -void Fl_Clock::value(int h, int m, int s)<br> -ulong Fl_Clock::value(void)</a></h4> - -The first two forms of <tt>value</tt> set the displayed time to the given -UNIX time value or specific hours, minutes, and seconds. - -<p>The third form of <tt>value</tt> returns the displayed time in seconds -since the UNIX epoch (January 1, 1970). - -</body> -</html> + +----<B>Fl_Clock</B> +</PRE> +</UL> +<H3>Include Files</H3> +<UL> +<PRE> +#include <FL/Fl_Clock.H> +</PRE> +</UL> +<H3>Description</H3> + This widget provides a round analog clock display and is provided for +Forms compatibility. It installs a 1-second timeout callback using <A href=functions.html#add_timeout> +<TT>Fl::add_timeout()</TT></A>. +<H3>Methods</H3> +<UL> +<LI><A href=#Fl_Clock.Fl_Clock>Fl_Clock</A></LI> +<LI><A href=#Fl_Clock.~Fl_Clock>~Fl_Clock</A></LI> +<LI><A href=#Fl_Clock.hour>hour</A></LI> +<LI><A href=#Fl_Clock.minute>minute</A></LI> +<LI><A href=#Fl_Clock.second>second</A></LI> +<LI><A href=#Fl_Clock.value>value</A></LI> +</UL> +<H4><A name=Fl_Clock.Fl_Clock>Fl_Clock::Fl_Clock(int x, int y, int w, +int h, const char *label = 0)</A></H4> + Creates a new <TT>Fl_Clock</TT> widget using the given position, size, +and label string. The default boxtype is <TT>FL_NO_BOX</TT>. +<H4><A name=Fl_Clock.~Fl_Clock>virtual Fl_Clock::~Fl_Clock()</A></H4> + The destructor <I>also deletes all the children</I>. This allows a +whole tree to be deleted at once, without having to keep a pointer to +all the children in the user code. A kludge has been done so the <TT> +Fl_Clock</TT> and all of it's children can be automatic (local) +variables, but you must declare the <TT>Fl_Clock</TT><I>first</I>, so +that it is destroyed last. +<H4><A name=Fl_Clock.hour>int Fl_Clock::hour() const</A></H4> + Returns the current hour (0 to 23). +<H4><A name=Fl_Clock.minute>int Fl_Clock::minute() const</A></H4> + Returns the current minute (0 to 59). +<H4><A name=Fl_Clock.second>int Fl_Clock::second() const</A></H4> + Returns the current second (0 to 60, 60 = leap second). +<H4><A name=Fl_Clock.value>void Fl_Clock::value(ulong v) +<BR> void Fl_Clock::value(int h, int m, int s) +<BR> ulong Fl_Clock::value(void)</A></H4> + The first two forms of <TT>value</TT> set the displayed time to the +given UNIX time value or specific hours, minutes, and seconds. +<P>The third form of <TT>value</TT> returns the displayed time in +seconds since the UNIX epoch (January 1, 1970). </P> +</BODY></HTML>
\ No newline at end of file |
