The Battle for Wesnoth  1.19.7+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 24 of file userevent.hpp.

Constructor & Destructor Documentation

◆ UserEvent() [1/5]

sdl::UserEvent::UserEvent ( )
inline

Definition at line 27 of file userevent.hpp.

References event_.

◆ UserEvent() [2/5]

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

Definition at line 32 of file userevent.hpp.

References event_.

◆ UserEvent() [3/5]

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

Definition at line 37 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 42 of file userevent.hpp.

References event_.

◆ UserEvent() [5/5]

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

Definition at line 49 of file userevent.hpp.

References event_.

Member Function Documentation

◆ operator SDL_UserEvent()

sdl::UserEvent::operator SDL_UserEvent ( )
inline

Definition at line 54 of file userevent.hpp.

References event_.

Member Data Documentation

◆ event_

SDL_UserEvent sdl::UserEvent::event_
private

Definition at line 60 of file userevent.hpp.

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


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