From 87dd7f0d23eba5c09e71ec6efeb34c6844f5e95f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 29 Dec 1998 14:21:17 +0000 Subject: Revised documentation files. git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Timer.html | 81 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 documentation/Fl_Timer.html (limited to 'documentation/Fl_Timer.html') diff --git a/documentation/Fl_Timer.html b/documentation/Fl_Timer.html new file mode 100644 index 000000000..950ec82a3 --- /dev/null +++ b/documentation/Fl_Timer.html @@ -0,0 +1,81 @@ + + + +
+ +

class Fl_Timer

+ +
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +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 Fl::add_timeout() instead. + +

Methods

+ + + +

Fl_Timer::Fl_Timer(uchar type, int x, int y, int w, int h, const char *label = 0)

+ +Creates a new Fl_Timer widget using the given type, position, size, and +label string. The type parameter can be any of the following symbolic +constants: + + + +

virtual Fl_Timer::~Fl_Timer()

+ +Destroys the timer and removes the timeout. + +

char direction() const
+void direction(char d)

+ +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 +value(). + +

char suspended() const
+void suspended(char d)

+ +Gets or sets whether the timer is suspended. + +

float value() const
+void value(float)

+ +Gets or sets the current timer value. + + + -- cgit v1.2.3