Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5131 clevermous 1
2
>
3
>
4
>SDL_EventState
5
>
6
NAME="GENERATOR"
7
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8
">
9
REL="HOME"
10
TITLE="SDL Library Documentation"
11
HREF="index.html">
12
REL="UP"
13
TITLE="Event Functions."
14
HREF="eventfunctions.html">
15
REL="PREVIOUS"
16
TITLE="SDL_GetEventFilter"
17
HREF="sdlgeteventfilter.html">
18
REL="NEXT"
19
TITLE="SDL_GetKeyState"
20
HREF="sdlgetkeystate.html">
21
>
22
CLASS="REFENTRY"
23
BGCOLOR="#FFF8DC"
24
TEXT="#000000"
25
LINK="#0000ee"
26
VLINK="#551a8b"
27
ALINK="#ff0000"
28
>
29
CLASS="NAVHEADER"
30
>
31
WIDTH="100%"
32
BORDER="0"
33
CELLPADDING="0"
34
CELLSPACING="0"
35
>
36
>
37
COLSPAN="3"
38
ALIGN="center"
39
>SDL Library Documentation
40
>
41
>
42
>
43
WIDTH="10%"
44
ALIGN="left"
45
VALIGN="bottom"
46
>
47
HREF="sdlgeteventfilter.html"
48
>Prev
49
>
50
>
51
WIDTH="80%"
52
ALIGN="center"
53
VALIGN="bottom"
54
>
55
>
56
WIDTH="10%"
57
ALIGN="right"
58
VALIGN="bottom"
59
>
60
HREF="sdlgetkeystate.html"
61
>Next
62
>
63
>
64
>
65
>
66
ALIGN="LEFT"
67
WIDTH="100%">
68
>
69
>
70
NAME="SDLEVENTSTATE"
71
>SDL_EventState
72
>
73
>
74
CLASS="REFNAMEDIV"
75
>
76
NAME="AEN5103"
77
>
78
>
79
>Name
80
>SDL_EventState -- This function allows you to set the state of processing certain events.
81
>
82
CLASS="REFSYNOPSISDIV"
83
>
84
NAME="AEN5106"
85
>
86
>
87
>Synopsis
88
>
89
CLASS="FUNCSYNOPSIS"
90
>
91
NAME="AEN5107"
92
>
93
>
94
>
95
>
96
CLASS="FUNCSYNOPSISINFO"
97
>#include "SDL.h"
98
>
99
>
100
>
101
CLASS="FUNCDEF"
102
>Uint8 
103
CLASS="FSFUNC"
104
>SDL_EventState
105
>
106
>(Uint8 type, int state);
107
>
108
>
109
>
110
>
111
>
112
>
113
CLASS="REFSECT1"
114
>
115
NAME="AEN5113"
116
>
117
>
118
>Description
119
>
120
>This function allows you to set the state of processing certain event 
121
CLASS="PARAMETER"
122
>
123
>type
124
>
125
>'s.
126
>
127
>If 
128
CLASS="PARAMETER"
129
>
130
>state
131
>
132
> is set to 
133
CLASS="LITERAL"
134
>SDL_IGNORE
135
>,
136
that event 
137
CLASS="PARAMETER"
138
>
139
>type
140
>
141
> will be automatically dropped from the event queue and will
142
not be filtered.
143
>
144
>If 
145
CLASS="PARAMETER"
146
>
147
>state
148
>
149
> is set to 
150
CLASS="LITERAL"
151
>SDL_ENABLE
152
>,
153
that event 
154
CLASS="PARAMETER"
155
>
156
>type
157
>
158
> will be processed normally.
159
>
160
>If 
161
CLASS="PARAMETER"
162
>
163
>state
164
>
165
> is set to 
166
CLASS="LITERAL"
167
>SDL_QUERY
168
>,
169
170
CLASS="FUNCTION"
171
>SDL_EventState
172
> will return the current processing
173
state of the specified event 
174
CLASS="PARAMETER"
175
>
176
>type
177
>
178
>.
179
>
180
>A list of event 
181
CLASS="PARAMETER"
182
>
183
>type
184
>
185
>'s can be found in the 
186
HREF="sdlevent.html"
187
>
188
CLASS="STRUCTNAME"
189
>SDL_Event
190
>
191
> section.
192
>
193
>
194
CLASS="REFSECT1"
195
>
196
NAME="AEN5134"
197
>
198
>
199
>See Also
200
>
201
>
202
HREF="sdlevent.html"
203
>
204
CLASS="STRUCTNAME"
205
>SDL_Event
206
>
207
>
208
>
209
>
210
CLASS="NAVFOOTER"
211
>
212
ALIGN="LEFT"
213
WIDTH="100%">
214
WIDTH="100%"
215
BORDER="0"
216
CELLPADDING="0"
217
CELLSPACING="0"
218
>
219
>
220
WIDTH="33%"
221
ALIGN="left"
222
VALIGN="top"
223
>
224
HREF="sdlgeteventfilter.html"
225
>Prev
226
>
227
>
228
WIDTH="34%"
229
ALIGN="center"
230
VALIGN="top"
231
>
232
HREF="index.html"
233
>Home
234
>
235
>
236
WIDTH="33%"
237
ALIGN="right"
238
VALIGN="top"
239
>
240
HREF="sdlgetkeystate.html"
241
>Next
242
>
243
>
244
>
245
>
246
WIDTH="33%"
247
ALIGN="left"
248
VALIGN="top"
249
>SDL_GetEventFilter
250
>
251
WIDTH="34%"
252
ALIGN="center"
253
VALIGN="top"
254
>
255
HREF="eventfunctions.html"
256
>Up
257
>
258
>
259
WIDTH="33%"
260
ALIGN="right"
261
VALIGN="top"
262
>SDL_GetKeyState
263
>
264
>
265
>
266
>
267
>
268
>