Mercurial > sdl-ios-xcode
comparison docs/html/sdladdtimer.html @ 803:355632dca928
Updated SDL HTML documentation
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 10 Feb 2004 15:15:40 +0000 |
parents | e5bc29de3f0a |
children |
comparison
equal
deleted
inserted
replaced
802:3c609d54f100 | 803:355632dca928 |
---|---|
2 ><HEAD | 2 ><HEAD |
3 ><TITLE | 3 ><TITLE |
4 >SDL_AddTimer</TITLE | 4 >SDL_AddTimer</TITLE |
5 ><META | 5 ><META |
6 NAME="GENERATOR" | 6 NAME="GENERATOR" |
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 | 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
8 "><LINK | 8 "><LINK |
9 REL="HOME" | 9 REL="HOME" |
10 TITLE="SDL Library Documentation" | 10 TITLE="SDL Library Documentation" |
11 HREF="index.html"><LINK | 11 HREF="index.html"><LINK |
12 REL="UP" | 12 REL="UP" |
26 VLINK="#551a8b" | 26 VLINK="#551a8b" |
27 ALINK="#ff0000" | 27 ALINK="#ff0000" |
28 ><DIV | 28 ><DIV |
29 CLASS="NAVHEADER" | 29 CLASS="NAVHEADER" |
30 ><TABLE | 30 ><TABLE |
31 SUMMARY="Header navigation table" | |
31 WIDTH="100%" | 32 WIDTH="100%" |
32 BORDER="0" | 33 BORDER="0" |
33 CELLPADDING="0" | 34 CELLPADDING="0" |
34 CELLSPACING="0" | 35 CELLSPACING="0" |
35 ><TR | 36 ><TR |
43 WIDTH="10%" | 44 WIDTH="10%" |
44 ALIGN="left" | 45 ALIGN="left" |
45 VALIGN="bottom" | 46 VALIGN="bottom" |
46 ><A | 47 ><A |
47 HREF="sdldelay.html" | 48 HREF="sdldelay.html" |
49 ACCESSKEY="P" | |
48 >Prev</A | 50 >Prev</A |
49 ></TD | 51 ></TD |
50 ><TD | 52 ><TD |
51 WIDTH="80%" | 53 WIDTH="80%" |
52 ALIGN="center" | 54 ALIGN="center" |
56 WIDTH="10%" | 58 WIDTH="10%" |
57 ALIGN="right" | 59 ALIGN="right" |
58 VALIGN="bottom" | 60 VALIGN="bottom" |
59 ><A | 61 ><A |
60 HREF="sdlremovetimer.html" | 62 HREF="sdlremovetimer.html" |
63 ACCESSKEY="N" | |
61 >Next</A | 64 >Next</A |
62 ></TD | 65 ></TD |
63 ></TR | 66 ></TR |
64 ></TABLE | 67 ></TABLE |
65 ><HR | 68 ><HR |
66 ALIGN="LEFT" | 69 ALIGN="LEFT" |
67 WIDTH="100%"></DIV | 70 WIDTH="100%"></DIV |
68 ><H1 | 71 ><H1 |
69 ><A | 72 ><A |
70 NAME="SDLADDTIMER" | 73 NAME="SDLADDTIMER" |
71 >SDL_AddTimer</A | 74 ></A |
72 ></H1 | 75 >SDL_AddTimer</H1 |
73 ><DIV | 76 ><DIV |
74 CLASS="REFNAMEDIV" | 77 CLASS="REFNAMEDIV" |
75 ><A | 78 ><A |
76 NAME="AEN8094" | 79 NAME="AEN8482" |
77 ></A | 80 ></A |
78 ><H2 | 81 ><H2 |
79 >Name</H2 | 82 >Name</H2 |
80 >SDL_AddTimer -- Add a timer which will call a callback after the specified number of milliseconds has | 83 >SDL_AddTimer -- Add a timer which will call a callback after the specified number of milliseconds has |
81 elapsed.</DIV | 84 elapsed.</DIV |
82 ><DIV | 85 ><DIV |
83 CLASS="REFSYNOPSISDIV" | 86 CLASS="REFSYNOPSISDIV" |
84 ><A | 87 ><A |
85 NAME="AEN8097" | 88 NAME="AEN8485" |
86 ></A | 89 ></A |
87 ><H2 | 90 ><H2 |
88 >Synopsis</H2 | 91 >Synopsis</H2 |
89 ><DIV | 92 ><DIV |
90 CLASS="FUNCSYNOPSIS" | 93 CLASS="FUNCSYNOPSIS" |
91 ><A | 94 ><A |
92 NAME="AEN8098" | 95 NAME="AEN8486" |
93 ></A | 96 ></A |
94 ><P | 97 ><P |
95 ></P | 98 ></P |
96 ><PRE | 99 ><PRE |
97 CLASS="FUNCSYNOPSISINFO" | 100 CLASS="FUNCSYNOPSISINFO" |
123 typedef Uint32 (*SDL_NewTimerCallback)(Uint32 interval, void *param);</PRE | 126 typedef Uint32 (*SDL_NewTimerCallback)(Uint32 interval, void *param);</PRE |
124 ></DIV | 127 ></DIV |
125 ><DIV | 128 ><DIV |
126 CLASS="REFSECT1" | 129 CLASS="REFSECT1" |
127 ><A | 130 ><A |
128 NAME="AEN8107" | 131 NAME="AEN8495" |
129 ></A | 132 ></A |
130 ><H2 | 133 ><H2 |
131 >Description</H2 | 134 >Description</H2 |
132 ><P | 135 ><P |
133 >Adds a callback function to be run after the specified number of | 136 >Adds a callback function to be run after the specified number of |
177 >.</P | 180 >.</P |
178 ></DIV | 181 ></DIV |
179 ><DIV | 182 ><DIV |
180 CLASS="REFSECT1" | 183 CLASS="REFSECT1" |
181 ><A | 184 ><A |
182 NAME="AEN8119" | 185 NAME="AEN8507" |
183 ></A | 186 ></A |
184 ><H2 | 187 ><H2 |
185 >Return Value</H2 | 188 >Return Value</H2 |
186 ><P | 189 ><P |
187 >Returns an ID value for the added timer or | 190 >Returns an ID value for the added timer or |
191 > if there was an error.</P | 194 > if there was an error.</P |
192 ></DIV | 195 ></DIV |
193 ><DIV | 196 ><DIV |
194 CLASS="REFSECT1" | 197 CLASS="REFSECT1" |
195 ><A | 198 ><A |
196 NAME="AEN8123" | 199 NAME="AEN8511" |
197 ></A | 200 ></A |
198 ><H2 | 201 ><H2 |
199 >Examples</H2 | 202 >Examples</H2 |
200 ><P | 203 ><P |
201 ><PRE | 204 ><PRE |
204 ></P | 207 ></P |
205 ></DIV | 208 ></DIV |
206 ><DIV | 209 ><DIV |
207 CLASS="REFSECT1" | 210 CLASS="REFSECT1" |
208 ><A | 211 ><A |
209 NAME="AEN8127" | 212 NAME="AEN8515" |
210 ></A | 213 ></A |
211 ><H2 | 214 ><H2 |
212 >See Also</H2 | 215 >See Also</H2 |
213 ><P | 216 ><P |
214 ><A | 217 ><A |
229 ><DIV | 232 ><DIV |
230 CLASS="NAVFOOTER" | 233 CLASS="NAVFOOTER" |
231 ><HR | 234 ><HR |
232 ALIGN="LEFT" | 235 ALIGN="LEFT" |
233 WIDTH="100%"><TABLE | 236 WIDTH="100%"><TABLE |
237 SUMMARY="Footer navigation table" | |
234 WIDTH="100%" | 238 WIDTH="100%" |
235 BORDER="0" | 239 BORDER="0" |
236 CELLPADDING="0" | 240 CELLPADDING="0" |
237 CELLSPACING="0" | 241 CELLSPACING="0" |
238 ><TR | 242 ><TR |
240 WIDTH="33%" | 244 WIDTH="33%" |
241 ALIGN="left" | 245 ALIGN="left" |
242 VALIGN="top" | 246 VALIGN="top" |
243 ><A | 247 ><A |
244 HREF="sdldelay.html" | 248 HREF="sdldelay.html" |
249 ACCESSKEY="P" | |
245 >Prev</A | 250 >Prev</A |
246 ></TD | 251 ></TD |
247 ><TD | 252 ><TD |
248 WIDTH="34%" | 253 WIDTH="34%" |
249 ALIGN="center" | 254 ALIGN="center" |
250 VALIGN="top" | 255 VALIGN="top" |
251 ><A | 256 ><A |
252 HREF="index.html" | 257 HREF="index.html" |
258 ACCESSKEY="H" | |
253 >Home</A | 259 >Home</A |
254 ></TD | 260 ></TD |
255 ><TD | 261 ><TD |
256 WIDTH="33%" | 262 WIDTH="33%" |
257 ALIGN="right" | 263 ALIGN="right" |
258 VALIGN="top" | 264 VALIGN="top" |
259 ><A | 265 ><A |
260 HREF="sdlremovetimer.html" | 266 HREF="sdlremovetimer.html" |
267 ACCESSKEY="N" | |
261 >Next</A | 268 >Next</A |
262 ></TD | 269 ></TD |
263 ></TR | 270 ></TR |
264 ><TR | 271 ><TR |
265 ><TD | 272 ><TD |
271 WIDTH="34%" | 278 WIDTH="34%" |
272 ALIGN="center" | 279 ALIGN="center" |
273 VALIGN="top" | 280 VALIGN="top" |
274 ><A | 281 ><A |
275 HREF="time.html" | 282 HREF="time.html" |
283 ACCESSKEY="U" | |
276 >Up</A | 284 >Up</A |
277 ></TD | 285 ></TD |
278 ><TD | 286 ><TD |
279 WIDTH="33%" | 287 WIDTH="33%" |
280 ALIGN="right" | 288 ALIGN="right" |