API Documentation
WheelEventData.h
1 // WheelEventData.h
3 //
5 
6 namespace nkWinUi
7 {
11  struct WheelEventData final
12  {
14 
15  float _delta = 0.f ;
16 
17  bool _ctrlDown = false ;
18  bool _leftButtonDown = false ;
19  bool _middleButtonDown = false ;
20  bool _rightButtonDown = false ;
21  bool _shiftKeyDown = false ;
22  bool _xButton1Down = false ;
23  bool _xButton2Down = false ;
24  } ;
25 }
nkWinUi::WheelEventData::_delta
float _delta
Wheel's delta.
Definition: WheelEventData.h:15
nkWinUi::WheelEventData::_mouseRel
nkMaths::Point _mouseRel
The mouse's position at event time, relative to the component it is currently hovering.
Definition: WheelEventData.h:13
nkWinUi::WheelEventData::_xButton2Down
bool _xButton2Down
If the mouse x2 button is down (true) or not (false).
Definition: WheelEventData.h:23
nkWinUi::WheelEventData::_leftButtonDown
bool _leftButtonDown
If the left mouse button is down (true) or not (false).
Definition: WheelEventData.h:18
nkWinUi::WheelEventData::_ctrlDown
bool _ctrlDown
If ctrl key is down (true) or not (false).
Definition: WheelEventData.h:17
nkMaths::Point
Represents a 2D Point.
Definition: Point.h:12
nkWinUi::WheelEventData::_xButton1Down
bool _xButton1Down
If the mouse x1 button is down (true) or not (false).
Definition: WheelEventData.h:22
nkWinUi::WheelEventData::_shiftKeyDown
bool _shiftKeyDown
If the shift key is down (true) or not (false).
Definition: WheelEventData.h:21
nkWinUi::WheelEventData
Data holder for a wheel event.
Definition: WheelEventData.h:12
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
nkWinUi::WheelEventData::_rightButtonDown
bool _rightButtonDown
If the right mouse button is down (true) or not (false).
Definition: WheelEventData.h:20
nkWinUi::WheelEventData::_middleButtonDown
bool _middleButtonDown
If the middle mouse button is down (true) or not (false).
Definition: WheelEventData.h:19