2.9.16
Coherent GT
A modern user interface library for games
Coherent::UIGT::MouseEventData Struct Reference

A mouse event. More...

#include <Coherent/Coherent/UIGT/InputEvents.h>

Public Attributes

EventType Type
 The type of the event.
 
MouseButton Button
 The mouse button that triggered the event.
 
int X
 The X position of the mouse in pixels in the space of the view.
 
int Y
 The Y position of the mouse in pixels in the space of the view.
 
float WheelX
 Scroll Delta X in wheel ticks. Positive numbers mean scrolling left.
 
float WheelY
 Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up.
 
EventModifiersState Modifiers
 Key modifiers.
 
EventMouseModifiersState MouseModifiers
 Mouse modifiers.
 

Detailed Description

A mouse event.