From f7e4caec2575619b6578b866bb59630bb513049c Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Tue, 20 Jun 2000 05:47:38 +0000 Subject: Whoops, I screwed up the timeout callbacks a bit. add_timeout will now do the callback at time t after the call to add_timeout, like before. add_interval_timeout is a new call that measures time from when the last timeout was called. This has slightly less overhead and allows accurate spacing of timeouts. Patch from Stuart Levy so the *last* widget in an Fl_Pack may be resizable. This should be compatable because resizable didn't do anything before so there was no reason to set it. Makefiles for no-cygwin from Paul Baxter (see README.win32 for info). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl.H | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Fl.H b/FL/Fl.H index 9f0aece50..c5f7489af 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -1,5 +1,5 @@ // -// "$Id: Fl.H,v 1.8.2.7 2000/06/16 07:27:57 bill Exp $" +// "$Id: Fl.H,v 1.8.2.8 2000/06/20 05:47:32 bill Exp $" // // Main header file for the Fast Light Tool Kit (FLTK). // @@ -91,6 +91,7 @@ public: static FL_EXPORT int run(); static FL_EXPORT Fl_Widget* readqueue(); static FL_EXPORT void add_timeout(double t, Fl_Timeout_Handler,void* = 0); + static FL_EXPORT void add_interval_timeout(double t, Fl_Timeout_Handler,void* = 0); static FL_EXPORT int has_timeout(Fl_Timeout_Handler, void* = 0); static FL_EXPORT void remove_timeout(Fl_Timeout_Handler, void* = 0); static FL_EXPORT void add_fd(int fd, int when, void (*cb)(int,void*),void* =0); @@ -213,5 +214,5 @@ public: #endif // -// End of "$Id: Fl.H,v 1.8.2.7 2000/06/16 07:27:57 bill Exp $". +// End of "$Id: Fl.H,v 1.8.2.8 2000/06/20 05:47:32 bill Exp $". // -- cgit v1.2.3