Mercurial > sdl-ios-xcode
comparison include/SDL_gesture.h @ 4664:317a151b79ad
Bug fixes, now using RWops instead of File pointers.
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Fri, 16 Jul 2010 20:48:43 -0400 |
parents | 063b9455bd1a |
children | f8431f66613d |
comparison
equal
deleted
inserted
replaced
4662:3c4e0130c9b1 | 4664:317a151b79ad |
---|---|
55 /** | 55 /** |
56 * \brief Save all currently loaded Dollar Gesture templates | 56 * \brief Save all currently loaded Dollar Gesture templates |
57 * | 57 * |
58 * | 58 * |
59 */ | 59 */ |
60 extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(FILE *fp); | 60 extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *src); |
61 | 61 |
62 /** | 62 /** |
63 * \brief Save a currently loaded Dollar Gesture template | 63 * \brief Save a currently loaded Dollar Gesture template |
64 * | 64 * |
65 * | 65 * |
66 */ | 66 */ |
67 extern DECLSPEC int | 67 extern DECLSPEC int |
68 SDLCALL SDL_SaveDollarTemplate(unsigned long gestureId,FILE *fp); | 68 SDLCALL SDL_SaveDollarTemplate(unsigned long gestureId,SDL_RWops *src); |
69 | 69 |
70 | 70 |
71 /** | 71 /** |
72 * \brief Load Dollar Gesture templates from a file | 72 * \brief Load Dollar Gesture templates from a file |
73 * | 73 * |
74 * | 74 * |
75 */ | 75 */ |
76 extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(int touchId, FILE *fp); | 76 extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(int touchId, SDL_RWops *src); |
77 | 77 |
78 | 78 |
79 | 79 |
80 /* Ends C function definitions when using C++ */ | 80 /* Ends C function definitions when using C++ */ |
81 #ifdef __cplusplus | 81 #ifdef __cplusplus |