Mercurial > sdl-ios-xcode
comparison include/SDL_gesture.h @ 4679:5ee96ba0c01e
Fixed various type and print format issues
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 31 Jul 2010 20:38:37 -0700 |
parents | f8431f66613d |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
4678:f8431f66613d | 4679:5ee96ba0c01e |
---|---|
42 /* *INDENT-OFF* */ | 42 /* *INDENT-OFF* */ |
43 extern "C" { | 43 extern "C" { |
44 /* *INDENT-ON* */ | 44 /* *INDENT-ON* */ |
45 #endif | 45 #endif |
46 | 46 |
47 typedef Uint64 SDL_GestureID; | 47 typedef Sint64 SDL_GestureID; |
48 | 48 |
49 /* Function prototypes */ | 49 /* Function prototypes */ |
50 | 50 |
51 /** | 51 /** |
52 * \brief Begin Recording a gesture on the specified touch, or all touches (-1) | 52 * \brief Begin Recording a gesture on the specified touch, or all touches (-1) |
53 * | 53 * |
54 * | 54 * |
55 */ | 55 */ |
56 extern DECLSPEC int SDLCALL SDL_RecordGesture(SDL_TouchID touchId); | 56 extern DECLSPEC int SDLCALL SDL_RecordGesture(SDL_TouchID touchId); |
57 | 57 |
58 | 58 |
59 /** | 59 /** |
60 * \brief Save all currently loaded Dollar Gesture templates | 60 * \brief Save all currently loaded Dollar Gesture templates |
61 * | 61 * |
62 * | 62 * |
63 */ | 63 */ |
64 extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *src); | 64 extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *src); |
65 | 65 |
66 /** | 66 /** |
67 * \brief Save a currently loaded Dollar Gesture template | 67 * \brief Save a currently loaded Dollar Gesture template |
68 * | 68 * |
69 * | 69 * |
70 */ | 70 */ |
71 extern DECLSPEC int | 71 extern DECLSPEC int SDLCALL SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *src); |
72 SDLCALL SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *src); | |
73 | 72 |
74 | 73 |
75 /** | 74 /** |
76 * \brief Load Dollar Gesture templates from a file | 75 * \brief Load Dollar Gesture templates from a file |
77 * | 76 * |
78 * | 77 * |
79 */ | 78 */ |
80 extern DECLSPEC | 79 extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src); |
81 int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src); | |
82 | |
83 | 80 |
84 | 81 |
85 /* Ends C function definitions when using C++ */ | 82 /* Ends C function definitions when using C++ */ |
86 #ifdef __cplusplus | 83 #ifdef __cplusplus |
87 /* *INDENT-OFF* */ | 84 /* *INDENT-OFF* */ |