zenilib
0.5.3.0
|
#include "SDL_config.h"
Go to the source code of this file.
Functions | |
int | SDL_GestureAddTouch (SDL_TouchID touchId) |
void | SDL_GestureProcessEvent (SDL_Event *event) |
int | SDL_RecordGesture (SDL_TouchID touchId) |
Begin Recording a gesture on the specified touch, or all touches (-1) More... | |
int SDL_GestureAddTouch | ( | SDL_TouchID | touchId | ) |
Definition at line 412 of file SDL_gesture.c.
References SDL_FALSE, SDL_gestureTouch, SDL_numGestureTouches, SDL_OutOfMemory, and SDL_realloc().
Referenced by SDL_AddTouch().
Definition at line 485 of file SDL_gesture.c.
References dollarNormalize(), DOLLARNPOINTS, dollarRecognize(), error, i, MAXPATHSIZE, NULL, recordAll, SDL_AddDollarGesture(), SDL_atan2(), SDL_FALSE, SDL_FINGERDOWN, SDL_FINGERMOTION, SDL_FINGERUP, SDL_gestureTouch, SDL_GetGestureTouch(), SDL_numGestureTouches, SDL_SendDollarRecord(), SDL_SendGestureDollar(), SDL_SendGestureMulti(), SDL_sqrt(), SDL_Event::tfinger, SDL_TouchFingerEvent::touchId, and SDL_Event::type.
Referenced by SDL_PushEvent().
int SDL_RecordGesture | ( | SDL_TouchID | touchId | ) |
Begin Recording a gesture on the specified touch, or all touches (-1)
Definition at line 93 of file SDL_gesture.c.
References i, recordAll, SDL_gestureTouch, SDL_numGestureTouches, and SDL_TRUE.