Mercurial > sdl-ios-xcode
comparison include/SDL_events.h @ 4658:454385d76845
Moved $1 Gestures into the SDL Library
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Fri, 09 Jul 2010 00:50:40 -0700 |
parents | eed063a0bf5b |
children | 063b9455bd1a |
comparison
equal
deleted
inserted
replaced
4657:eed063a0bf5b | 4658:454385d76845 |
---|---|
351 float dDist; | 351 float dDist; |
352 float x; //currently 0...1. Change to screen coords? | 352 float x; //currently 0...1. Change to screen coords? |
353 float y; | 353 float y; |
354 | 354 |
355 } SDL_MultiGestureEvent; | 355 } SDL_MultiGestureEvent; |
356 | |
357 typedef struct SDL_DollarGestureEvent | |
358 { | |
359 Uint32 type; /**< ::SDL_DOLLARGESTURE */ | |
360 Uint32 windowID; /**< The window with mouse focus, if any */ | |
361 Uint8 touchId; /**< The touch device index */ | |
362 Uint8 gestureId; | |
363 Uint8 padding2; | |
364 Uint8 padding3; | |
365 float error; | |
366 /* | |
367 //TODO: Enable to give location? | |
368 float x; //currently 0...1. Change to screen coords? | |
369 float y; | |
370 */ | |
371 } SDL_DollarGestureEvent; | |
356 | 372 |
357 | 373 |
358 | 374 |
359 | 375 |
360 /** | 376 /** |
441 SDL_SysWMEvent syswm; /**< System dependent window event data */ | 457 SDL_SysWMEvent syswm; /**< System dependent window event data */ |
442 SDL_ProximityEvent proximity; /**< Proximity In or Out event */ | 458 SDL_ProximityEvent proximity; /**< Proximity In or Out event */ |
443 SDL_TouchFingerEvent tfinger; /**< Touch finger event data */ | 459 SDL_TouchFingerEvent tfinger; /**< Touch finger event data */ |
444 SDL_TouchButtonEvent tbutton; /**< Touch button event data */ | 460 SDL_TouchButtonEvent tbutton; /**< Touch button event data */ |
445 SDL_MultiGestureEvent mgesture; /**< Multi Finger Gesture data*/ | 461 SDL_MultiGestureEvent mgesture; /**< Multi Finger Gesture data*/ |
462 SDL_DollarGestureEvent dgesture; /**< Multi Finger Gesture data*/ | |
446 | 463 |
447 /** Temporarily here for backwards compatibility */ | 464 /** Temporarily here for backwards compatibility */ |
448 /*@{*/ | 465 /*@{*/ |
449 #ifndef SDL_NO_COMPAT | 466 #ifndef SDL_NO_COMPAT |
450 SDL_ActiveEvent active; | 467 SDL_ActiveEvent active; |