Describes an input event.
More...
Describes an input event.
This class is used to describe simulated events within components. See Component::simulateEvent().
◆ InputDescriptor() [1/4]
nkWinUi::InputDescriptor::InputDescriptor |
( |
const KeyEventData & |
keyEvent | ) |
|
|
noexcept |
Key event constructor.
- Parameters
-
keyEvent | The key event to use as an input. |
◆ InputDescriptor() [2/4]
nkWinUi::InputDescriptor::InputDescriptor |
( |
const ClickEventData & |
clickEvent | ) |
|
|
noexcept |
Click event constructor.
- Parameters
-
clickEvent | The click event to use as an input. |
◆ InputDescriptor() [3/4]
Mouse move event constructor.
- Parameters
-
mouseMoveEvent | The mouse move event to use as an input. |
◆ InputDescriptor() [4/4]
nkWinUi::InputDescriptor::InputDescriptor |
( |
const WheelEventData & |
wheelEvent | ) |
|
|
noexcept |
Mouse wheel event constructor.
- Parameters
-
wheelEvent | The mouse weel event to use as an input. |
◆ ~InputDescriptor()
nkWinUi::InputDescriptor::~InputDescriptor |
( |
| ) |
|
◆ getType()
EVENT_TYPE nkWinUi::InputDescriptor::getType |
( |
| ) |
const |
- Returns
- The associated event type.
◆ getKeyEvent()
const KeyEventData& nkWinUi::InputDescriptor::getKeyEvent |
( |
| ) |
const |
- Returns
- The associated key event data.
◆ getClickEvent()
const ClickEventData& nkWinUi::InputDescriptor::getClickEvent |
( |
| ) |
const |
- Returns
- The associated click event data.
◆ getMouseMoveEvent()
- Returns
- The associated mouse move event data.
◆ getWheelEvent()
const WheelEventData& nkWinUi::InputDescriptor::getWheelEvent |
( |
| ) |
const |
- Returns
- The associated mouse wheel event data.
The documentation for this class was generated from the following file: