The Battle for Wesnoth  1.19.5+dev
Public Attributes | List of all members
gui2::timer Struct Reference

Public Attributes

SDL_TimerID sdl_id {0}
 
std::chrono::milliseconds interval {0}
 
std::function< void(std::size_t id)> callback {}
 

Detailed Description

Definition at line 29 of file timer.cpp.

Member Data Documentation

◆ callback

std::function<void(std::size_t id)> gui2::timer::callback {}

Definition at line 33 of file timer.cpp.

Referenced by gui2::add_timer().

◆ interval

std::chrono::milliseconds gui2::timer::interval {0}

Definition at line 32 of file timer.cpp.

Referenced by gui2::add_timer().

◆ sdl_id

SDL_TimerID gui2::timer::sdl_id {0}

Definition at line 31 of file timer.cpp.

Referenced by gui2::add_timer().


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