Oxygine  1
2g game engine
Public Types | Public Member Functions | Public Attributes | List of all members
oxygine::KeyEvent Class Reference

#include <KeyEvent.h>

Inheritance diagram for oxygine::KeyEvent:
oxygine::Event

Public Types

enum  KEY_EVENT { KEY_DOWN = sysEventID('K', 'E', 'D'), KEY_UP = sysEventID('K', 'E', 'U') }
 
- Public Types inherited from oxygine::Event
enum  { COMPLETE = sysEventID('C', 'M', 'P') }
 
enum  Phase { phase_capturing = 1, phase_target, phase_bubbling }
 

Public Member Functions

 KeyEvent (KEY_EVENT k, SDL_KeyboardEvent *d)
 
- Public Member Functions inherited from oxygine::Event
 Event (eventType Type, bool Bubbles=false)
 
void stopPropagation ()
 
void stopImmediatePropagation ()
 
void removeListener ()
 

Public Attributes

SDL_KeyboardEvent * data
 
- Public Attributes inherited from oxygine::Event
eventType type
 
Phase phase
 
bool bubbles
 
bool stopsImmediatePropagation
 
bool stopsPropagation
 
void * userData
 
spObject userDataObject
 
int listenerID
 
spEventDispatcher target
 
spEventDispatcher currentTarget
 

Detailed Description

supported only on SDL


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