API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsWinUi
Inputs
ClickEventData.h
1
// ClickEventData.h
3
//
5
6
namespace
nkWinUi
7
{
11
struct
ClickEventData
final
12
{
13
nkMaths::Point
_mouseRel
;
14
15
MOUSE_BUTTON
_button
=
MOUSE_BUTTON::MOUSE_LEFT
;
16
17
bool
_pressed
= true ;
18
} ;
19
}
nkWinUi::ClickEventData
Data holder for a click event.
Definition:
ClickEventData.h:12
nkWinUi::ClickEventData::_button
MOUSE_BUTTON _button
The button pressed.
Definition:
ClickEventData.h:15
nkWinUi::MOUSE_BUTTON
MOUSE_BUTTON
A mouse button identifier.
Definition:
InputCodes.h:12
nkWinUi::ClickEventData::_pressed
bool _pressed
Whether the event is a push (true) or release (false) event.
Definition:
ClickEventData.h:17
nkWinUi::MOUSE_BUTTON::MOUSE_LEFT
@ MOUSE_LEFT
Left mouse button.
nkMaths::Point
Represents a 2D Point.
Definition:
Point.h:12
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition:
Clipboard.h:7
nkWinUi::ClickEventData::_mouseRel
nkMaths::Point _mouseRel
Clicking position, relative to the calling component.
Definition:
ClickEventData.h:13
Generated by
Doxygen
1.8.18