API Documentation
InputDescriptor.h
1 // InputDescriptor.h
3 //
5 
6 namespace nkWinUi
7 {
13  class InputDescriptor final
14  {
15  public :
16 
22  InputDescriptor (const KeyEventData& keyEvent) noexcept ;
28  InputDescriptor (const ClickEventData& clickEvent) noexcept ;
34  InputDescriptor (const MouseMoveEventData& mouseMoveEvent) noexcept ;
40  InputDescriptor (const WheelEventData& wheelEvent) noexcept ;
45 
46  // Getters
50  EVENT_TYPE getType () const ;
54  const KeyEventData& getKeyEvent () const ;
58  const ClickEventData& getClickEvent () const ;
66  const WheelEventData& getWheelEvent () const ;
67  } ;
68 }
nkWinUi::ClickEventData
Data holder for a click event.
Definition: ClickEventData.h:12
nkWinUi::KeyEventData
Data holder for a key event.
Definition: KeyEventData.h:12
nkWinUi::MouseMoveEventData
Data holder for a mouse move event.
Definition: MouseMoveEventData.h:12
nkWinUi::InputDescriptor::InputDescriptor
InputDescriptor(const KeyEventData &keyEvent) noexcept
nkWinUi::InputDescriptor::InputDescriptor
InputDescriptor(const WheelEventData &wheelEvent) noexcept
nkWinUi::InputDescriptor::InputDescriptor
InputDescriptor(const ClickEventData &clickEvent) noexcept
nkWinUi::InputDescriptor::InputDescriptor
InputDescriptor(const MouseMoveEventData &mouseMoveEvent) noexcept
nkWinUi::InputDescriptor::~InputDescriptor
~InputDescriptor()
nkWinUi::InputDescriptor::getWheelEvent
const WheelEventData & getWheelEvent() const
nkWinUi::EVENT_TYPE
EVENT_TYPE
Represents an event type.
Definition: EventTypes.h:12
nkWinUi::InputDescriptor
Describes an input event.
Definition: InputDescriptor.h:14
nkWinUi::InputDescriptor::getType
EVENT_TYPE getType() const
nkWinUi::InputDescriptor::getMouseMoveEvent
const MouseMoveEventData & getMouseMoveEvent() const
nkWinUi::InputDescriptor::getClickEvent
const ClickEventData & getClickEvent() const
nkWinUi::WheelEventData
Data holder for a wheel event.
Definition: WheelEventData.h:12
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
nkWinUi::InputDescriptor::getKeyEvent
const KeyEventData & getKeyEvent() const