The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
gui2::ttimer Struct Reference

Public Member Functions

 ttimer ()
 

Public Attributes

SDL_TimerID sdl_id
 
Uint32 interval
 
std::function< void(size_t id)> callback
 

Detailed Description

Definition at line 27 of file timer.cpp.

Constructor & Destructor Documentation

gui2::ttimer::ttimer ( )
inline

Definition at line 29 of file timer.cpp.

Member Data Documentation

std::function<void(size_t id)> gui2::ttimer::callback

Definition at line 35 of file timer.cpp.

Referenced by gui2::add_timer().

Uint32 gui2::ttimer::interval

Definition at line 34 of file timer.cpp.

Referenced by gui2::add_timer().

SDL_TimerID gui2::ttimer::sdl_id

Definition at line 33 of file timer.cpp.

Referenced by gui2::add_timer().


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