30 #ifndef GUI_WIDGETS_AUXILIARY_TIMER_HPP_INCLUDED
31 #define GUI_WIDGETS_AUXILIARY_TIMER_HPP_INCLUDED
35 #include <SDL_types.h>
54 const std::function<
void(
size_t id)>& callback,
55 const bool repeat =
false);
bool remove_timer(const size_t id)
Removes a timer.
A class inherited from ttext_box that displays its input as stars.
bool execute_timer(const size_t id)
Executes a timer.
size_t add_timer(const Uint32 interval, const std::function< void(size_t id)> &callback, const bool repeat)
Adds a new timer.