|
SDL 2.0
|
#include "SDL_stdinc.h"#include "SDL_error.h"#include "SDL_video.h"#include "SDL_touch.h"#include "begin_code.h"#include "close_code.h"
Include dependency graph for SDL_gesture.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Typedefs | |
| typedef Sint64 | SDL_GestureID |
Functions | |
| int | SDL_RecordGesture (SDL_TouchID touchId) |
| int | SDL_SaveAllDollarTemplates (SDL_RWops *dst) |
| int | SDL_SaveDollarTemplate (SDL_GestureID gestureId, SDL_RWops *dst) |
| int | SDL_LoadDollarTemplates (SDL_TouchID touchId, SDL_RWops *src) |
Include file for SDL gesture event handling.
Definition in file SDL_gesture.h.
| typedef Sint64 SDL_GestureID |
Definition at line 44 of file SDL_gesture.h.
|
extern |
Load Dollar Gesture templates from a file.
| touchId | a touch id |
| src | a SDL_RWops to load from |
|
extern |
Begin recording a gesture on a specified touch device or all touch devices.
If the parameter touchId is -1 (i.e., all devices), this function will always return 1, regardless of whether there actually are any devices.
| touchId | the touch device id, or -1 for all touch devices |
|
extern |
Save all currently loaded Dollar Gesture templates.
| dst | a SDL_RWops to save to |
|
extern |
Save a currently loaded Dollar Gesture template.
| gestureId | a gesture id |
| dst | a SDL_RWops to save to |