1.7.2.9
Gameface
cohtml::TouchEventData Struct Reference

A touch event. More...

Public Types

enum  EventType { TouchMove, TouchDown, TouchUp }
 

Public Attributes

int X
 The X position where the touch happened in pixels in the space of the view. More...
 
int Y
 The Y position where the touch happened in pixels in the space of the view. More...
 
unsigned Id
 Identifies a particular touch input. This value must stay consistent in a touch contact sequence. More...
 
EventType Type
 The type of the touch event. More...
 
EventModifiersState Modifiers
 Key modifiers. More...
 

Detailed Description

A touch event.

Member Enumeration Documentation

◆ EventType

Enumerator
TouchMove 
TouchDown 
TouchUp 

Member Data Documentation

◆ Id

unsigned cohtml::TouchEventData::Id

Identifies a particular touch input. This value must stay consistent in a touch contact sequence.

◆ Modifiers

EventModifiersState cohtml::TouchEventData::Modifiers

Key modifiers.

◆ Type

EventType cohtml::TouchEventData::Type

The type of the touch event.

◆ X

int cohtml::TouchEventData::X

The X position where the touch happened in pixels in the space of the view.

◆ Y

int cohtml::TouchEventData::Y

The Y position where the touch happened in pixels in the space of the view.