From 29d9e31c51e6c11d6e33abf9bc4551afd9de3836 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 31 Jan 2022 22:27:17 +0100 Subject: Consolidate timeout handling across platforms (#379) Add Fl_Timeout class Move platform independent code of Fl::wait() to main part - basic timeout handling - Fl::run_checks() - Fl::run_idle() - Fl::idle() - waiting time calculation (next timeout) - remove platform dependent "screen driver" stuff --- src/Fl_Screen_Driver.H | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Fl_Screen_Driver.H') diff --git a/src/Fl_Screen_Driver.H b/src/Fl_Screen_Driver.H index 027b30077..1f6c80f98 100644 --- a/src/Fl_Screen_Driver.H +++ b/src/Fl_Screen_Driver.H @@ -114,11 +114,6 @@ public: virtual void get_system_colors() {} /* the default implementation of get_system_scheme() may be enough */ virtual const char *get_system_scheme(); - // --- global timers - virtual void add_timeout(double, Fl_Timeout_Handler, void *) {} - virtual void repeat_timeout(double, Fl_Timeout_Handler, void *) {} - virtual int has_timeout(Fl_Timeout_Handler, void *) { return 0; } - virtual void remove_timeout(Fl_Timeout_Handler, void *) {} static int secret_input_character; /* Implement to indicate whether complex text input may involve marked text. -- cgit v1.2.3