SDL
2.0
|
#include "../SDL_internal.h"
Go to the source code of this file.
Functions | |
int | SDL_GestureAddTouch (SDL_TouchID touchId) |
int | SDL_GestureDelTouch (SDL_TouchID touchId) |
void | SDL_GestureProcessEvent (SDL_Event *event) |
void | SDL_GestureQuit (void) |
int SDL_GestureAddTouch | ( | SDL_TouchID | touchId | ) |
Definition at line 448 of file SDL_gesture.c.
References SDL_GestureTouch::id, SDL_numGestureTouches, SDL_OutOfMemory, SDL_realloc, and SDL_zero.
Referenced by SDL_AddTouch().
int SDL_GestureDelTouch | ( | SDL_TouchID | touchId | ) |
Definition at line 466 of file SDL_gesture.c.
References i, SDL_free, SDL_memcpy, SDL_numGestureTouches, and SDL_zero.
Referenced by SDL_DelTouch().
Definition at line 538 of file SDL_gesture.c.
References SDL_GestureTouch::centroid, dollarNormalize(), DOLLARNPOINTS, SDL_GestureTouch::dollarPath, dollarRecognize(), SDL_GestureTouch::dollarTemplate, SDL_DollarTemplate::hash, i, SDL_DollarPath::length, MAXPATHSIZE, NULL, SDL_GestureTouch::numDownFingers, SDL_DollarPath::numPoints, SDL_DollarPath::p, recordAll, SDL_GestureTouch::recording, SDL_AddDollarGesture(), SDL_atan2, SDL_FALSE, SDL_FINGERDOWN, SDL_FINGERMOTION, SDL_FINGERUP, SDL_GetGestureTouch(), SDL_numGestureTouches, SDL_SendDollarRecord(), SDL_SendGestureDollar(), SDL_SendGestureMulti(), SDL_sqrt, SDL_Event::tfinger, SDL_TouchFingerEvent::touchId, SDL_Event::type, SDL_FloatPoint::x, and SDL_FloatPoint::y.
Referenced by SDL_PushEvent().
Definition at line 104 of file SDL_gesture.c.
References NULL, and SDL_free.
Referenced by SDL_TouchQuit().