The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
gui2::event::ttrigger_keyboard Class Reference

Helper struct to wrap the functor call. More...

Public Member Functions

 ttrigger_keyboard (const SDLKey key, const SDLMod modifier, const utf8::string &unicode)
 
void operator() (tsignal_keyboard_function functor, tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt)
 

Private Attributes

SDLKey key_
 
SDLMod modifier_
 
utf8::string unicode_
 

Detailed Description

Helper struct to wrap the functor call.

Definition at line 210 of file dispatcher.cpp.

Constructor & Destructor Documentation

gui2::event::ttrigger_keyboard::ttrigger_keyboard ( const SDLKey  key,
const SDLMod  modifier,
const utf8::string unicode 
)
inline

Definition at line 213 of file dispatcher.cpp.

Member Function Documentation

void gui2::event::ttrigger_keyboard::operator() ( tsignal_keyboard_function  functor,
tdispatcher dispatcher,
const tevent  event,
bool &  handled,
bool &  halt 
)
inline

Definition at line 220 of file dispatcher.cpp.

References functor(), key_, modifier_, and unicode_.

Member Data Documentation

SDLKey gui2::event::ttrigger_keyboard::key_
private

Definition at line 230 of file dispatcher.cpp.

Referenced by operator()().

SDLMod gui2::event::ttrigger_keyboard::modifier_
private

Definition at line 231 of file dispatcher.cpp.

Referenced by operator()().

utf8::string gui2::event::ttrigger_keyboard::unicode_
private

Definition at line 232 of file dispatcher.cpp.

Referenced by operator()().


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