All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Public Member Functions
GUI::Timer_Callback Struct Reference

Timer callback type. More...

#include <gui_tk.h>

Inheritance diagram for GUI::Timer_Callback:
GUI::Input InputWithEnterKey

List of all members.

Public Member Functions

virtual Ticks timerExpired (Ticks time)=0
 The timer has expired.

Detailed Description

Timer callback type.

Definition at line 753 of file gui_tk.h.

Member Function Documentation

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().

The documentation for this struct was generated from the following file: