comparison docs/html/sdlsetgammaramp.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_SetGammaRamp</TITLE 4 >SDL_SetGammaRamp</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="sdlgetgammaramp.html" 48 HREF="sdlgetgammaramp.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="sdlmaprgb.html" 62 HREF="sdlmaprgb.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="SDLSETGAMMARAMP" 73 NAME="SDLSETGAMMARAMP"
71 >SDL_SetGammaRamp</A 74 ></A
72 ></H1 75 >SDL_SetGammaRamp</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN1240" 79 NAME="AEN1624"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_SetGammaRamp&nbsp;--&nbsp;Sets the color gamma lookup tables for the display</DIV 83 >SDL_SetGammaRamp&nbsp;--&nbsp;Sets the color gamma lookup tables for the display</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN1243" 87 NAME="AEN1627"
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="AEN1244" 94 NAME="AEN1628"
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="AEN1250" 118 NAME="AEN1634"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Sets the gamma lookup tables for the display for each color component. 123 >Sets the gamma lookup tables for the display for each color component.
134 >Not all display hardware is able to change gamma.</P 137 >Not all display hardware is able to change gamma.</P
135 ></DIV 138 ></DIV
136 ><DIV 139 ><DIV
137 CLASS="REFSECT1" 140 CLASS="REFSECT1"
138 ><A 141 ><A
139 NAME="AEN1256" 142 NAME="AEN1640"
140 ></A 143 ></A
141 ><H2 144 ><H2
142 >Return Value</H2 145 >Return Value</H2
143 ><P 146 ><P
144 >Returns -1 on error (or if gamma adjustment is not supported).</P 147 >Returns -1 on error (or if gamma adjustment is not supported).</P
145 ></DIV 148 ></DIV
146 ><DIV 149 ><DIV
147 CLASS="REFSECT1" 150 CLASS="REFSECT1"
148 ><A 151 ><A
149 NAME="AEN1259" 152 NAME="AEN1643"
150 ></A 153 ></A
151 ><H2 154 ><H2
152 >See Also</H2 155 >See Also</H2
153 ><P 156 ><P
154 ><A 157 ><A
163 ><DIV 166 ><DIV
164 CLASS="NAVFOOTER" 167 CLASS="NAVFOOTER"
165 ><HR 168 ><HR
166 ALIGN="LEFT" 169 ALIGN="LEFT"
167 WIDTH="100%"><TABLE 170 WIDTH="100%"><TABLE
171 SUMMARY="Footer navigation table"
168 WIDTH="100%" 172 WIDTH="100%"
169 BORDER="0" 173 BORDER="0"
170 CELLPADDING="0" 174 CELLPADDING="0"
171 CELLSPACING="0" 175 CELLSPACING="0"
172 ><TR 176 ><TR
174 WIDTH="33%" 178 WIDTH="33%"
175 ALIGN="left" 179 ALIGN="left"
176 VALIGN="top" 180 VALIGN="top"
177 ><A 181 ><A
178 HREF="sdlgetgammaramp.html" 182 HREF="sdlgetgammaramp.html"
183 ACCESSKEY="P"
179 >Prev</A 184 >Prev</A
180 ></TD 185 ></TD
181 ><TD 186 ><TD
182 WIDTH="34%" 187 WIDTH="34%"
183 ALIGN="center" 188 ALIGN="center"
184 VALIGN="top" 189 VALIGN="top"
185 ><A 190 ><A
186 HREF="index.html" 191 HREF="index.html"
192 ACCESSKEY="H"
187 >Home</A 193 >Home</A
188 ></TD 194 ></TD
189 ><TD 195 ><TD
190 WIDTH="33%" 196 WIDTH="33%"
191 ALIGN="right" 197 ALIGN="right"
192 VALIGN="top" 198 VALIGN="top"
193 ><A 199 ><A
194 HREF="sdlmaprgb.html" 200 HREF="sdlmaprgb.html"
201 ACCESSKEY="N"
195 >Next</A 202 >Next</A
196 ></TD 203 ></TD
197 ></TR 204 ></TR
198 ><TR 205 ><TR
199 ><TD 206 ><TD
205 WIDTH="34%" 212 WIDTH="34%"
206 ALIGN="center" 213 ALIGN="center"
207 VALIGN="top" 214 VALIGN="top"
208 ><A 215 ><A
209 HREF="video.html" 216 HREF="video.html"
217 ACCESSKEY="U"
210 >Up</A 218 >Up</A
211 ></TD 219 ></TD
212 ><TD 220 ><TD
213 WIDTH="33%" 221 WIDTH="33%"
214 ALIGN="right" 222 ALIGN="right"