57 m_uiModifiers(uiModifiers)
111 eC_UInt m_uiModifiers;
131 const eC_UInt& uiKey,
133 const eC_UInt& uiModifiers = 0) :
136 m_eKeyIdentifier(eKeyIdentifier)
155 return m_eKeyIdentifier;
190 const eC_Int& iX = 0,
191 const eC_Int& iY = 0,
192 const eC_Bool& bLeftButton =
false,
193 const eC_Bool& bRightButton =
false,
194 const eC_UInt& uiModifiers = 0,
195 const eC_Value& vWheelDelta = 0) :
199 m_bLeftButtonPressed(bLeftButton),
200 m_bRightButtonPressed(bRightButton),
201 m_vWheelDelta(vWheelDelta)
231 return m_vWheelDelta;
239 return m_bLeftButtonPressed;
247 return m_bRightButtonPressed;
260 eC_Bool m_bLeftButtonPressed;
262 eC_Bool m_bRightButtonPressed;
265 eC_Value m_vWheelDelta;
EventType_t
List of event type ids.
Definition: GUIEventTypeResource.h:65
@ ET_KEYDOWN
Definition: GUIEventTypeResource.h:68
@ ET_LBUTTONUP
Definition: GUIEventTypeResource.h:68
@ ET_MOUSEWHEEL
Definition: GUIEventTypeResource.h:68
@ ET_RBUTTONDOWN
Definition: GUIEventTypeResource.h:68
@ ET_HOTKEYUP
Definition: GUIEventTypeResource.h:68
@ ET_MOUSEMOVE
Definition: GUIEventTypeResource.h:68
@ ET_KEYUP
Definition: GUIEventTypeResource.h:68
@ ET_RBUTTONUP
Definition: GUIEventTypeResource.h:68
@ ET_HOTKEYDOWN
Definition: GUIEventTypeResource.h:68
@ ET_LBUTTONDOWN
Definition: GUIEventTypeResource.h:68
@ ET_CHAR
Definition: GUIEventTypeResource.h:68
GUIKeyIdentifier_t
Platform independent key identifiers.
Definition: GUIEventTypeResource.h:207
Base class for Guiliani Events.
Definition: GUIEvent.h:26
Modifier_t
Definition: GUIEvent.h:41
@ GKM_SHIFT
Shift key.
Definition: GUIEvent.h:43
@ GKM_ALT
Alt key.
Definition: GUIEvent.h:45
@ GKM_META
Additional modifier, depends on CGUIInputMedia implementation.
Definition: GUIEvent.h:46
@ GKM_CONTROL
Control key.
Definition: GUIEvent.h:44
@ GKM_NONE
No Modifier.
Definition: GUIEvent.h:42
EventSource_t
Definition: GUIEvent.h:31
@ ES_NONE
Class of event unknown.
Definition: GUIEvent.h:32
@ ES_MOUSE
Class of event is mouse event.
Definition: GUIEvent.h:34
@ ES_KEYBOARD
Class of event is keyboard event.
Definition: GUIEvent.h:33
EventSource_t GetEventSource() const
Definition: GUIEvent.h:83
EventType_t GetType() const
Definition: GUIEvent.h:67
CGUIEvent(const EventType_t &eType, const eC_UInt &uiModifiers)
Definition: GUIEvent.h:55
virtual ~CGUIEvent()
Destructor.
Definition: GUIEvent.h:62
eC_UInt GetModifiers() const
Definition: GUIEvent.h:75
Represents platform-independent keyboard events.
Definition: GUIEvent.h:121
CGUIKeyboardEvent(const EventType_t &eType, const eC_UInt &uiKey, const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers=0)
Definition: GUIEvent.h:129
GUIKeyIdentifier_t GetKeyIdentifier() const
Definition: GUIEvent.h:153
eC_UInt GetKeyContent() const
Definition: GUIEvent.h:145
Represents platform-independent mouse events.
Definition: GUIEvent.h:177
eC_Value GetWheelDelta() const
Definition: GUIEvent.h:229
eC_Bool IsLeftButtonPressed() const
Definition: GUIEvent.h:237
CGUIMouseEvent(const EventType_t &eType, const eC_Int &iX=0, const eC_Int &iY=0, const eC_Bool &bLeftButton=false, const eC_Bool &bRightButton=false, const eC_UInt &uiModifiers=0, const eC_Value &vWheelDelta=0)
Definition: GUIEvent.h:188
eC_Int GetY() const
Definition: GUIEvent.h:218
eC_Int GetX() const
Definition: GUIEvent.h:210
eC_Bool IsRightButtonPressed() const
Definition: GUIEvent.h:245