misc/winutils/include/SDL_events.h
author koda
Tue, 23 Oct 2012 12:12:28 +0100
changeset 7799 a88a02c19a5b
parent 6560 ca07e6be08d0
child 7809 7d4fb2f35f4f
permissions -rw-r--r--
tweaks to win build script, hedgewars.pro now supports win32 target
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     1
/*
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     2
    SDL - Simple DirectMedia Layer
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     3
    Copyright (C) 1997-2009 Sam Lantinga
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     4
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     5
    This library is free software; you can redistribute it and/or
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     6
    modify it under the terms of the GNU Lesser General Public
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     7
    License as published by the Free Software Foundation; either
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     8
    version 2.1 of the License, or (at your option) any later version.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     9
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    10
    This library is distributed in the hope that it will be useful,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    13
    Lesser General Public License for more details.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    14
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    15
    You should have received a copy of the GNU Lesser General Public
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    16
    License along with this library; if not, write to the Free Software
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    18
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    19
    Sam Lantinga
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    20
    slouken@libsdl.org
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    21
*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    22
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    23
/**
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    24
 *  @file SDL_events.h
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    25
 *  Include file for SDL event handling
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    26
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    27
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    28
#ifndef _SDL_events_h
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    29
#define _SDL_events_h
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    30
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    31
#include "SDL_stdinc.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    32
#include "SDL_error.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    33
#include "SDL_active.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    34
#include "SDL_keyboard.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    35
#include "SDL_mouse.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    36
#include "SDL_joystick.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    37
#include "SDL_quit.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    38
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    39
#include "begin_code.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    40
/* Set up for C function definitions, even when using C++ */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    41
#ifdef __cplusplus
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    42
extern "C" {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    43
#endif
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    44
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    45
/** @name General keyboard/mouse state definitions */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    46
/*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    47
#define SDL_RELEASED	0
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    48
#define SDL_PRESSED	1
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    49
/*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    50
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    51
/** Event enumerations */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    52
typedef enum {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    53
       SDL_NOEVENT = 0,			/**< Unused (do not remove) */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    54
       SDL_ACTIVEEVENT,			/**< Application loses/gains visibility */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    55
       SDL_KEYDOWN,			/**< Keys pressed */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    56
       SDL_KEYUP,			/**< Keys released */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    57
       SDL_MOUSEMOTION,			/**< Mouse moved */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    58
       SDL_MOUSEBUTTONDOWN,		/**< Mouse button pressed */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    59
       SDL_MOUSEBUTTONUP,		/**< Mouse button released */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    60
       SDL_JOYAXISMOTION,		/**< Joystick axis motion */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    61
       SDL_JOYBALLMOTION,		/**< Joystick trackball motion */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    62
       SDL_JOYHATMOTION,		/**< Joystick hat position change */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    63
       SDL_JOYBUTTONDOWN,		/**< Joystick button pressed */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    64
       SDL_JOYBUTTONUP,			/**< Joystick button released */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    65
       SDL_QUIT,			/**< User-requested quit */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    66
       SDL_SYSWMEVENT,			/**< System specific event */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    67
       SDL_EVENT_RESERVEDA,		/**< Reserved for future use.. */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    68
       SDL_EVENT_RESERVEDB,		/**< Reserved for future use.. */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    69
       SDL_VIDEORESIZE,			/**< User resized video mode */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    70
       SDL_VIDEOEXPOSE,			/**< Screen needs to be redrawn */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    71
       SDL_EVENT_RESERVED2,		/**< Reserved for future use.. */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    72
       SDL_EVENT_RESERVED3,		/**< Reserved for future use.. */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    73
       SDL_EVENT_RESERVED4,		/**< Reserved for future use.. */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    74
       SDL_EVENT_RESERVED5,		/**< Reserved for future use.. */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    75
       SDL_EVENT_RESERVED6,		/**< Reserved for future use.. */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    76
       SDL_EVENT_RESERVED7,		/**< Reserved for future use.. */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    77
       /** Events SDL_USEREVENT through SDL_MAXEVENTS-1 are for your use */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    78
       SDL_USEREVENT = 24,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    79
       /** This last event is only for bounding internal arrays
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    80
	*  It is the number of bits in the event mask datatype -- Uint32
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    81
        */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    82
       SDL_NUMEVENTS = 32
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    83
} SDL_EventType;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    84
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    85
/** @name Predefined event masks */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    86
/*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    87
#define SDL_EVENTMASK(X)	(1<<(X))
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    88
typedef enum {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    89
	SDL_ACTIVEEVENTMASK	= SDL_EVENTMASK(SDL_ACTIVEEVENT),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    90
	SDL_KEYDOWNMASK		= SDL_EVENTMASK(SDL_KEYDOWN),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    91
	SDL_KEYUPMASK		= SDL_EVENTMASK(SDL_KEYUP),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    92
	SDL_KEYEVENTMASK	= SDL_EVENTMASK(SDL_KEYDOWN)|
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    93
	                          SDL_EVENTMASK(SDL_KEYUP),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    94
	SDL_MOUSEMOTIONMASK	= SDL_EVENTMASK(SDL_MOUSEMOTION),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    95
	SDL_MOUSEBUTTONDOWNMASK	= SDL_EVENTMASK(SDL_MOUSEBUTTONDOWN),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    96
	SDL_MOUSEBUTTONUPMASK	= SDL_EVENTMASK(SDL_MOUSEBUTTONUP),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    97
	SDL_MOUSEEVENTMASK	= SDL_EVENTMASK(SDL_MOUSEMOTION)|
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    98
	                          SDL_EVENTMASK(SDL_MOUSEBUTTONDOWN)|
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    99
	                          SDL_EVENTMASK(SDL_MOUSEBUTTONUP),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   100
	SDL_JOYAXISMOTIONMASK	= SDL_EVENTMASK(SDL_JOYAXISMOTION),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   101
	SDL_JOYBALLMOTIONMASK	= SDL_EVENTMASK(SDL_JOYBALLMOTION),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   102
	SDL_JOYHATMOTIONMASK	= SDL_EVENTMASK(SDL_JOYHATMOTION),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   103
	SDL_JOYBUTTONDOWNMASK	= SDL_EVENTMASK(SDL_JOYBUTTONDOWN),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   104
	SDL_JOYBUTTONUPMASK	= SDL_EVENTMASK(SDL_JOYBUTTONUP),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   105
	SDL_JOYEVENTMASK	= SDL_EVENTMASK(SDL_JOYAXISMOTION)|
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   106
	                          SDL_EVENTMASK(SDL_JOYBALLMOTION)|
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   107
	                          SDL_EVENTMASK(SDL_JOYHATMOTION)|
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   108
	                          SDL_EVENTMASK(SDL_JOYBUTTONDOWN)|
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   109
	                          SDL_EVENTMASK(SDL_JOYBUTTONUP),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   110
	SDL_VIDEORESIZEMASK	= SDL_EVENTMASK(SDL_VIDEORESIZE),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   111
	SDL_VIDEOEXPOSEMASK	= SDL_EVENTMASK(SDL_VIDEOEXPOSE),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   112
	SDL_QUITMASK		= SDL_EVENTMASK(SDL_QUIT),
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   113
	SDL_SYSWMEVENTMASK	= SDL_EVENTMASK(SDL_SYSWMEVENT)
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   114
} SDL_EventMask ;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   115
#define SDL_ALLEVENTS		0xFFFFFFFF
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   116
/*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   117
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   118
/** Application visibility event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   119
typedef struct SDL_ActiveEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   120
	Uint8 type;	/**< SDL_ACTIVEEVENT */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   121
	Uint8 gain;	/**< Whether given states were gained or lost (1/0) */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   122
	Uint8 state;	/**< A mask of the focus states */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   123
} SDL_ActiveEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   124
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   125
/** Keyboard event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   126
typedef struct SDL_KeyboardEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   127
	Uint8 type;	/**< SDL_KEYDOWN or SDL_KEYUP */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   128
	Uint8 which;	/**< The keyboard device index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   129
	Uint8 state;	/**< SDL_PRESSED or SDL_RELEASED */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   130
	SDL_keysym keysym;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   131
} SDL_KeyboardEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   132
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   133
/** Mouse motion event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   134
typedef struct SDL_MouseMotionEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   135
	Uint8 type;	/**< SDL_MOUSEMOTION */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   136
	Uint8 which;	/**< The mouse device index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   137
	Uint8 state;	/**< The current button state */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   138
	Uint16 x, y;	/**< The X/Y coordinates of the mouse */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   139
	Sint16 xrel;	/**< The relative motion in the X direction */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   140
	Sint16 yrel;	/**< The relative motion in the Y direction */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   141
} SDL_MouseMotionEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   142
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   143
/** Mouse button event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   144
typedef struct SDL_MouseButtonEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   145
	Uint8 type;	/**< SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   146
	Uint8 which;	/**< The mouse device index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   147
	Uint8 button;	/**< The mouse button index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   148
	Uint8 state;	/**< SDL_PRESSED or SDL_RELEASED */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   149
	Uint16 x, y;	/**< The X/Y coordinates of the mouse at press time */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   150
} SDL_MouseButtonEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   151
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   152
/** Joystick axis motion event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   153
typedef struct SDL_JoyAxisEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   154
	Uint8 type;	/**< SDL_JOYAXISMOTION */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   155
	Uint8 which;	/**< The joystick device index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   156
	Uint8 axis;	/**< The joystick axis index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   157
	Sint16 value;	/**< The axis value (range: -32768 to 32767) */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   158
} SDL_JoyAxisEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   159
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   160
/** Joystick trackball motion event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   161
typedef struct SDL_JoyBallEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   162
	Uint8 type;	/**< SDL_JOYBALLMOTION */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   163
	Uint8 which;	/**< The joystick device index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   164
	Uint8 ball;	/**< The joystick trackball index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   165
	Sint16 xrel;	/**< The relative motion in the X direction */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   166
	Sint16 yrel;	/**< The relative motion in the Y direction */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   167
} SDL_JoyBallEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   168
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   169
/** Joystick hat position change event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   170
typedef struct SDL_JoyHatEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   171
	Uint8 type;	/**< SDL_JOYHATMOTION */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   172
	Uint8 which;	/**< The joystick device index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   173
	Uint8 hat;	/**< The joystick hat index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   174
	Uint8 value;	/**< The hat position value:
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   175
			 *   SDL_HAT_LEFTUP   SDL_HAT_UP       SDL_HAT_RIGHTUP
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   176
			 *   SDL_HAT_LEFT     SDL_HAT_CENTERED SDL_HAT_RIGHT
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   177
			 *   SDL_HAT_LEFTDOWN SDL_HAT_DOWN     SDL_HAT_RIGHTDOWN
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   178
			 *  Note that zero means the POV is centered.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   179
			 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   180
} SDL_JoyHatEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   181
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   182
/** Joystick button event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   183
typedef struct SDL_JoyButtonEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   184
	Uint8 type;	/**< SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   185
	Uint8 which;	/**< The joystick device index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   186
	Uint8 button;	/**< The joystick button index */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   187
	Uint8 state;	/**< SDL_PRESSED or SDL_RELEASED */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   188
} SDL_JoyButtonEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   189
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   190
/** The "window resized" event
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   191
 *  When you get this event, you are responsible for setting a new video
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   192
 *  mode with the new width and height.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   193
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   194
typedef struct SDL_ResizeEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   195
	Uint8 type;	/**< SDL_VIDEORESIZE */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   196
	int w;		/**< New width */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   197
	int h;		/**< New height */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   198
} SDL_ResizeEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   199
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   200
/** The "screen redraw" event */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   201
typedef struct SDL_ExposeEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   202
	Uint8 type;	/**< SDL_VIDEOEXPOSE */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   203
} SDL_ExposeEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   204
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   205
/** The "quit requested" event */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   206
typedef struct SDL_QuitEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   207
	Uint8 type;	/**< SDL_QUIT */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   208
} SDL_QuitEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   209
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   210
/** A user-defined event type */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   211
typedef struct SDL_UserEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   212
	Uint8 type;	/**< SDL_USEREVENT through SDL_NUMEVENTS-1 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   213
	int code;	/**< User defined event code */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   214
	void *data1;	/**< User defined data pointer */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   215
	void *data2;	/**< User defined data pointer */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   216
} SDL_UserEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   217
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   218
/** If you want to use this event, you should include SDL_syswm.h */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   219
struct SDL_SysWMmsg;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   220
typedef struct SDL_SysWMmsg SDL_SysWMmsg;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   221
typedef struct SDL_SysWMEvent {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   222
	Uint8 type;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   223
	SDL_SysWMmsg *msg;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   224
} SDL_SysWMEvent;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   225
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   226
/** General event structure */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   227
typedef union SDL_Event {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   228
	Uint8 type;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   229
	SDL_ActiveEvent active;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   230
	SDL_KeyboardEvent key;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   231
	SDL_MouseMotionEvent motion;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   232
	SDL_MouseButtonEvent button;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   233
	SDL_JoyAxisEvent jaxis;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   234
	SDL_JoyBallEvent jball;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   235
	SDL_JoyHatEvent jhat;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   236
	SDL_JoyButtonEvent jbutton;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   237
	SDL_ResizeEvent resize;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   238
	SDL_ExposeEvent expose;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   239
	SDL_QuitEvent quit;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   240
	SDL_UserEvent user;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   241
	SDL_SysWMEvent syswm;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   242
} SDL_Event;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   243
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   244
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   245
/* Function prototypes */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   246
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   247
/** Pumps the event loop, gathering events from the input devices.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   248
 *  This function updates the event queue and internal input device state.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   249
 *  This should only be run in the thread that sets the video mode.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   250
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   251
extern DECLSPEC void SDLCALL SDL_PumpEvents(void);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   252
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   253
typedef enum {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   254
	SDL_ADDEVENT,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   255
	SDL_PEEKEVENT,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   256
	SDL_GETEVENT
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   257
} SDL_eventaction;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   258
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   259
/**
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   260
 *  Checks the event queue for messages and optionally returns them.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   261
 *
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   262
 *  If 'action' is SDL_ADDEVENT, up to 'numevents' events will be added to
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   263
 *  the back of the event queue.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   264
 *  If 'action' is SDL_PEEKEVENT, up to 'numevents' events at the front
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   265
 *  of the event queue, matching 'mask', will be returned and will not
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   266
 *  be removed from the queue.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   267
 *  If 'action' is SDL_GETEVENT, up to 'numevents' events at the front 
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   268
 *  of the event queue, matching 'mask', will be returned and will be
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   269
 *  removed from the queue.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   270
 *
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   271
 *  @return
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   272
 *  This function returns the number of events actually stored, or -1
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   273
 *  if there was an error.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   274
 *
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   275
 *  This function is thread-safe.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   276
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   277
extern DECLSPEC int SDLCALL SDL_PeepEvents(SDL_Event *events, int numevents,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   278
				SDL_eventaction action, Uint32 mask);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   279
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   280
/** Polls for currently pending events, and returns 1 if there are any pending
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   281
 *  events, or 0 if there are none available.  If 'event' is not NULL, the next
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   282
 *  event is removed from the queue and stored in that area.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   283
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   284
extern DECLSPEC int SDLCALL SDL_PollEvent(SDL_Event *event);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   285
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   286
/** Waits indefinitely for the next available event, returning 1, or 0 if there
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   287
 *  was an error while waiting for events.  If 'event' is not NULL, the next
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   288
 *  event is removed from the queue and stored in that area.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   289
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   290
extern DECLSPEC int SDLCALL SDL_WaitEvent(SDL_Event *event);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   291
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   292
/** Add an event to the event queue.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   293
 *  This function returns 0 on success, or -1 if the event queue was full
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   294
 *  or there was some other error.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   295
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   296
extern DECLSPEC int SDLCALL SDL_PushEvent(SDL_Event *event);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   297
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   298
/** @name Event Filtering */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   299
/*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   300
typedef int (SDLCALL *SDL_EventFilter)(const SDL_Event *event);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   301
/**
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   302
 *  This function sets up a filter to process all events before they
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   303
 *  change internal state and are posted to the internal event queue.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   304
 *
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   305
 *  The filter is protypted as:
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   306
 *      @code typedef int (SDLCALL *SDL_EventFilter)(const SDL_Event *event); @endcode
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   307
 *
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   308
 * If the filter returns 1, then the event will be added to the internal queue.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   309
 * If it returns 0, then the event will be dropped from the queue, but the 
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   310
 * internal state will still be updated.  This allows selective filtering of
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   311
 * dynamically arriving events.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   312
 *
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   313
 * @warning  Be very careful of what you do in the event filter function, as 
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   314
 *           it may run in a different thread!
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   315
 *
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   316
 * There is one caveat when dealing with the SDL_QUITEVENT event type.  The
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   317
 * event filter is only called when the window manager desires to close the
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   318
 * application window.  If the event filter returns 1, then the window will
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   319
 * be closed, otherwise the window will remain open if possible.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   320
 * If the quit event is generated by an interrupt signal, it will bypass the
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   321
 * internal queue and be delivered to the application at the next event poll.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   322
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   323
extern DECLSPEC void SDLCALL SDL_SetEventFilter(SDL_EventFilter filter);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   324
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   325
/**
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   326
 *  Return the current event filter - can be used to "chain" filters.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   327
 *  If there is no event filter set, this function returns NULL.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   328
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   329
extern DECLSPEC SDL_EventFilter SDLCALL SDL_GetEventFilter(void);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   330
/*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   331
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   332
/** @name Event State */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   333
/*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   334
#define SDL_QUERY	-1
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   335
#define SDL_IGNORE	 0
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   336
#define SDL_DISABLE	 0
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   337
#define SDL_ENABLE	 1
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   338
/*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   339
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   340
/**
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   341
* This function allows you to set the state of processing certain events.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   342
* If 'state' is set to SDL_IGNORE, that event will be automatically dropped
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   343
* from the event queue and will not event be filtered.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   344
* If 'state' is set to SDL_ENABLE, that event will be processed normally.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   345
* If 'state' is set to SDL_QUERY, SDL_EventState() will return the 
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   346
* current processing state of the specified event.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   347
*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   348
extern DECLSPEC Uint8 SDLCALL SDL_EventState(Uint8 type, int state);
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   349
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   350
/* Ends C function definitions when using C++ */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   351
#ifdef __cplusplus
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   352
}
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   353
#endif
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   354
#include "close_code.h"
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   355
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   356
#endif /* _SDL_events_h */