From 4d9805537bd8a34d2a9b920148710ff98cf83d6b Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:23:08 +0200 Subject: Change prototype to Fl::now(double offset = 0) --- FL/Fl.H | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'FL/Fl.H') diff --git a/FL/Fl.H b/FL/Fl.H index da6d8191e..dc1d040c4 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -471,12 +471,11 @@ public: static int has_check(Fl_Timeout_Handler, void* = 0); static void remove_check(Fl_Timeout_Handler, void* = 0); - static Fl_Timestamp now(); + static Fl_Timestamp now(double delay = 0); static double seconds_since(Fl_Timestamp& then); static double seconds_between(Fl_Timestamp& back, Fl_Timestamp& further_back); static long ticks_since(Fl_Timestamp& then); static long ticks_between(Fl_Timestamp& back, Fl_Timestamp& further_back); - static const Fl_Timestamp distant_past(); // private static void run_idle(); -- cgit v1.2.3