The Battle for Wesnoth  1.15.3+dev
Public Member Functions | Private Attributes | List of all members
sdl::UserEvent Class Reference

#include <userevent.hpp>

Public Member Functions

 UserEvent ()
 
 UserEvent (int type)
 
 UserEvent (int type, int code)
 
 UserEvent (int type, int code, std::size_t data1, std::size_t data2)
 
 UserEvent (int type, void *data1)
 
 operator SDL_UserEvent ()
 

Private Attributes

SDL_UserEvent event_
 

Detailed Description

Definition at line 23 of file userevent.hpp.

Constructor & Destructor Documentation

◆ UserEvent() [1/5]

sdl::UserEvent::UserEvent ( )
inline

Definition at line 26 of file userevent.hpp.

References event_.

◆ UserEvent() [2/5]

sdl::UserEvent::UserEvent ( int  type)
inline

Definition at line 31 of file userevent.hpp.

References event_.

◆ UserEvent() [3/5]

sdl::UserEvent::UserEvent ( int  type,
int  code 
)
inline

Definition at line 36 of file userevent.hpp.

References event_.

◆ UserEvent() [4/5]

sdl::UserEvent::UserEvent ( int  type,
int  code,
std::size_t  data1,
std::size_t  data2 
)
inline

Definition at line 41 of file userevent.hpp.

References event_.

◆ UserEvent() [5/5]

sdl::UserEvent::UserEvent ( int  type,
void *  data1 
)
inline

Definition at line 48 of file userevent.hpp.

References event_.

Member Function Documentation

◆ operator SDL_UserEvent()

sdl::UserEvent::operator SDL_UserEvent ( )
inline

Definition at line 53 of file userevent.hpp.

References event_.

Member Data Documentation

◆ event_

SDL_UserEvent sdl::UserEvent::event_
private

Definition at line 59 of file userevent.hpp.

Referenced by operator SDL_UserEvent(), and UserEvent().


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