Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5131 clevermous 1
2
>
3
>
4
>SDL_PumpEvents
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="Event Functions."
17
HREF="eventfunctions.html">
18
REL="NEXT"
19
TITLE="SDL_PeepEvents"
20
HREF="sdlpeepevents.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="eventfunctions.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="sdlpeepevents.html"
61
>Next
62
>
63
>
64
>
65
>
66
ALIGN="LEFT"
67
WIDTH="100%">
68
>
69
>
70
NAME="SDLPUMPEVENTS"
71
>SDL_PumpEvents
72
>
73
>
74
CLASS="REFNAMEDIV"
75
>
76
NAME="AEN4848"
77
>
78
>
79
>Name
80
>SDL_PumpEvents -- Pumps the event loop, gathering events from the input devices.
81
>
82
CLASS="REFSYNOPSISDIV"
83
>
84
NAME="AEN4851"
85
>
86
>
87
>Synopsis
88
>
89
CLASS="FUNCSYNOPSIS"
90
>
91
NAME="AEN4852"
92
>
93
>
94
>
95
>
96
CLASS="FUNCSYNOPSISINFO"
97
>#include "SDL.h"
98
>
99
>
100
>
101
CLASS="FUNCDEF"
102
>void 
103
CLASS="FSFUNC"
104
>SDL_PumpEvents
105
>
106
>(void);
107
>
108
>
109
>
110
>
111
>
112
>
113
CLASS="REFSECT1"
114
>
115
NAME="AEN4858"
116
>
117
>
118
>Description
119
>
120
>Pumps the event loop, gathering events from the input devices.
121
>
122
>
123
CLASS="FUNCTION"
124
>SDL_PumpEvents
125
> gathers all the pending input information from devices and places it on the event queue. Without calls to 
126
CLASS="FUNCTION"
127
>SDL_PumpEvents
128
> no events would ever be placed on the queue. Often calls the need for 
129
CLASS="FUNCTION"
130
>SDL_PumpEvents
131
> is hidden from the user since 
132
HREF="sdlpollevent.html"
133
>
134
CLASS="FUNCTION"
135
>SDL_PollEvent
136
>
137
> and 
138
HREF="sdlwaitevent.html"
139
>
140
CLASS="FUNCTION"
141
>SDL_WaitEvent
142
>
143
> implicitly call 
144
CLASS="FUNCTION"
145
>SDL_PumpEvents
146
>. However, if you are not polling or waiting for events (e.g. your filtering them), then you must call 
147
CLASS="FUNCTION"
148
>SDL_PumpEvents
149
> to force an event queue update.
150
>
151
CLASS="NOTE"
152
>
153
CLASS="NOTE"
154
>
155
>
156
>Note: 
157
>You can only call this function in the thread that set the video mode.
158
>
159
>
160
>
161
>
162
CLASS="REFSECT1"
163
>
164
NAME="AEN4873"
165
>
166
>
167
>See Also
168
>
169
>
170
HREF="sdlpollevent.html"
171
>
172
CLASS="FUNCTION"
173
>SDL_PollEvent
174
>
175
>
176
>
177
>
178
CLASS="NAVFOOTER"
179
>
180
ALIGN="LEFT"
181
WIDTH="100%">
182
WIDTH="100%"
183
BORDER="0"
184
CELLPADDING="0"
185
CELLSPACING="0"
186
>
187
>
188
WIDTH="33%"
189
ALIGN="left"
190
VALIGN="top"
191
>
192
HREF="eventfunctions.html"
193
>Prev
194
>
195
>
196
WIDTH="34%"
197
ALIGN="center"
198
VALIGN="top"
199
>
200
HREF="index.html"
201
>Home
202
>
203
>
204
WIDTH="33%"
205
ALIGN="right"
206
VALIGN="top"
207
>
208
HREF="sdlpeepevents.html"
209
>Next
210
>
211
>
212
>
213
>
214
WIDTH="33%"
215
ALIGN="left"
216
VALIGN="top"
217
>Event Functions.
218
>
219
WIDTH="34%"
220
ALIGN="center"
221
VALIGN="top"
222
>
223
HREF="eventfunctions.html"
224
>Up
225
>
226
>
227
WIDTH="33%"
228
ALIGN="right"
229
VALIGN="top"
230
>SDL_PeepEvents
231
>
232
>
233
>
234
>
235
>
236
>