Interface of the HEventInfo class.
More...
#include "HTools.h"
#include "HUtility.h"
Go to the source code of this file.
|
#define | MVO_ALT 1<<3 |
|
#define | MVO_CONTROL 1<<1 |
|
#define | MVO_DOWN_ARROW 1<<16 |
|
#define | MVO_JOYSTICK_BUTTON_1 1<<17 |
|
#define | MVO_JOYSTICK_BUTTON_2 1<<18 |
|
#define | MVO_JOYSTICK_BUTTON_3 1<<19 |
|
#define | MVO_JOYSTICK_BUTTON_4 1<<20 |
|
#define | MVO_JOYSTICK_BUTTON_5 1<<21 |
|
#define | MVO_JOYSTICK_BUTTON_6 1<<22 |
|
#define | MVO_JOYSTICK_BUTTON_7 1<<23 |
|
#define | MVO_JOYSTICK_BUTTON_8 1<<24 |
|
#define | MVO_LBUTTON 1<<4 |
|
#define | MVO_LEFT_ALT 1<<12 |
|
#define | MVO_LEFT_ARROW 1<<13 |
|
#define | MVO_LEFT_CONTROL 1<<10 |
|
#define | MVO_LEFT_SHIFT 1<<11 |
|
#define | MVO_MBUTTON 1<<5 |
|
#define | MVO_RBUTTON 1<<6 |
|
#define | MVO_RIGHT_ALT 1<<9 |
|
#define | MVO_RIGHT_ARROW 1<<15 |
|
#define | MVO_RIGHT_CONTROL 1<<7 |
|
#define | MVO_RIGHT_SHIFT 1<<8 |
|
#define | MVO_SHIFT 1<<2 |
|
#define | MVO_UP_ARROW 1<<14 |
|
|
enum | HEventType {
HE_NoEvent,
HE_LButtonDown,
HE_LButtonUp,
HE_LButtonDblClk,
HE_MButtonDown,
HE_MButtonUp,
HE_MButtonDblClk,
HE_RButtonDown,
HE_RButtonUp,
HE_RButtonDblClk,
HE_MouseMove,
HE_MouseWheel,
HE_MouseWheelUp,
HE_MouseWheelDown,
HE_Timer,
HE_KeyDown,
HE_KeyUp,
HE_Selection,
HE_JoyStickTranslate,
HE_JoyStickRotate,
HE_JoyStickButton,
HE_TouchesDown,
HE_TouchesUp,
HE_TouchesMove
} |
|
Interface of the HEventInfo class.
Encapsulates information associated with an event including the type (timer, keypress or button), location in various coordinates systems, and mouse state
◆ HEventType
Defines mouse state, keyboard and timer event types
Enumerator |
---|
HE_NoEvent | No event ooccurred.
|
HE_LButtonDown | The left mouse button was pressed.
|
HE_LButtonUp | The left mouse button is up.
|
HE_LButtonDblClk | The left mouse button was double-clicked.
|
HE_MButtonDown | The middle mouse button was pressed.
|
HE_MButtonUp | The middle mouse button is up.
|
HE_MButtonDblClk | The middle mouse button was double-clicked.
|
HE_RButtonDown | The right mouse button was pressed.
|
HE_RButtonUp | The right mouse button is up.
|
HE_RButtonDblClk | The right mouse button was double-clicked.
|
HE_MouseMove | The mouse cursor has moved.
|
HE_MouseWheel | The mouse wheel has moved.
|
HE_MouseWheelUp | The mouse wheel was scrolled up.
|
HE_MouseWheelDown | The mouse wheel was scrolled down.
|
HE_Timer | self-explanatory
|
HE_KeyDown | A key on the keyboard was pressed.
|
HE_KeyUp | A key on the keyboard was released.
|
HE_Selection | A general selection event.
|
HE_JoyStickTranslate | A 3D Translation vector from a 3D Mouse/Joystick.
|
HE_JoyStickRotate | A set of Rotation values from a 3D Mouse/Joystick.
|
HE_JoyStickButton | A button press from a 3D Mouse/Joystick.
|
HE_TouchesDown | A touch down event has occured.
|
HE_TouchesUp | A touch up event has occured.
|
HE_TouchesMove | A touch move event has occured.
|