Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InputEvent Struct Reference

#include <guidefs.h>

Public Member Functions

 InputEvent (InputEventType t, unsigned int c, EventModMask m, const Point &l)
 
 InputEvent ()
 

Public Attributes

InputEventType type
 
unsigned int code
 
EventModMask mask
 
Point loc
 

Detailed Description

Definition at line 185 of file guidefs.h.

Constructor & Destructor Documentation

InputEvent::InputEvent ( InputEventType  t,
unsigned int  c,
EventModMask  m,
const Point l 
)
inline

Definition at line 193 of file guidefs.h.

193  :
194  type( t )
195  , code( c )
196  , mask( m )
197  , loc( l ) {}
InputEvent::InputEvent ( )
inline

Definition at line 198 of file guidefs.h.

198  : type( MOUSE_UP_EVENT )
200  , mask( 0 )
201  , loc( Point( 0, 0 ) ) {}

Member Data Documentation

EventModMask InputEvent::mask

Definition at line 189 of file guidefs.h.

InputEventType InputEvent::type

Definition at line 187 of file guidefs.h.

Referenced by EventManager::sendInputEvent().


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