Coherent UI  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Coherent::UI::MouseEventData Struct Reference

A mouse event. More...

#include <Coherent/UI/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.