summaryrefslogtreecommitdiff
path: root/src/Fl_Timeout.h
AgeCommit message (Collapse)Author
3 dayswipmaxim nikonov
2025-11-28Add method to list running timeouts (#1306).Matthias Melcher
\see Fl::timeout_list();
2024-06-21Add Fl::remove_next_timeout(...) to remove only one timeout (#992)Albrecht Schlosser
This method also returns the data pointer of the removed timeout. This new method is generally useful for user code and particularly necessary to fix issue #991. Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2022-10-20Improve and clarify documentation of timeout functionsAlbrecht Schlosser
Some functions didn't document the handling of arguments properly, particularly Fl::has_timeout() and Fl::remove_timeout(). This is now fixed by documenting the correct behavior that was preserved (re-implemented) from FLTK 1.3.x in the new class Fl_Timeout. Unfortunately there have been some inconsistencies (likely unexpected behavior) which have been preserved and which are now documented.
2022-06-17Improve reliability of timeout handling (#450, part 1)Albrecht Schlosser
This commit prevents "timer loops" without intermediate event handling if callback handling takes longer than the timer delay of repeating timers. For more details see GitHub issue #450.
2022-02-03Fl_Timeout: Remove compiler warning [-Wclass-memaccess]Albrecht Schlosser
Also: fix doxygen warning
2022-01-31Consolidate timeout handling across platforms (#379)Albrecht Schlosser
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