#include <TouchPoint.h>
Public Member Functions | |
| TouchPoint (const Vec2 &now=Vec2(), const Vec2 &before=Vec2(), unsigned int taps=0, float timestamp=0.0f, float holding=0.0f) | |
| const Vec2 & | getPointNow (void) const |
| const Vec2 & | getPointBefore (void) const |
| unsigned int | getTaps (void) const |
| float | getTimeStamp (void) const |
| float | getHolding (void) const |
| void | setPointNow (const Vec2 &) |
| void | setPointBefore (const Vec2 &) |
| void | setTaps (unsigned int) |
| void | setTimeStamp (float) |
| void | setHolding (float) |
Protected Attributes | |
| Vec2 | m_now |
| Vec2 | m_before |
| unsigned int | m_taps |
| float | m_interval |
| float | m_timestamp |
| float | m_holding |
Definition at line 12 of file TouchPoint.h.
| RenderTools::TouchPoint::TouchPoint | ( | const Vec2 & | now = Vec2(), |
|
| const Vec2 & | before = Vec2(), |
|||
| unsigned int | taps = 0, |
|||
| float | timestamp = 0.0f, |
|||
| float | holding = 0.0f | |||
| ) | [inline] |
Definition at line 14 of file TouchPoint.h.
| float RenderTools::TouchPoint::getHolding | ( | void | ) | const |
Definition at line 21 of file TouchPoint.cpp.
| const Vec2 & RenderTools::TouchPoint::getPointBefore | ( | void | ) | const |
Definition at line 9 of file TouchPoint.cpp.
| const Vec2 & RenderTools::TouchPoint::getPointNow | ( | void | ) | const |
Definition at line 5 of file TouchPoint.cpp.
| unsigned int RenderTools::TouchPoint::getTaps | ( | void | ) | const |
Definition at line 13 of file TouchPoint.cpp.
| float RenderTools::TouchPoint::getTimeStamp | ( | void | ) | const |
Definition at line 17 of file TouchPoint.cpp.
| void RenderTools::TouchPoint::setHolding | ( | float | t | ) |
Definition at line 41 of file TouchPoint.cpp.
| void RenderTools::TouchPoint::setPointBefore | ( | const Vec2 & | v | ) |
Definition at line 29 of file TouchPoint.cpp.
| void RenderTools::TouchPoint::setPointNow | ( | const Vec2 & | v | ) |
Definition at line 25 of file TouchPoint.cpp.
| void RenderTools::TouchPoint::setTaps | ( | unsigned int | t | ) |
Definition at line 33 of file TouchPoint.cpp.
| void RenderTools::TouchPoint::setTimeStamp | ( | float | t | ) |
Definition at line 37 of file TouchPoint.cpp.
Vec2 RenderTools::TouchPoint::m_before [protected] |
Definition at line 37 of file TouchPoint.h.
float RenderTools::TouchPoint::m_holding [protected] |
Definition at line 41 of file TouchPoint.h.
float RenderTools::TouchPoint::m_interval [protected] |
Definition at line 39 of file TouchPoint.h.
Vec2 RenderTools::TouchPoint::m_now [protected] |
Definition at line 36 of file TouchPoint.h.
unsigned int RenderTools::TouchPoint::m_taps [protected] |
Definition at line 38 of file TouchPoint.h.
float RenderTools::TouchPoint::m_timestamp [protected] |
Definition at line 40 of file TouchPoint.h.
1.5.8