comparison include/SDL_events.h @ 4659:063b9455bd1a

Added some files I had previosuly missed
author Jim Grandpre <jim.tla@gmail.com>
date Sun, 11 Jul 2010 01:15:39 -0400
parents 454385d76845
children 03dcb795c583
comparison
equal deleted inserted replaced
4658:454385d76845 4659:063b9455bd1a
34 #include "SDL_video.h" 34 #include "SDL_video.h"
35 #include "SDL_keyboard.h" 35 #include "SDL_keyboard.h"
36 #include "SDL_mouse.h" 36 #include "SDL_mouse.h"
37 #include "SDL_joystick.h" 37 #include "SDL_joystick.h"
38 #include "SDL_quit.h" 38 #include "SDL_quit.h"
39 #include "SDL_gesture.h"
40 #include "SDL_touch.h"
39 41
40 #include "begin_code.h" 42 #include "begin_code.h"
41 /* Set up for C function definitions, even when using C++ */ 43 /* Set up for C function definitions, even when using C++ */
42 #ifdef __cplusplus 44 #ifdef __cplusplus
43 /* *INDENT-OFF* */ 45 /* *INDENT-OFF* */
93 SDL_TOUCHBUTTONDOWN, 95 SDL_TOUCHBUTTONDOWN,
94 SDL_TOUCHBUTTONUP, 96 SDL_TOUCHBUTTONUP,
95 97
96 /*Gesture events*/ 98 /*Gesture events*/
97 SDL_DOLLARGESTURE = 0x800, 99 SDL_DOLLARGESTURE = 0x800,
100 SDL_DOLLARRECORD,
98 SDL_MULTIGESTURE, 101 SDL_MULTIGESTURE,
99 102
100 /* Obsolete events */ 103 /* Obsolete events */
101 SDL_EVENT_COMPAT1 = 0x7000, /**< SDL 1.2 events for compatibility */ 104 SDL_EVENT_COMPAT1 = 0x7000, /**< SDL 1.2 events for compatibility */
102 SDL_EVENT_COMPAT2, 105 SDL_EVENT_COMPAT2,
357 typedef struct SDL_DollarGestureEvent 360 typedef struct SDL_DollarGestureEvent
358 { 361 {
359 Uint32 type; /**< ::SDL_DOLLARGESTURE */ 362 Uint32 type; /**< ::SDL_DOLLARGESTURE */
360 Uint32 windowID; /**< The window with mouse focus, if any */ 363 Uint32 windowID; /**< The window with mouse focus, if any */
361 Uint8 touchId; /**< The touch device index */ 364 Uint8 touchId; /**< The touch device index */
362 Uint8 gestureId; 365 Uint8 padding1;
363 Uint8 padding2; 366 Uint8 padding2;
364 Uint8 padding3; 367 Uint8 padding3;
368 unsigned long gestureId;
365 float error; 369 float error;
366 /* 370 /*
367 //TODO: Enable to give location? 371 //TODO: Enable to give location?
368 float x; //currently 0...1. Change to screen coords? 372 float x; //currently 0...1. Change to screen coords?
369 float y; 373 float y;