comparison docs/html/guideeventexamples.html @ 803:355632dca928

Updated SDL HTML documentation
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Feb 2004 15:15:40 +0000
parents 55f1f1b3e27d
children
comparison
equal deleted inserted replaced
802:3c609d54f100 803:355632dca928
2 ><HEAD 2 ><HEAD
3 ><TITLE 3 ><TITLE
4 >Event Examples</TITLE 4 >Event Examples</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="guideexamples.html" 48 HREF="guideexamples.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="guideaudioexamples.html" 62 HREF="guideaudioexamples.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
69 CLASS="SECT1" 72 CLASS="SECT1"
70 ><H1 73 ><H1
71 CLASS="SECT1" 74 CLASS="SECT1"
72 ><A 75 ><A
73 NAME="GUIDEEVENTEXAMPLES" 76 NAME="GUIDEEVENTEXAMPLES"
74 >Event Examples</A 77 ></A
75 ></H1 78 >Event Examples</H1
76 ><P 79 ><P
77 ></P 80 ></P
78 ><DIV 81 ><DIV
79 CLASS="SECT2" 82 CLASS="SECT2"
80 ><H2 83 ><H2
81 CLASS="SECT2" 84 CLASS="SECT2"
82 ><A 85 ><A
83 NAME="AEN375" 86 NAME="AEN375"
84 >Filtering and Handling Events</A 87 ></A
85 ></H2 88 >Filtering and Handling Events</H2
86 ><P 89 ><P
87 ><PRE 90 ><PRE
88 CLASS="PROGRAMLISTING" 91 CLASS="PROGRAMLISTING"
89 >#include &#60;stdio.h&#62; 92 >#include &#60;stdio.h&#62;
90 #include &#60;stdlib.h&#62; 93 #include &#60;stdlib.h&#62;
180 ><DIV 183 ><DIV
181 CLASS="NAVFOOTER" 184 CLASS="NAVFOOTER"
182 ><HR 185 ><HR
183 ALIGN="LEFT" 186 ALIGN="LEFT"
184 WIDTH="100%"><TABLE 187 WIDTH="100%"><TABLE
188 SUMMARY="Footer navigation table"
185 WIDTH="100%" 189 WIDTH="100%"
186 BORDER="0" 190 BORDER="0"
187 CELLPADDING="0" 191 CELLPADDING="0"
188 CELLSPACING="0" 192 CELLSPACING="0"
189 ><TR 193 ><TR
191 WIDTH="33%" 195 WIDTH="33%"
192 ALIGN="left" 196 ALIGN="left"
193 VALIGN="top" 197 VALIGN="top"
194 ><A 198 ><A
195 HREF="guideexamples.html" 199 HREF="guideexamples.html"
200 ACCESSKEY="P"
196 >Prev</A 201 >Prev</A
197 ></TD 202 ></TD
198 ><TD 203 ><TD
199 WIDTH="34%" 204 WIDTH="34%"
200 ALIGN="center" 205 ALIGN="center"
201 VALIGN="top" 206 VALIGN="top"
202 ><A 207 ><A
203 HREF="index.html" 208 HREF="index.html"
209 ACCESSKEY="H"
204 >Home</A 210 >Home</A
205 ></TD 211 ></TD
206 ><TD 212 ><TD
207 WIDTH="33%" 213 WIDTH="33%"
208 ALIGN="right" 214 ALIGN="right"
209 VALIGN="top" 215 VALIGN="top"
210 ><A 216 ><A
211 HREF="guideaudioexamples.html" 217 HREF="guideaudioexamples.html"
218 ACCESSKEY="N"
212 >Next</A 219 >Next</A
213 ></TD 220 ></TD
214 ></TR 221 ></TR
215 ><TR 222 ><TR
216 ><TD 223 ><TD
222 WIDTH="34%" 229 WIDTH="34%"
223 ALIGN="center" 230 ALIGN="center"
224 VALIGN="top" 231 VALIGN="top"
225 ><A 232 ><A
226 HREF="guideexamples.html" 233 HREF="guideexamples.html"
234 ACCESSKEY="U"
227 >Up</A 235 >Up</A
228 ></TD 236 ></TD
229 ><TD 237 ><TD
230 WIDTH="33%" 238 WIDTH="33%"
231 ALIGN="right" 239 ALIGN="right"