Osiris Framework
0.3
|
Base event class. More...
#include <OsirisSDK/OEvent.h>
Public Types | |
enum | EventType { KeyboardPressEvent =1000, KeyboardReleaseEvent, MouseClickEvent, MouseActiveMoveEvent, MousePassiveMoveEvent, ResizeEvent } |
Public Member Functions | |
OEvent (EventType type) | |
Class constructor. More... | |
virtual | ~OEvent () |
Class destructor. | |
EventType | type () const |
Returns event type. | |
Base event class.
enum OEvent::EventType |
Enumerator | |
---|---|
KeyboardPressEvent |
Keyboard press event. Issues an OKeyboardPressEvent class object. |
KeyboardReleaseEvent |
Keyboard release event. Issues an OKeyboardPressEvent class object. |
MouseClickEvent |
Mouse click event. Issues an OMouseClickEvent. |
MouseActiveMoveEvent |
Mouse movement event with button pressed. Issues an OMouseMove class object. |
MousePassiveMoveEvent |
Passive mouse movement event. Issues an OMouseMove class object. |
ResizeEvent |
Screen resize event. Issues an OResizeEvent class object. |
OEvent::OEvent | ( | OEvent::EventType | type | ) |
Class constructor.
type | Event type. |