API Documentation
Public Attributes | List of all members
nkWinUi::WheelEventData Struct Referencefinal

Data holder for a wheel event. More...

Public Attributes

nkMaths::Point _mouseRel
 The mouse's position at event time, relative to the component it is currently hovering.
 
float _delta = 0.f
 Wheel's delta.
 
bool _ctrlDown = false
 If ctrl key is down (true) or not (false).
 
bool _leftButtonDown = false
 If the left mouse button is down (true) or not (false).
 
bool _middleButtonDown = false
 If the middle mouse button is down (true) or not (false).
 
bool _rightButtonDown = false
 If the right mouse button is down (true) or not (false).
 
bool _shiftKeyDown = false
 If the shift key is down (true) or not (false).
 
bool _xButton1Down = false
 If the mouse x1 button is down (true) or not (false).
 
bool _xButton2Down = false
 If the mouse x2 button is down (true) or not (false).
 

Detailed Description

Data holder for a wheel event.


The documentation for this struct was generated from the following file: