The HTouchInfo class encapsulates touch events.
More...
#include <HEventInfo.h>
|
| HTouchInfo (float x, float y, float timestamp, int taps, MVO_POINTER_SIZED_UINT ident, bool active=true) |
|
| HTouchInfo () |
|
void | Init (float x=0.0f, float y=0.0f, float timestamp=0.0f, int taps=0, MVO_POINTER_SIZED_UINT ident=0, bool active=true) |
|
The HTouchInfo class encapsulates touch events.
HTouchInfo stores location and other information about touch events
HTouchInfo::HTouchInfo |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
timestamp, |
|
|
int |
taps, |
|
|
MVO_POINTER_SIZED_UINT |
ident, |
|
|
bool |
active = true |
|
) |
| |
|
inline |
Constructs an HTouchInfo object.
- Parameters
-
view | A pointer to the HBaseView object. |
x | The X coordinate of the touch event, in window space. |
y | The Y coordinate of the touch event, in window space. |
timestamp | The time when the touch has occured |
taps | Number of "taps" (one or more consecutive touches interpreted as one touch) |
ident | Unique identifier |
active | Touch is active |
HTouchInfo::HTouchInfo |
( |
| ) |
|
|
inline |
void HTouchInfo::Init |
( |
float |
x = 0.0f , |
|
|
float |
y = 0.0f , |
|
|
float |
timestamp = 0.0f , |
|
|
int |
taps = 0 , |
|
|
MVO_POINTER_SIZED_UINT |
ident = 0 , |
|
|
bool |
active = true |
|
) |
| |
|
inline |
HTouchInfo Initializer
- Parameters
-
x | The X coordinate of the touch event, in window space. |
y | The Y coordinate of the touch event, in window space. |
timestamp | The time when the touch has occured |
taps | Number of "taps" (one or more consecutive touches interpreted as one touch) |
ident | Unique identifier |
active | Touch is active |
bool HTouchInfo::m_bActive |
MVO_POINTER_SIZED_UINT HTouchInfo::m_id |
number of consecutive touches interpreted as one touch
float HTouchInfo::m_timestamp |
Time when the touch has occured
x coordinate of touch in window space
y coordinate of touch in window space
The documentation for this class was generated from the following file: