include/SDL_events.h
changeset 6595 c6402c811a40
parent 6256 1d905b13b102
child 6596 b00cf2e4835c
equal deleted inserted replaced
6594:dccafb0699dc 6595:c6402c811a40
   436     SDL_TouchFingerEvent tfinger;   /**< Touch finger event data */
   436     SDL_TouchFingerEvent tfinger;   /**< Touch finger event data */
   437     SDL_TouchButtonEvent tbutton;   /**< Touch button event data */
   437     SDL_TouchButtonEvent tbutton;   /**< Touch button event data */
   438     SDL_MultiGestureEvent mgesture; /**< Multi Finger Gesture data */
   438     SDL_MultiGestureEvent mgesture; /**< Multi Finger Gesture data */
   439     SDL_DollarGestureEvent dgesture; /**< Multi Finger Gesture data */
   439     SDL_DollarGestureEvent dgesture; /**< Multi Finger Gesture data */
   440     SDL_DropEvent drop;             /**< Drag and drop event data */
   440     SDL_DropEvent drop;             /**< Drag and drop event data */
       
   441 
       
   442     /* This is necessary for ABI compatibility between Visual C++ and GCC
       
   443        Visual C++ will respect the push pack pragma and use 52 bytes for
       
   444        this structure, and GCC will use the alignment of the largest datatype
       
   445        within the union, which is 8 bytes.
       
   446 
       
   447        So... we'll add padding to force the size to be 56 bytes for both.
       
   448     */
       
   449     Uint8 padding[56];
   441 } SDL_Event;
   450 } SDL_Event;
   442 
   451 
   443 
   452 
   444 /* Function prototypes */
   453 /* Function prototypes */
   445 
   454