summaryrefslogtreecommitdiff
path: root/src/forms_timer.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2004-07-27 16:02:21 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2004-07-27 16:02:21 +0000
commit62c19c63d6d915b153a09be98f7da8e049f9b4e3 (patch)
treedb80481c3b09b7129033d15a7673ecf59cb902cb /src/forms_timer.cxx
parenta529510e5b8f84b15aacd103936df89bb767bb29 (diff)
More doco updates.
All of the core widgets now consistently set changed() before calling the callback function for a change in value; this allows programs to check the changed() state in a callback to see why they are being called (STR #475) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/forms_timer.cxx')
-rw-r--r--src/forms_timer.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/forms_timer.cxx b/src/forms_timer.cxx
index 1d413015e..eb08cb6f2 100644
--- a/src/forms_timer.cxx
+++ b/src/forms_timer.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: forms_timer.cxx,v 1.4.2.3.2.6 2004/04/11 04:39:00 easysw Exp $"
+// "$Id: forms_timer.cxx,v 1.4.2.3.2.7 2004/07/27 16:02:21 easysw Exp $"
//
// Forms timer object for the Fast Light Tool Kit (FLTK).
//
@@ -111,6 +111,7 @@ void Fl_Timer::step() {
redraw();
Fl::add_timeout(FL_TIMER_BLINKRATE, stepcb, this);
}
+ set_changed();
do_callback();
} else {
if (type() == FL_VALUE_TIMER) redraw();
@@ -162,5 +163,5 @@ void Fl_Timer::suspended(char d) {
}
//
-// End of "$Id: forms_timer.cxx,v 1.4.2.3.2.6 2004/04/11 04:39:00 easysw Exp $".
+// End of "$Id: forms_timer.cxx,v 1.4.2.3.2.7 2004/07/27 16:02:21 easysw Exp $".
//