Mercurial > sdl-ios-xcode
comparison docs/html/sdlcreatecursor.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_CreateCursor</TITLE | 4 >SDL_CreateCursor</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="sdlwarpmouse.html" | 48 HREF="sdlwarpmouse.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="sdlfreecursor.html" | 62 HREF="sdlfreecursor.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="SDLCREATECURSOR" | 73 NAME="SDLCREATECURSOR" |
71 >SDL_CreateCursor</A | 74 ></A |
72 ></H1 | 75 >SDL_CreateCursor</H1 |
73 ><DIV | 76 ><DIV |
74 CLASS="REFNAMEDIV" | 77 CLASS="REFNAMEDIV" |
75 ><A | 78 ><A |
76 NAME="AEN2103" | 79 NAME="AEN2487" |
77 ></A | 80 ></A |
78 ><H2 | 81 ><H2 |
79 >Name</H2 | 82 >Name</H2 |
80 >SDL_CreateCursor -- Creates a new mouse cursor.</DIV | 83 >SDL_CreateCursor -- Creates a new mouse cursor.</DIV |
81 ><DIV | 84 ><DIV |
82 CLASS="REFSYNOPSISDIV" | 85 CLASS="REFSYNOPSISDIV" |
83 ><A | 86 ><A |
84 NAME="AEN2106" | 87 NAME="AEN2490" |
85 ></A | 88 ></A |
86 ><H2 | 89 ><H2 |
87 >Synopsis</H2 | 90 >Synopsis</H2 |
88 ><DIV | 91 ><DIV |
89 CLASS="FUNCSYNOPSIS" | 92 CLASS="FUNCSYNOPSIS" |
90 ><A | 93 ><A |
91 NAME="AEN2107" | 94 NAME="AEN2491" |
92 ></A | 95 ></A |
93 ><P | 96 ><P |
94 ></P | 97 ></P |
95 ><PRE | 98 ><PRE |
96 CLASS="FUNCSYNOPSISINFO" | 99 CLASS="FUNCSYNOPSISINFO" |
110 ></DIV | 113 ></DIV |
111 ></DIV | 114 ></DIV |
112 ><DIV | 115 ><DIV |
113 CLASS="REFSECT1" | 116 CLASS="REFSECT1" |
114 ><A | 117 ><A |
115 NAME="AEN2113" | 118 NAME="AEN2497" |
116 ></A | 119 ></A |
117 ><H2 | 120 ><H2 |
118 >Description</H2 | 121 >Description</H2 |
119 ><P | 122 ><P |
120 >Create a cursor using the specified <TT | 123 >Create a cursor using the specified <TT |
132 ><P | 135 ><P |
133 >The cursor is created in black and white according to the following: | 136 >The cursor is created in black and white according to the following: |
134 <DIV | 137 <DIV |
135 CLASS="INFORMALTABLE" | 138 CLASS="INFORMALTABLE" |
136 ><A | 139 ><A |
137 NAME="AEN2119" | 140 NAME="AEN2503" |
138 ></A | 141 ></A |
139 ><P | 142 ><P |
140 ></P | 143 ></P |
141 ><TABLE | 144 ><TABLE |
142 BORDER="1" | 145 BORDER="1" |
208 >.</P | 211 >.</P |
209 ></DIV | 212 ></DIV |
210 ><DIV | 213 ><DIV |
211 CLASS="REFSECT1" | 214 CLASS="REFSECT1" |
212 ><A | 215 ><A |
213 NAME="AEN2140" | 216 NAME="AEN2524" |
214 ></A | 217 ></A |
215 ><H2 | 218 ><H2 |
216 >Example</H2 | 219 >Example</H2 |
217 ><PRE | 220 ><PRE |
218 CLASS="PROGRAMLISTING" | 221 CLASS="PROGRAMLISTING" |
282 data[i] = mask[i] = 0; | 285 data[i] = mask[i] = 0; |
283 } | 286 } |
284 switch (image[4+row][col]) { | 287 switch (image[4+row][col]) { |
285 case 'X': | 288 case 'X': |
286 data[i] |= 0x01; | 289 data[i] |= 0x01; |
287 k[i] |= 0x01; | 290 mask[i] |= 0x01; |
288 break; | 291 break; |
289 case '.': | 292 case '.': |
290 mask[i] |= 0x01; | 293 mask[i] |= 0x01; |
291 break; | 294 break; |
292 case ' ': | 295 case ' ': |
299 }</PRE | 302 }</PRE |
300 ></DIV | 303 ></DIV |
301 ><DIV | 304 ><DIV |
302 CLASS="REFSECT1" | 305 CLASS="REFSECT1" |
303 ><A | 306 ><A |
304 NAME="AEN2143" | 307 NAME="AEN2527" |
305 ></A | 308 ></A |
306 ><H2 | 309 ><H2 |
307 >See Also</H2 | 310 >See Also</H2 |
308 ><P | 311 ><P |
309 ><A | 312 ><A |
331 ><DIV | 334 ><DIV |
332 CLASS="NAVFOOTER" | 335 CLASS="NAVFOOTER" |
333 ><HR | 336 ><HR |
334 ALIGN="LEFT" | 337 ALIGN="LEFT" |
335 WIDTH="100%"><TABLE | 338 WIDTH="100%"><TABLE |
339 SUMMARY="Footer navigation table" | |
336 WIDTH="100%" | 340 WIDTH="100%" |
337 BORDER="0" | 341 BORDER="0" |
338 CELLPADDING="0" | 342 CELLPADDING="0" |
339 CELLSPACING="0" | 343 CELLSPACING="0" |
340 ><TR | 344 ><TR |
342 WIDTH="33%" | 346 WIDTH="33%" |
343 ALIGN="left" | 347 ALIGN="left" |
344 VALIGN="top" | 348 VALIGN="top" |
345 ><A | 349 ><A |
346 HREF="sdlwarpmouse.html" | 350 HREF="sdlwarpmouse.html" |
351 ACCESSKEY="P" | |
347 >Prev</A | 352 >Prev</A |
348 ></TD | 353 ></TD |
349 ><TD | 354 ><TD |
350 WIDTH="34%" | 355 WIDTH="34%" |
351 ALIGN="center" | 356 ALIGN="center" |
352 VALIGN="top" | 357 VALIGN="top" |
353 ><A | 358 ><A |
354 HREF="index.html" | 359 HREF="index.html" |
360 ACCESSKEY="H" | |
355 >Home</A | 361 >Home</A |
356 ></TD | 362 ></TD |
357 ><TD | 363 ><TD |
358 WIDTH="33%" | 364 WIDTH="33%" |
359 ALIGN="right" | 365 ALIGN="right" |
360 VALIGN="top" | 366 VALIGN="top" |
361 ><A | 367 ><A |
362 HREF="sdlfreecursor.html" | 368 HREF="sdlfreecursor.html" |
369 ACCESSKEY="N" | |
363 >Next</A | 370 >Next</A |
364 ></TD | 371 ></TD |
365 ></TR | 372 ></TR |
366 ><TR | 373 ><TR |
367 ><TD | 374 ><TD |
373 WIDTH="34%" | 380 WIDTH="34%" |
374 ALIGN="center" | 381 ALIGN="center" |
375 VALIGN="top" | 382 VALIGN="top" |
376 ><A | 383 ><A |
377 HREF="video.html" | 384 HREF="video.html" |
385 ACCESSKEY="U" | |
378 >Up</A | 386 >Up</A |
379 ></TD | 387 ></TD |
380 ><TD | 388 ><TD |
381 WIDTH="33%" | 389 WIDTH="33%" |
382 ALIGN="right" | 390 ALIGN="right" |