|
Size: 1250
Comment: camelcase pragma change
|
Size: 1348
Comment: minor change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| <<Color2(green,Worth changing touchId and gestureId to touchID and gestureID for consistency?)>> |
DRAFT |
SDL_DollarGestureEvent
A structure that contains complex gesture event information???.
Contents
Data Fields
Uint32 |
type |
SDL_DOLLARGESTURE |
Uint32 |
windowID |
the window with mouse focus, if any |
SDL_TouchID |
touchId |
the touch device index |
SDL_GestureID |
gestureId |
description |
Uint32 |
numFingers |
description |
float |
error |
description |
float |
x |
//currently 0...1. Change to screen coords? |
float |
y |
description |
green
green
Code Examples
You can add your code example here
Remarks
SDL_DollarGestureEvent is a member of the SDL_Event union and is used when an event of type SDL_DOLLARGESTURE is reported. You would access it through the event's dgesture field.
Related Enumerations
Related Structures
