summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-09-26 12:30:36 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-09-26 12:31:20 +0200
commit75273c06c5e8e5b1a73bd8897d5265a87dbf30ca (patch)
tree8b69e65fb124a13336453a91401d90086b2912e8 /FL
parent0a2f05a2fe2898ee1407319a6764018fdf54e562 (diff)
Add Fl_Timestamp Fl::distant_past()
Can be handy when Fl::seconds_since() is used early at program startup
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 25d5dcabd..da6d8191e 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -476,6 +476,7 @@ public:
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();