comparison docs/html/sdlsetcolors.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_SetColors</TITLE 4 >SDL_SetColors</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="sdlflip.html" 48 HREF="sdlflip.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="sdlsetpalette.html" 62 HREF="sdlsetpalette.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="SDLSETCOLORS" 73 NAME="SDLSETCOLORS"
71 >SDL_SetColors</A 74 ></A
72 ></H1 75 >SDL_SetColors</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN1078" 79 NAME="AEN1462"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_SetColors&nbsp;--&nbsp;Sets a portion of the colormap for the given 8-bit surface.</DIV 83 >SDL_SetColors&nbsp;--&nbsp;Sets a portion of the colormap for the given 8-bit surface.</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN1081" 87 NAME="AEN1465"
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="AEN1082" 94 NAME="AEN1466"
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="AEN1088" 118 NAME="AEN1472"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Sets a portion of the colormap for the given 8-bit surface.</P 123 >Sets a portion of the colormap for the given 8-bit surface.</P
183 >.</P 186 >.</P
184 ></DIV 187 ></DIV
185 ><DIV 188 ><DIV
186 CLASS="REFSECT1" 189 CLASS="REFSECT1"
187 ><A 190 ><A
188 NAME="AEN1107" 191 NAME="AEN1491"
189 ></A 192 ></A
190 ><H2 193 ><H2
191 >Return Value</H2 194 >Return Value</H2
192 ><P 195 ><P
193 >If <TT 196 >If <TT
215 surface palette to determine the actual color palette.</P 218 surface palette to determine the actual color palette.</P
216 ></DIV 219 ></DIV
217 ><DIV 220 ><DIV
218 CLASS="REFSECT1" 221 CLASS="REFSECT1"
219 ><A 222 ><A
220 NAME="AEN1115" 223 NAME="AEN1499"
221 ></A 224 ></A
222 ><H2 225 ><H2
223 >Example</H2 226 >Example</H2
224 ><PRE 227 ><PRE
225 CLASS="PROGRAMLISTING" 228 CLASS="PROGRAMLISTING"
252 .</PRE 255 .</PRE
253 ></DIV 256 ></DIV
254 ><DIV 257 ><DIV
255 CLASS="REFSECT1" 258 CLASS="REFSECT1"
256 ><A 259 ><A
257 NAME="AEN1118" 260 NAME="AEN1502"
258 ></A 261 ></A
259 ><H2 262 ><H2
260 >See Also</H2 263 >See Also</H2
261 ><P 264 ><P
262 ><A 265 ><A
291 ><DIV 294 ><DIV
292 CLASS="NAVFOOTER" 295 CLASS="NAVFOOTER"
293 ><HR 296 ><HR
294 ALIGN="LEFT" 297 ALIGN="LEFT"
295 WIDTH="100%"><TABLE 298 WIDTH="100%"><TABLE
299 SUMMARY="Footer navigation table"
296 WIDTH="100%" 300 WIDTH="100%"
297 BORDER="0" 301 BORDER="0"
298 CELLPADDING="0" 302 CELLPADDING="0"
299 CELLSPACING="0" 303 CELLSPACING="0"
300 ><TR 304 ><TR
302 WIDTH="33%" 306 WIDTH="33%"
303 ALIGN="left" 307 ALIGN="left"
304 VALIGN="top" 308 VALIGN="top"
305 ><A 309 ><A
306 HREF="sdlflip.html" 310 HREF="sdlflip.html"
311 ACCESSKEY="P"
307 >Prev</A 312 >Prev</A
308 ></TD 313 ></TD
309 ><TD 314 ><TD
310 WIDTH="34%" 315 WIDTH="34%"
311 ALIGN="center" 316 ALIGN="center"
312 VALIGN="top" 317 VALIGN="top"
313 ><A 318 ><A
314 HREF="index.html" 319 HREF="index.html"
320 ACCESSKEY="H"
315 >Home</A 321 >Home</A
316 ></TD 322 ></TD
317 ><TD 323 ><TD
318 WIDTH="33%" 324 WIDTH="33%"
319 ALIGN="right" 325 ALIGN="right"
320 VALIGN="top" 326 VALIGN="top"
321 ><A 327 ><A
322 HREF="sdlsetpalette.html" 328 HREF="sdlsetpalette.html"
329 ACCESSKEY="N"
323 >Next</A 330 >Next</A
324 ></TD 331 ></TD
325 ></TR 332 ></TR
326 ><TR 333 ><TR
327 ><TD 334 ><TD
333 WIDTH="34%" 340 WIDTH="34%"
334 ALIGN="center" 341 ALIGN="center"
335 VALIGN="top" 342 VALIGN="top"
336 ><A 343 ><A
337 HREF="video.html" 344 HREF="video.html"
345 ACCESSKEY="U"
338 >Up</A 346 >Up</A
339 ></TD 347 ></TD
340 ><TD 348 ><TD
341 WIDTH="33%" 349 WIDTH="33%"
342 ALIGN="right" 350 ALIGN="right"