Gosu
Public Attributes | List of all members
Gosu::Touch Struct Reference

Struct that saves information about a touch on the surface of a multi-touch device. More...

Public Attributes

void * id
 Allows for identification of a touch across calls. More...
 
double x
 Position of a touch on the touch screen. More...
 
double y
 

Detailed Description

Struct that saves information about a touch on the surface of a multi-touch device.

(Right now this is only supported on iOS.)

Definition at line 16 of file Input.hpp.

Member Data Documentation

◆ id

void* Gosu::Touch::id

Allows for identification of a touch across calls.

Definition at line 19 of file Input.hpp.

◆ x

double Gosu::Touch::x

Position of a touch on the touch screen.

Definition at line 21 of file Input.hpp.

◆ y

double Gosu::Touch::y

Definition at line 21 of file Input.hpp.


The documentation for this struct was generated from the following file: