comparison include/SDL_events.h @ 2131:55c7932d1fdb

Added a WindowID to the user event and cleaned up a little bit of formating
author Bob Pendleton <bob@pendleton.com>
date Wed, 20 Jun 2007 00:01:04 +0000
parents c7803e4c21d3
children 003c1b5b07da
comparison
equal deleted inserted replaced
2130:3ee59c43d784 2131:55c7932d1fdb
276 * 276 *
277 * \brief A user-defined event type (event.user.*) 277 * \brief A user-defined event type (event.user.*)
278 */ 278 */
279 typedef struct SDL_UserEvent 279 typedef struct SDL_UserEvent
280 { 280 {
281 Uint8 type; /**< SDL_USEREVENT through SDL_NUMEVENTS-1 */ 281 Uint8 type; /**< SDL_USEREVENT through SDL_NUMEVENTS-1 */
282 int code; /**< User defined event code */ 282 int code; /**< User defined event code */
283 void *data1; /**< User defined data pointer */ 283 void *data1; /**< User defined data pointer */
284 void *data2; /**< User defined data pointer */ 284 void *data2; /**< User defined data pointer */
285 SDL_WindowID windowID; /**< The associated window if any*/
285 } SDL_UserEvent; 286 } SDL_UserEvent;
286 287
287 /** 288 /**
288 * \struct SDL_SysWMEvent 289 * \struct SDL_SysWMEvent
289 * 290 *