diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 19:24:00 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 19:24:00 +0000 |
| commit | 09daf20b81cdae78772f07c0af22a571d7cc73eb (patch) | |
| tree | 1641f788cafe20b505355b0479ba0d528297eb30 /documentation/Fl_Timer.html | |
| parent | b105ab8b7fb6281635076559aae96f2b3b12fc51 (diff) | |
Documentation updates galore (up to chapter 7, still need to do chapter
8 and 9, tweek the appendices, and recapture the screenshots...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Timer.html')
| -rw-r--r-- | documentation/Fl_Timer.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/documentation/Fl_Timer.html b/documentation/Fl_Timer.html index 1ae611413..489f73d38 100644 --- a/documentation/Fl_Timer.html +++ b/documentation/Fl_Timer.html @@ -17,11 +17,11 @@ </PRE> </UL> <H3>Description</H3> - This is provided only to emulate the Forms Timer widget. It works by -making a timeout callback every 1/5 second. This is wasteful and -inaccurate if you just want something to happen a fixed time in the + This is provided only to emulate the Forms Timer widget. It works by +making a timeout callback every 1/5 second. This is wasteful and +inaccurate if you just want something to happen a fixed time in the future. You should directly call <A href=functions.html#add_timeout><TT> -Fl::add_timeout()</TT></A> instead. +Fl::add_timeout()</TT></A> instead. <H3>Methods</H3> <UL> <LI><A href=#Fl_Timer.Fl_Timer>Fl_Timer</A></LI> @@ -30,29 +30,29 @@ Fl::add_timeout()</TT></A> instead. <LI><A href=#Fl_Timer.suspended>suspended</A></LI> <LI><A href=#Fl_Timer.value>value</A></LI> </UL> -<H4><A name=Fl_Timer.Fl_Timer>Fl_Timer::Fl_Timer(uchar type, int x, int +<H4><A name=Fl_Timer.Fl_Timer>Fl_Timer::Fl_Timer(uchar type, int x, int y, int w, int h, const char *label = 0)</A></H4> - Creates a new <TT>Fl_Timer</TT> widget using the given type, position, -size, and label string. The <TT>type</TT> parameter can be any of the -following symbolic constants: + Creates a new <TT>Fl_Timer</TT> widget using the given type, position, +size, and label string. The <TT>type</TT> parameter can be any of the +following symbolic constants: <UL> -<LI><TT>FL_NORMAL_TIMER</TT> - The timer just does the callback and +<LI><TT>FL_NORMAL_TIMER</TT> - The timer just does the callback and displays the string "Timer" in the widget. </LI> -<LI><TT>FL_VALUE_TIMER</TT> - The timer does the callback and displays +<LI><TT>FL_VALUE_TIMER</TT> - The timer does the callback and displays the current timer value in the widget. </LI> -<LI><TT>FL_HIDDEN_TIMER</TT> - The timer just does the callback and +<LI><TT>FL_HIDDEN_TIMER</TT> - The timer just does the callback and does not display anything. </LI> </UL> <H4><A name=Fl_Timer.~Fl_Timer>virtual Fl_Timer::~Fl_Timer()</A></H4> - Destroys the timer and removes the timeout. + Destroys the timer and removes the timeout. <H4><A name=Fl_Timer.direction>char direction() const <BR> void direction(char d)</A></H4> - Gets or sets the direction of the timer. If the direction is zero -then the timer will count up, otherwise it will count down from the -initial <TT>value()</TT>. + Gets or sets the direction of the timer. If the direction is zero +then the timer will count up, otherwise it will count down from the +initial <TT>value()</TT>. <H4><A name=Fl_Timer.suspended>char suspended() const <BR> void suspended(char d)</A></H4> - Gets or sets whether the timer is suspended. + Gets or sets whether the timer is suspended. <H4><A name=Fl_Timer.value>float value() const <BR> void value(float)</A></H4> Gets or sets the current timer value. </BODY></HTML> |
