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

A touch event. More...

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