|
enum class | EventType : uint32_t {
Unknown
, MouseDown
, MouseMove
, MouseUp
,
MouseCancel
, MouseEnter
, MouseExit
, MouseWheel
,
ZoomGesture
, KeyUp
, KeyDown
} |
| EventType. More...
|
|
enum class | MouseButton : uint32_t {
None = 0
, Left = 1 << 1
, Middle = 1 << 2
, Right = 1 << 3
,
Fourth = 1 << 4
, Fifth = 1 << 5
} |
| MouseButton. More...
|
|
enum class | VirtualKey : uint32_t {
None = 0
, Back
, Tab
, Clear
,
Return
, Pause
, Escape
, Space
,
Next
, End
, Home
, Left
,
Up
, Right
, Down
, PageUp
,
PageDown
, Select
, Print
, Enter
,
Snapshot
, Insert
, Delete
, Help
,
NumPad0
, NumPad1
, NumPad2
, NumPad3
,
NumPad4
, NumPad5
, NumPad6
, NumPad7
,
NumPad8
, NumPad9
, Multiply
, Add
,
Separator
, Subtract
, Decimal
, Divide
,
F1
, F2
, F3
, F4
,
F5
, F6
, F7
, F8
,
F9
, F10
, F11
, F12
,
NumLock
, Scroll
, ShiftModifier
, ControlModifier
,
AltModifier
, Equals
} |
| VirtualKey. More...
|
|
enum class | ModifierKey : uint32_t {
Shift = 1 << 0
, Alt = 1 << 1
, Control = 1 << 2
, Super = 1 << 3
,
None = 0
} |
| ModifierKey. More...
|
|
|
template<typename EventT , typename OutputT = MousePositionEvent, typename MousePositionEventT = typename std::conditional< std::is_const_v<EventT>, typename std::add_const_t<OutputT>, OutputT>::type> |
MousePositionEventT * | asMousePositionEvent (EventT &event) |
| event as mouse position event or nullpointer if not a mouse position event More...
|
|
template<typename EventT , typename OutputT = MouseEvent, typename MouseEventT = typename std::conditional< std::is_const_v<EventT>, typename std::add_const_t<OutputT>, OutputT>::type> |
MouseEventT * | asMouseEvent (EventT &event) |
| event as mouse position event or nullpointer if not a mouse position event More...
|
|
template<typename EventT , typename OutputT = MouseDownEvent, typename MouseDownEventT = typename std::conditional< std::is_const_v<EventT>, typename std::add_const_t<OutputT>, OutputT>::type> |
MouseDownEventT * | asMouseDownEvent (EventT &event) |
| event as mouse down event or nullpointer if not a mouse down event More...
|
|
template<typename EventT , typename OutputT = ModifierEvent, typename ModifierEventT = typename std::conditional< std::is_const_v<EventT>, typename std::add_const_t<OutputT>, OutputT>::type> |
ModifierEventT * | asModifierEvent (EventT &event) |
| event as modifier event or nullpointer if not a modifier event More...
|
|
template<typename EventT , typename OutputT = KeyboardEvent, typename KeyboardEventT = typename std::conditional< std::is_const_v<EventT>, typename std::add_const_t<OutputT>, OutputT>::type> |
KeyboardEventT * | asKeyboardEvent (EventT &event) |
| event as keyboard event or nullpointer if not a keyboard event More...
|
|
MousePositionEvent & | castMousePositionEvent (Event &event) |
| cast event to a mouse position event More...
|
|
MouseEvent & | castMouseEvent (Event &event) |
| cast event to a mouse event More...
|
|
MouseDownEvent & | castMouseDownEvent (Event &event) |
| cast event to a mouse down event More...
|
|
MouseMoveEvent & | castMouseMoveEvent (Event &event) |
| cast event to a mouse move event More...
|
|
MouseUpEvent & | castMouseUpEvent (Event &event) |
| cast event to a mouse up event More...
|
|
MouseEnterEvent & | castMouseEnterEvent (Event &event) |
| cast event to a mouse enter event More...
|
|
MouseExitEvent & | castMouseExitEvent (Event &event) |
| cast event to a mouse exit event More...
|
|
MouseCancelEvent & | castMouseCancelEvent (Event &event) |
| cast event to a mouse cancel event More...
|
|
MouseWheelEvent & | castMouseWheelEvent (Event &event) |
| cast event to a mouse wheel event More...
|
|
ZoomGestureEvent & | castZoomGestureEvent (Event &event) |
| cast event to a zoom gesture event More...
|
|
KeyboardEvent & | castKeyboardEvent (Event &event) |
| cast event to a mouse wheel event More...
|
|
CButtonState | buttonStateFromEventModifiers (const Modifiers &mods) |
| convert from new Modifiers to old CButtonState More...
|
|
CButtonState | buttonStateFromMouseEvent (const MouseEvent &event) |
| convert from new MouseEvent to old CButtonState More...
|
|
unsigned char | toVstVirtualKey (VirtualKey key) |
| helper function to convert from new VirtualKey to old VstVirtualKey More...
|
|
virtual void | viewOnMouseEnabled (CView *view, bool state)=0 |
| called when a view's mouse handling is enabled or disabled More...
|
|