Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working).
2 SDL - Simple DirectMedia Layer
3 Copyright (C) 1997-2010 Sam Lantinga
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 * Include file for SDL gesture event handling.
29 #ifndef _SDL_gesture_h
30 #define _SDL_gesture_h
32 #include "SDL_stdinc.h"
33 #include "SDL_error.h"
34 #include "SDL_video.h"
36 #include "SDL_touch.h"
39 #include "begin_code.h"
40 /* Set up for C function definitions, even when using C++ */
47 typedef Uint64 SDL_GestureID;
49 /* Function prototypes */
52 * \brief Begin Recording a gesture on the specified touch, or all touches (-1)
56 extern DECLSPEC int SDLCALL SDL_RecordGesture(SDL_TouchID touchId);
60 * \brief Save all currently loaded Dollar Gesture templates
64 extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *src);
67 * \brief Save a currently loaded Dollar Gesture template
72 SDLCALL SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *src);
76 * \brief Load Dollar Gesture templates from a file
81 int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src);
85 /* Ends C function definitions when using C++ */
91 #include "close_code.h"
93 #endif /* _SDL_gesture_h */
95 /* vi: set ts=4 sw=4 expandtab: */