PointerEvent struct
#include <GGUI/Public/UIEvents.h>
A pointer event, as a handler hears it.
Public functions
Public variables
- float X
- pointer position, document space
- float Y
- pointer position, document space
- float LocalX
- relative to the top left of Current
- float LocalY
- relative to the top left of Current
- float DX
- OnDrag: movement since the last event.
- float DY
- OnDrag: movement since the last event.
- NodeHandle Target
- the element the event was first sent to
- NodeHandle Current
- the element whose handler is running
- PointerButton Button
- which button
- uint8_t Clicks
- 1 = single, 2 = double
- uint16_t Mods
- UIMods.
- bool bCancelled
- OnRelease: the pointer was taken away rather than released.
- bool bKeyboard
- OnClick: sent by keyboard activation, so it has no position.
- float WheelX
- OnWheel: notches turned.
- float WheelY
- OnWheel: notches turned; away from the user is positive.