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_mouse Class Reference

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

Public Member Functions

 ttrigger_mouse (const tpoint &coordinate)
 
void operator() (tsignal_mouse_function functor, tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt)
 

Private Attributes

tpoint coordinate_
 

Detailed Description

Helper struct to wrap the functor call.

Definition at line 179 of file dispatcher.cpp.

Constructor & Destructor Documentation

gui2::event::ttrigger_mouse::ttrigger_mouse ( const tpoint coordinate)
inline

Definition at line 182 of file dispatcher.cpp.

Member Function Documentation

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

Definition at line 186 of file dispatcher.cpp.

References coordinate_, and functor().

Member Data Documentation

tpoint gui2::event::ttrigger_mouse::coordinate_
private

Definition at line 196 of file dispatcher.cpp.

Referenced by operator()().


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