Touch.h
Go to the documentation of this file.
1 #ifndef B_TOUCH_H
2 #define B_TOUCH_H
3 
4 #include <map>
5 
9 struct Touch
10 {
11  GLfloat startPositionX;
12  GLfloat startPositionY;
13  GLfloat lastPositionX;
14  GLfloat lastPositionY;
17 };
18 
19 /* Typedefs */
20 typedef std::map< int, Touch > TouchMap;
21 
22 #endif /* defined(B_TOUCH_H) */
GLfloat currentPositionY
Definition: Touch.h:16
GLfloat currentPositionX
Definition: Touch.h:15
GLfloat startPositionY
Definition: Touch.h:12
GLfloat startPositionX
Definition: Touch.h:11
An object that holds the characteristics of a touch on a touch screen.
Definition: Touch.h:9
std::map< int, Touch > TouchMap
Definition: Touch.h:20
GLfloat lastPositionY
Definition: Touch.h:14
GLfloat lastPositionX
Definition: Touch.h:13