Public Member Functions

test_utils::event_node_mouse_click Class Reference

Used to create SDL_MOUSEBUTTONDOWN/UP events with correct x,y values. More...

#include <fake_event_source.hpp>

Inheritance diagram for test_utils::event_node_mouse_click:
Inheritance graph
[legend]
Collaboration diagram for test_utils::event_node_mouse_click:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 event_node_mouse_click (size_t time, SDL_Event &event)
virtual void fire_event ()
 Used to fire sdl event stored in this object.

Detailed Description

Used to create SDL_MOUSEBUTTONDOWN/UP events with correct x,y values.

Definition at line 97 of file fake_event_source.hpp.


Constructor & Destructor Documentation

test_utils::event_node_mouse_click::event_node_mouse_click ( size_t  time,
SDL_Event &  event 
)

Definition at line 81 of file fake_event_source.cpp.


Member Function Documentation

void test_utils::event_node_mouse_click::fire_event (  )  [virtual]

Used to fire sdl event stored in this object.

Child class may extend or override functionality

Reimplemented from test_utils::event_node.

Definition at line 83 of file fake_event_source.cpp.

References test_utils::event_node::event_.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:26:07 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs