Mercurial > sdl-ios-xcode
comparison include/SDL_events.h @ 5009:b21ad135d86b
Minor documentation consistency cleanup
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 17 Jan 2011 09:09:15 -0800 |
parents | 0a9a77f3d552 |
children | 22751715e11a |
comparison
equal
deleted
inserted
replaced
5008:35afe807b51c | 5009:b21ad135d86b |
---|---|
315 Uint8 padding1; | 315 Uint8 padding1; |
316 Uint8 padding2; | 316 Uint8 padding2; |
317 } SDL_TouchButtonEvent; | 317 } SDL_TouchButtonEvent; |
318 | 318 |
319 | 319 |
320 | 320 /** |
321 /** | 321 * \brief Multiple Finger Gesture Event (event.mgesture.*) |
322 * \brief Multiple Finger Gesture Event | |
323 */ | 322 */ |
324 typedef struct SDL_MultiGestureEvent | 323 typedef struct SDL_MultiGestureEvent |
325 { | 324 { |
326 Uint32 type; /**< ::SDL_MULTIGESTURE */ | 325 Uint32 type; /**< ::SDL_MULTIGESTURE */ |
327 Uint32 windowID; /**< The window with mouse focus, if any */ | 326 Uint32 windowID; /**< The window with mouse focus, if any */ |
332 float y; | 331 float y; |
333 Uint16 numFingers; | 332 Uint16 numFingers; |
334 Uint16 padding; | 333 Uint16 padding; |
335 } SDL_MultiGestureEvent; | 334 } SDL_MultiGestureEvent; |
336 | 335 |
337 typedef struct SDL_DollarGestureEvent | 336 typedef struct SDL_DollarGestureEvent (event.dgesture.*) |
338 { | 337 { |
339 Uint32 type; /**< ::SDL_DOLLARGESTURE */ | 338 Uint32 type; /**< ::SDL_DOLLARGESTURE */ |
340 Uint32 windowID; /**< The window with mouse focus, if any */ | 339 Uint32 windowID; /**< The window with mouse focus, if any */ |
341 SDL_TouchID touchId; /**< The touch device index */ | 340 SDL_TouchID touchId; /**< The touch device index */ |
342 SDL_GestureID gestureId; | 341 SDL_GestureID gestureId; |
348 float y; | 347 float y; |
349 */ | 348 */ |
350 } SDL_DollarGestureEvent; | 349 } SDL_DollarGestureEvent; |
351 | 350 |
352 | 351 |
353 | |
354 | |
355 /** | 352 /** |
356 * \brief The "quit requested" event | 353 * \brief The "quit requested" event |
357 */ | 354 */ |
358 typedef struct SDL_QuitEvent | 355 typedef struct SDL_QuitEvent |
359 { | 356 { |
360 Uint32 type; /**< ::SDL_QUIT */ | 357 Uint32 type; /**< ::SDL_QUIT */ |
361 } SDL_QuitEvent; | 358 } SDL_QuitEvent; |
359 | |
362 | 360 |
363 /** | 361 /** |
364 * \brief A user-defined event type (event.user.*) | 362 * \brief A user-defined event type (event.user.*) |
365 */ | 363 */ |
366 typedef struct SDL_UserEvent | 364 typedef struct SDL_UserEvent |
369 Uint32 windowID; /**< The associated window if any */ | 367 Uint32 windowID; /**< The associated window if any */ |
370 int code; /**< User defined event code */ | 368 int code; /**< User defined event code */ |
371 void *data1; /**< User defined data pointer */ | 369 void *data1; /**< User defined data pointer */ |
372 void *data2; /**< User defined data pointer */ | 370 void *data2; /**< User defined data pointer */ |
373 } SDL_UserEvent; | 371 } SDL_UserEvent; |
372 | |
374 | 373 |
375 struct SDL_SysWMmsg; | 374 struct SDL_SysWMmsg; |
376 typedef struct SDL_SysWMmsg SDL_SysWMmsg; | 375 typedef struct SDL_SysWMmsg SDL_SysWMmsg; |
377 | 376 |
378 /** | 377 /** |