#include <gui_tk.h>
Public Member Functions | |
virtual Ticks | timerExpired (Ticks time)=0 |
The timer has expired. |
virtual Ticks GUI::Timer_Callback::timerExpired | ( | Ticks | time | ) | [pure virtual] |
The timer has expired.
Callbacks for timers take one parameter, the number of ticks since application start. Note that this value may wrap after a little less than 500 days. If you want callbacks to be called again, return the delay in ticks relative to the scheduled time of this callback (which may be earlier than now() ). Otherwise return 0.
Implemented in GUI::Input.
Referenced by GUI::Timer::check().