comparison docs/html/sdlsetvideomode.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_SetVideoMode</TITLE 4 >SDL_SetVideoMode</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="sdlvideomodeok.html" 48 HREF="sdlvideomodeok.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="sdlupdaterect.html" 62 HREF="sdlupdaterect.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="SDLSETVIDEOMODE" 73 NAME="SDLSETVIDEOMODE"
71 >SDL_SetVideoMode</A 74 ></A
72 ></H1 75 >SDL_SetVideoMode</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN856" 79 NAME="AEN1239"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_SetVideoMode&nbsp;--&nbsp;Set up a video mode with the specified width, height and bits-per-pixel.</DIV 83 >SDL_SetVideoMode&nbsp;--&nbsp;Set up a video mode with the specified width, height and bits-per-pixel.</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN859" 87 NAME="AEN1242"
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="AEN860" 94 NAME="AEN1243"
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="AEN866" 118 NAME="AEN1249"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Set up a video mode with the specified width, height and bits-per-pixel.</P 123 >Set up a video mode with the specified width, height and bits-per-pixel.</P
145 ></A 148 ></A
146 > structure. OR'd combinations of the following values are valid.</P 149 > structure. OR'd combinations of the following values are valid.</P
147 ><DIV 150 ><DIV
148 CLASS="INFORMALTABLE" 151 CLASS="INFORMALTABLE"
149 ><A 152 ><A
150 NAME="AEN876" 153 NAME="AEN1259"
151 ></A 154 ></A
152 ><P 155 ><P
153 ></P 156 ></P
154 ><TABLE 157 ><TABLE
155 BORDER="1" 158 BORDER="1"
328 ><TT 331 ><TT
329 CLASS="FUNCTION" 332 CLASS="FUNCTION"
330 >SDL_UpdateRects</TT 333 >SDL_UpdateRects</TT
331 ></A 334 ></A
332 > 335 >
333 must be used for updating changes to the screen surface.</TD 336 must be used for updating changes to the screen surface. NOTE: This option
337 is kept for compatibility only, and is <SPAN
338 CLASS="emphasis"
339 ><I
340 CLASS="EMPHASIS"
341 >not</I
342 ></SPAN
343 > recommended for
344 new code.</TD
334 ></TR 345 ></TR
335 ><TR 346 ><TR
336 ><TD 347 ><TD
337 ALIGN="LEFT" 348 ALIGN="LEFT"
338 VALIGN="TOP" 349 VALIGN="TOP"
429 ></DIV 440 ></DIV
430 ></DIV 441 ></DIV
431 ><DIV 442 ><DIV
432 CLASS="REFSECT1" 443 CLASS="REFSECT1"
433 ><A 444 ><A
434 NAME="AEN952" 445 NAME="AEN1336"
435 ></A 446 ></A
436 ><H2 447 ><H2
437 >Return Value</H2 448 >Return Value</H2
438 ><P 449 ><P
439 >The framebuffer surface, or <SPAN 450 >The framebuffer surface, or <SPAN
444 the caller.</P 455 the caller.</P
445 ></DIV 456 ></DIV
446 ><DIV 457 ><DIV
447 CLASS="REFSECT1" 458 CLASS="REFSECT1"
448 ><A 459 ><A
449 NAME="AEN956" 460 NAME="AEN1340"
450 ></A 461 ></A
451 ><H2 462 ><H2
452 >See Also</H2 463 >See Also</H2
453 ><P 464 ><P
454 ><A 465 ><A
483 ><DIV 494 ><DIV
484 CLASS="NAVFOOTER" 495 CLASS="NAVFOOTER"
485 ><HR 496 ><HR
486 ALIGN="LEFT" 497 ALIGN="LEFT"
487 WIDTH="100%"><TABLE 498 WIDTH="100%"><TABLE
499 SUMMARY="Footer navigation table"
488 WIDTH="100%" 500 WIDTH="100%"
489 BORDER="0" 501 BORDER="0"
490 CELLPADDING="0" 502 CELLPADDING="0"
491 CELLSPACING="0" 503 CELLSPACING="0"
492 ><TR 504 ><TR
494 WIDTH="33%" 506 WIDTH="33%"
495 ALIGN="left" 507 ALIGN="left"
496 VALIGN="top" 508 VALIGN="top"
497 ><A 509 ><A
498 HREF="sdlvideomodeok.html" 510 HREF="sdlvideomodeok.html"
511 ACCESSKEY="P"
499 >Prev</A 512 >Prev</A
500 ></TD 513 ></TD
501 ><TD 514 ><TD
502 WIDTH="34%" 515 WIDTH="34%"
503 ALIGN="center" 516 ALIGN="center"
504 VALIGN="top" 517 VALIGN="top"
505 ><A 518 ><A
506 HREF="index.html" 519 HREF="index.html"
520 ACCESSKEY="H"
507 >Home</A 521 >Home</A
508 ></TD 522 ></TD
509 ><TD 523 ><TD
510 WIDTH="33%" 524 WIDTH="33%"
511 ALIGN="right" 525 ALIGN="right"
512 VALIGN="top" 526 VALIGN="top"
513 ><A 527 ><A
514 HREF="sdlupdaterect.html" 528 HREF="sdlupdaterect.html"
529 ACCESSKEY="N"
515 >Next</A 530 >Next</A
516 ></TD 531 ></TD
517 ></TR 532 ></TR
518 ><TR 533 ><TR
519 ><TD 534 ><TD
525 WIDTH="34%" 540 WIDTH="34%"
526 ALIGN="center" 541 ALIGN="center"
527 VALIGN="top" 542 VALIGN="top"
528 ><A 543 ><A
529 HREF="video.html" 544 HREF="video.html"
545 ACCESSKEY="U"
530 >Up</A 546 >Up</A
531 ></TD 547 ></TD
532 ><TD 548 ><TD
533 WIDTH="33%" 549 WIDTH="33%"
534 ALIGN="right" 550 ALIGN="right"