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 | Private Attributes | List of all members
events::pump_info Struct Reference

#include <events.hpp>

Public Member Functions

 pump_info ()
 
int ticks (unsigned *refresh_counter=nullptr, unsigned refresh_rate=1)
 

Public Attributes

std::pair< int, intresize_dimensions
 

Private Attributes

int ticks_
 

Detailed Description

Definition at line 125 of file events.hpp.

Constructor & Destructor Documentation

events::pump_info::pump_info ( )
inline

Definition at line 126 of file events.hpp.

Member Function Documentation

int events::pump_info::ticks ( unsigned *  refresh_counter = nullptr,
unsigned  refresh_rate = 1 
)

Definition at line 640 of file events.cpp.

References ticks_.

Referenced by countdown_clock::process(), sound::music_thinker::process(), and events::pump().

Member Data Documentation

std::pair<int,int> events::pump_info::resize_dimensions

Definition at line 127 of file events.hpp.

Referenced by events::pump().

int events::pump_info::ticks_
private

Definition at line 130 of file events.hpp.

Referenced by ticks().


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