summaryrefslogtreecommitdiff
path: root/documentation/Fl_Clock_Output.html
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-03-28 23:53:15 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-03-28 23:53:15 +0000
commitd490097eaacbc300dd7f52502636d85f4585fafd (patch)
tree2db2665bf4308212fb788560c1efa4f91acd67c0 /documentation/Fl_Clock_Output.html
parentb8bc24764ebec8a19e0a61f0e1f2b2843be22d70 (diff)
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
Diffstat (limited to 'documentation/Fl_Clock_Output.html')
-rw-r--r--documentation/Fl_Clock_Output.html54
1 files changed, 54 insertions, 0 deletions
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 @@
+<HTML><BODY>
+<!-- NEW PAGE -->
+<H2><A name=Fl_Clock>class Fl_Clock_Output</A></H2>
+<HR>
+<H3>Class Hierarchy</H3>
+<UL>
+<PRE>
+<A href=Fl_Widget.html#Fl_Widget>Fl_Widget</A>
+ |
+ +----<B>Fl_Clock_Output</B>
+ |
+ +----<A href=Fl_Clock.html#Fl_Clock>Fl_Clock</A>
+</PRE>
+</UL>
+<H3>Include Files</H3>
+<UL>
+<PRE>
+#include &lt;FL/Fl_Clock.H&gt;
+</PRE>
+</UL>
+<H3>Description</H3>
+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 <TT><A href=Fl_Clock.html#Fl_Clock>Fl_Clock</A></TT>
+instead.</P>
+<H3>Methods</H3>
+<UL>
+<LI><A href=Fl_Clock_Output.Fl_Clock_Output>Fl_Clock_Output</A></LI>
+<LI><A href=Fl_Clock_Output.~Fl_Clock_Output>~Fl_Clock_Output</A></LI>
+<LI><A href=Fl_Clock_Output.hour>hour</A></LI>
+<LI><A href=Fl_Clock_Output.minute>minute</A></LI>
+<LI><A href=Fl_Clock_Output.second>second</A></LI>
+<LI><A href=Fl_Clock_Output.value>value</A></LI>
+</UL>
+<H4><A name=Fl_Clock_Output.Fl_Clock_Output>Fl_Clock_Output::Fl_Clock_Output(int x, int y, int w,
+int h, const char *label = 0)</A></H4>
+ Creates a new <TT>Fl_Clock_Output</TT> widget using the given position, size,
+and label string. The default boxtype is <TT>FL_NO_BOX</TT>.
+<H4><A name=Fl_Clock_Output.~Fl_Clock_Output>virtual Fl_Clock_Output::~Fl_Clock_Output()</A></H4>
+ The destructor removes the clock.
+<H4><A name=Fl_Clock_Output.hour>int Fl_Clock_Output::hour() const</A></H4>
+ Returns the current hour (0 to 23).
+<H4><A name=Fl_Clock_Output.minute>int Fl_Clock_Output::minute() const</A></H4>
+ Returns the current minute (0 to 59).
+<H4><A name=Fl_Clock_Output.second>int Fl_Clock_Output::second() const</A></H4>
+ Returns the current second (0 to 60, 60 = leap second).
+<H4><A name=Fl_Clock_Output.value>void Fl_Clock_Output::value(ulong v)
+<BR> void Fl_Clock_Output::value(int h, int m, int s)
+<BR> ulong Fl_Clock_Output::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>