summaryrefslogtreecommitdiff
path: root/FL/Fl_Timer.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-08-14 16:49:38 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-08-14 16:49:38 +0000
commite136d5e1454d406ac458f5503bdb6b4a76f03232 (patch)
tree75fa297ba180eb97b06493c68e243ee66bdc8bf9 /FL/Fl_Timer.H
parent1aecada52cd42120137dda305c263fde27518352 (diff)
More FL_EXPORT fun...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Timer.H')
-rw-r--r--FL/Fl_Timer.H22
1 files changed, 11 insertions, 11 deletions
diff --git a/FL/Fl_Timer.H b/FL/Fl_Timer.H
index bf8f6f939..71692171f 100644
--- a/FL/Fl_Timer.H
+++ b/FL/Fl_Timer.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Timer.H,v 1.5.2.3.2.1 2002/01/01 15:11:28 easysw Exp $"
+// "$Id: Fl_Timer.H,v 1.5.2.3.2.2 2002/08/14 16:49:38 easysw Exp $"
//
// Timer header file for the Fast Light Tool Kit (FLTK).
//
@@ -35,29 +35,29 @@
#define FL_VALUE_TIMER 1
#define FL_HIDDEN_TIMER 2
-class Fl_Timer : public Fl_Widget {
- static FL_EXPORT void stepcb(void *);
- FL_EXPORT void step();
+class FL_EXPORT Fl_Timer : public Fl_Widget {
+ static void stepcb(void *);
+ void step();
char on, direction_;
double delay, total;
long lastsec,lastusec;
protected:
- FL_EXPORT void draw();
+ void draw();
public:
- FL_EXPORT int handle(int);
- FL_EXPORT Fl_Timer(uchar t,int x,int y,int w,int h, const char *l);
- FL_EXPORT ~Fl_Timer();
- FL_EXPORT void value(double);
+ int handle(int);
+ Fl_Timer(uchar t,int x,int y,int w,int h, const char *l);
+ ~Fl_Timer();
+ void value(double);
double value() const {return delay>0.0?delay:0.0;}
char direction() const {return direction_;}
void direction(char d) {direction_ = d;}
char suspended() const {return !on;}
- FL_EXPORT void suspended(char d);
+ void suspended(char d);
};
#endif
//
-// End of "$Id: Fl_Timer.H,v 1.5.2.3.2.1 2002/01/01 15:11:28 easysw Exp $".
+// End of "$Id: Fl_Timer.H,v 1.5.2.3.2.2 2002/08/14 16:49:38 easysw Exp $".
//