#include <Gesture.h>
Public Types | |
enum | GestureEvent { GESTURE_TAP = 0, GESTURE_SWIPE, GESTURE_PINCH, GESTURE_LONG_TAP, GESTURE_DRAG, GESTURE_DROP, GESTURE_ANY_SUPPORTED = -1 } |
Static Public Attributes | |
static const int | SWIPE_DIRECTION_UP = 1 << 0 |
static const int | SWIPE_DIRECTION_DOWN = 1 << 1 |
static const int | SWIPE_DIRECTION_LEFT = 1 << 2 |
static const int | SWIPE_DIRECTION_RIGHT = 1 << 3 |
Defines a gesture touch screen event.
The gesture event type.
const int gameplay::Gesture::SWIPE_DIRECTION_DOWN = 1 << 1 [static] |
The down direction for a swipe event.
const int gameplay::Gesture::SWIPE_DIRECTION_LEFT = 1 << 2 [static] |
The left direction for a swipe event.
const int gameplay::Gesture::SWIPE_DIRECTION_RIGHT = 1 << 3 [static] |
The right direction for a swipe event.
const int gameplay::Gesture::SWIPE_DIRECTION_UP = 1 << 0 [static] |
The up direction for a swipe event.