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...
 
float x
 Position of a touch on the touch screen. More...
 
float y
 

Detailed Description

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

Available even on non-iPhone platforms to make it easier to compile the same source for multiple platforms.

Definition at line 42 of file Input.hpp.

Member Data Documentation

◆ id

void* Gosu::Touch::id

Allows for identification of a touch across calls.

Definition at line 45 of file Input.hpp.

◆ x

float Gosu::Touch::x

Position of a touch on the touch screen.

Definition at line 47 of file Input.hpp.

◆ y

float Gosu::Touch::y

Definition at line 47 of file Input.hpp.


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