include/SDL_events.h
changeset 4659 063b9455bd1a
parent 4658 454385d76845
child 4661 03dcb795c583
     1.1 --- a/include/SDL_events.h	Fri Jul 09 00:50:40 2010 -0700
     1.2 +++ b/include/SDL_events.h	Sun Jul 11 01:15:39 2010 -0400
     1.3 @@ -36,6 +36,8 @@
     1.4  #include "SDL_mouse.h"
     1.5  #include "SDL_joystick.h"
     1.6  #include "SDL_quit.h"
     1.7 +#include "SDL_gesture.h"
     1.8 +#include "SDL_touch.h"
     1.9  
    1.10  #include "begin_code.h"
    1.11  /* Set up for C function definitions, even when using C++ */
    1.12 @@ -95,6 +97,7 @@
    1.13  
    1.14      /*Gesture events*/
    1.15      SDL_DOLLARGESTURE     = 0x800,
    1.16 +    SDL_DOLLARRECORD,
    1.17      SDL_MULTIGESTURE,
    1.18  
    1.19      /* Obsolete events */
    1.20 @@ -359,9 +362,10 @@
    1.21      Uint32 type;        /**< ::SDL_DOLLARGESTURE */
    1.22      Uint32 windowID;    /**< The window with mouse focus, if any */
    1.23      Uint8 touchId;        /**< The touch device index */
    1.24 -    Uint8 gestureId;
    1.25 +    Uint8 padding1;
    1.26      Uint8 padding2;
    1.27      Uint8 padding3;
    1.28 +    unsigned long gestureId;
    1.29      float error;
    1.30    /*
    1.31      //TODO: Enable to give location?