SDL_gesture.h 823 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef _SDL_gesture_h
  2. #define _SDL_gesture_h
  3. #include "SDL_stdinc.h"
  4. #include "SDL_error.h"
  5. #include "SDL_video.h"
  6. #include "SDL_touch.h"
  7. #include "begin_code.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. typedef Sint64 SDL_GestureID;
  12. typedef int SDLCALL tSDL_RecordGesture(SDL_TouchID touchId);
  13. typedef int SDLCALL tSDL_SaveAllDollarTemplates(SDL_RWops *src);
  14. typedef int SDLCALL tSDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *src);
  15. typedef int SDLCALL tSDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src);
  16. extern tSDL_RecordGesture *SDL_RecordGesture;
  17. extern tSDL_SaveAllDollarTemplates *SDL_SaveAllDollarTemplates;
  18. extern tSDL_SaveDollarTemplate *SDL_SaveDollarTemplate;
  19. extern tSDL_LoadDollarTemplates *SDL_LoadDollarTemplates;
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #include "close_code.h"
  24. #endif