Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::PhysicalComponents::Event Struct Reference

#include <EventListener.h>

Inheritance diagram for Teddy::PhysicalComponents::Event:

Inheritance graph
[legend]
Collaboration diagram for Teddy::PhysicalComponents::Event:

Collaboration graph
[legend]
List of all members.

Public Attributes

int type
SDL_keysym key
int item_id
int state
Teddy::Maths::TVector2< int > pos
Teddy::Maths::TVector2< int > delta
int x
int y
int dx
int dy

Static Public Attributes

const int Event_ID = 0
const int WindowEvent_ID = 1
const int WindowFocusActiveEvent_ID = 2
const int WindowPopupOpenEvent_ID = 3
const int WindowPopupCloseEvent_ID = 4
const int WindowMoveEvent_ID = 5
const int WindowSizeEventEvent_ID = 6
const int WindowToFrontEvent_ID = 7
const int WindowToBackEvent_ID = 8
const int WindowSplitUpdateEvent_ID = 9
const int MouseButtonDownEvent_ID = 10
const int MouseButtonUpEvent_ID = 11
const int MouseMotionEvent_ID = 12
const int MouseDragEvent_ID = 13
const int MouseHoldDragEvent_ID = 14
const int KeyEvent_ID = 15
const int KeyDownEvent_ID = 16
const int KeyUpEvent_ID = 17
const int JoyEvent_ID = 18
const int JoyButtonEvent_ID = 19
const int JoyAxisEvent_ID = 20
const int JoyHatEvent_ID = 21
const int JoyBallEvent_ID = 22

Member Data Documentation

Teddy::Maths::TVector2<int> Teddy::PhysicalComponents::Event::delta
 

Definition at line 44 of file EventListener.h.

Referenced by Teddy::PhysicalComponents::JoyBallEvent::JoyBallEvent, Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent, Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent, and Teddy::PhysicalComponents::MouseMotionEvent::MouseMotionEvent.

int Teddy::PhysicalComponents::Event::dx
 

Definition at line 44 of file EventListener2.h.

Referenced by Teddy::PhysicalComponents::JoyBallEvent::JoyBallEvent, Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent, Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent, and Teddy::PhysicalComponents::MouseMotionEvent::MouseMotionEvent.

int Teddy::PhysicalComponents::Event::dy
 

Definition at line 45 of file EventListener2.h.

Referenced by Teddy::PhysicalComponents::JoyBallEvent::JoyBallEvent, Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent, Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent, and Teddy::PhysicalComponents::MouseMotionEvent::MouseMotionEvent.

const int Teddy::PhysicalComponents::Event::Event_ID = 0 [static]
 

Definition at line 40 of file EventListener.cpp.

int Teddy::PhysicalComponents::Event::item_id
 

Definition at line 40 of file EventListener2.h.

Referenced by Teddy::PhysicalComponents::JoyAxisEvent::JoyAxisEvent, Teddy::PhysicalComponents::JoyBallEvent::JoyBallEvent, Teddy::PhysicalComponents::JoyButtonEvent::JoyButtonEvent, Teddy::PhysicalComponents::JoyHatEvent::JoyHatEvent, Teddy::PhysicalComponents::MouseButtonDownEvent::MouseButtonDownEvent, Teddy::PhysicalComponents::MouseButtonEvent::MouseButtonEvent, Teddy::PhysicalComponents::MouseButtonUpEvent::MouseButtonUpEvent, Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent, and Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent.

const int Teddy::PhysicalComponents::Event::JoyAxisEvent_ID = 20 [static]
 

Definition at line 60 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::JoyAxisEvent::JoyAxisEvent.

const int Teddy::PhysicalComponents::Event::JoyBallEvent_ID = 22 [static]
 

Definition at line 62 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::JoyBallEvent::JoyBallEvent.

const int Teddy::PhysicalComponents::Event::JoyButtonEvent_ID = 19 [static]
 

Definition at line 59 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::JoyButtonEvent::JoyButtonEvent.

const int Teddy::PhysicalComponents::Event::JoyEvent_ID = 18 [static]
 

Definition at line 58 of file EventListener.cpp.

const int Teddy::PhysicalComponents::Event::JoyHatEvent_ID = 21 [static]
 

Definition at line 61 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::JoyHatEvent::JoyHatEvent.

SDL_keysym Teddy::PhysicalComponents::Event::key
 

Definition at line 39 of file EventListener2.h.

Referenced by Teddy::PhysicalComponents::KeyDownEvent::KeyDownEvent, and Teddy::PhysicalComponents::KeyUpEvent::KeyUpEvent.

const int Teddy::PhysicalComponents::Event::KeyDownEvent_ID = 16 [static]
 

Definition at line 56 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::KeyDownEvent::KeyDownEvent.

const int Teddy::PhysicalComponents::Event::KeyEvent_ID = 15 [static]
 

Definition at line 55 of file EventListener.cpp.

const int Teddy::PhysicalComponents::Event::KeyUpEvent_ID = 17 [static]
 

Definition at line 57 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::KeyUpEvent::KeyUpEvent.

const int Teddy::PhysicalComponents::Event::MouseButtonDownEvent_ID = 10 [static]
 

Definition at line 50 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::MouseButtonDownEvent::MouseButtonDownEvent.

const int Teddy::PhysicalComponents::Event::MouseButtonUpEvent_ID = 11 [static]
 

Definition at line 51 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::MouseButtonUpEvent::MouseButtonUpEvent.

const int Teddy::PhysicalComponents::Event::MouseDragEvent_ID = 13 [static]
 

Definition at line 53 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent.

const int Teddy::PhysicalComponents::Event::MouseHoldDragEvent_ID = 14 [static]
 

Definition at line 54 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent.

const int Teddy::PhysicalComponents::Event::MouseMotionEvent_ID = 12 [static]
 

Definition at line 52 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::MouseMotionEvent::MouseMotionEvent.

Teddy::Maths::TVector2<int> Teddy::PhysicalComponents::Event::pos
 

Definition at line 43 of file EventListener.h.

Referenced by Teddy::PhysicalComponents::MouseButtonDownEvent::MouseButtonDownEvent, Teddy::PhysicalComponents::MouseButtonUpEvent::MouseButtonUpEvent, Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent, Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent, and Teddy::PhysicalComponents::MouseMotionEvent::MouseMotionEvent.

int Teddy::PhysicalComponents::Event::state
 

Definition at line 41 of file EventListener2.h.

Referenced by Teddy::PhysicalComponents::JoyAxisEvent::JoyAxisEvent, Teddy::PhysicalComponents::JoyButtonEvent::JoyButtonEvent, Teddy::PhysicalComponents::JoyHatEvent::JoyHatEvent, Teddy::PhysicalComponents::MouseButtonDownEvent::MouseButtonDownEvent, Teddy::PhysicalComponents::MouseButtonEvent::MouseButtonEvent, Teddy::PhysicalComponents::MouseButtonUpEvent::MouseButtonUpEvent, and Teddy::PhysicalComponents::WindowFocusActiveEvent::WindowFocusActiveEvent.

int Teddy::PhysicalComponents::Event::type
 

Definition at line 38 of file EventListener2.h.

Referenced by Teddy::PhysicalComponents::JoyAxisEvent::JoyAxisEvent, Teddy::PhysicalComponents::JoyBallEvent::JoyBallEvent, Teddy::PhysicalComponents::JoyButtonEvent::JoyButtonEvent, Teddy::PhysicalComponents::JoyHatEvent::JoyHatEvent, Teddy::PhysicalComponents::KeyDownEvent::KeyDownEvent, Teddy::PhysicalComponents::KeyUpEvent::KeyUpEvent, Teddy::PhysicalComponents::MouseButtonDownEvent::MouseButtonDownEvent, Teddy::PhysicalComponents::MouseButtonEvent::MouseButtonEvent, Teddy::PhysicalComponents::MouseButtonUpEvent::MouseButtonUpEvent, Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent, Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent, Teddy::PhysicalComponents::MouseMotionEvent::MouseMotionEvent, Teddy::PhysicalComponents::WindowFocusActiveEvent::WindowFocusActiveEvent, Teddy::PhysicalComponents::WindowMoveEvent::WindowMoveEvent, Teddy::PhysicalComponents::WindowPopupCloseEvent::WindowPopupCloseEvent, Teddy::PhysicalComponents::WindowPopupOpenEvent::WindowPopupOpenEvent, Teddy::PhysicalComponents::WindowSizeEventEvent::WindowSizeEventEvent, Teddy::PhysicalComponents::WindowSplitUpdateEvent::WindowSplitUpdateEvent, Teddy::PhysicalComponents::WindowToBackEvent::WindowToBackEvent, and Teddy::PhysicalComponents::WindowToFrontEvent::WindowToFrontEvent.

const int Teddy::PhysicalComponents::Event::WindowEvent_ID = 1 [static]
 

Definition at line 41 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowFocusActiveEvent::WindowFocusActiveEvent.

const int Teddy::PhysicalComponents::Event::WindowFocusActiveEvent_ID = 2 [static]
 

Definition at line 42 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowFocusActiveEvent::WindowFocusActiveEvent.

const int Teddy::PhysicalComponents::Event::WindowMoveEvent_ID = 5 [static]
 

Definition at line 45 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowMoveEvent::WindowMoveEvent.

const int Teddy::PhysicalComponents::Event::WindowPopupCloseEvent_ID = 4 [static]
 

Definition at line 44 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowPopupCloseEvent::WindowPopupCloseEvent.

const int Teddy::PhysicalComponents::Event::WindowPopupOpenEvent_ID = 3 [static]
 

Definition at line 43 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowPopupOpenEvent::WindowPopupOpenEvent.

const int Teddy::PhysicalComponents::Event::WindowSizeEventEvent_ID = 6 [static]
 

Definition at line 46 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowSizeEventEvent::WindowSizeEventEvent.

const int Teddy::PhysicalComponents::Event::WindowSplitUpdateEvent_ID = 9 [static]
 

Definition at line 49 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowSplitUpdateEvent::WindowSplitUpdateEvent.

const int Teddy::PhysicalComponents::Event::WindowToBackEvent_ID = 8 [static]
 

Definition at line 48 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowToBackEvent::WindowToBackEvent.

const int Teddy::PhysicalComponents::Event::WindowToFrontEvent_ID = 7 [static]
 

Definition at line 47 of file EventListener.cpp.

Referenced by Teddy::PhysicalComponents::WindowToFrontEvent::WindowToFrontEvent.

int Teddy::PhysicalComponents::Event::x
 

Definition at line 42 of file EventListener2.h.

Referenced by Teddy::PhysicalComponents::MouseButtonEvent::MouseButtonEvent, Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent, Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent, and Teddy::PhysicalComponents::MouseMotionEvent::MouseMotionEvent.

int Teddy::PhysicalComponents::Event::y
 

Definition at line 43 of file EventListener2.h.

Referenced by Teddy::PhysicalComponents::MouseButtonEvent::MouseButtonEvent, Teddy::PhysicalComponents::MouseDragEvent::MouseDragEvent, Teddy::PhysicalComponents::MouseHoldDragEvent::MouseHoldDragEvent, and Teddy::PhysicalComponents::MouseMotionEvent::MouseMotionEvent.


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