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

A touch event. More...

#include <Coherent/UI/InputEvents.h>

Public Attributes

int X
 The X position where the touch happened in pixels in the space of the view.
 
int Y
 The Y position where the touch happened in pixels in the space of the view.
 
unsigned Id
 Identifies a particular touch input. This value must stay consistent in a touch contact sequence.
 
EventType Type
 The type of the touch event.
 
bool HasRadiusInformation
 Flags if there is contact radius information for this event.
 
unsigned RadiusX
 The X radius of the contact (must be set only if HasRadiusInformation == true)
 
unsigned RadiusY
 The Y radius of the contact (must be set only if HasRadiusInformation == true)
 

Detailed Description

A touch event.