First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxcmap_8h.html
blobf22a97b0e18861b47e2875154ce33224b9ff5b04
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <title>File Index</title>
6 <link href="doxygen.css" rel="stylesheet" type="text/css">
7 </head>
8 <body>
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11 <h1>dmxcmap.h File Reference</h1><code>#include "colormapst.h"</code><br>
13 <p>
14 <a href="dmxcmap_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
15 <tr><td></td></tr>
16 <tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
17 <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a></td></tr>
19 <tr><td colspan=2><br><h2>Defines</h2></td></tr>
20 <tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a0">DMX_SET_COLORMAP_PRIV</a>(_pCMap, _pCMapPriv)</td></tr>
22 <tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a1">DMX_GET_COLORMAP_PRIV</a>(_pCMap)&nbsp;&nbsp;&nbsp;(<a class="el" href="struct__dmxColormapPriv.html">dmxColormapPrivPtr</a>)(_pCMap)-&gt;devPrivates[<a class="el" href="dmxscrinit_8c.html#a6">dmxColormapPrivateIndex</a>].ptr</td></tr>
24 <tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
25 <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a2">dmxColormapPrivRec</a></td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a3">dmxColormapPrivPtr</a></td></tr>
29 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
30 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a5">dmxCreateColormap</a> (ColormapPtr pColormap)</td></tr>
32 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a6">dmxDestroyColormap</a> (ColormapPtr pColormap)</td></tr>
34 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a7">dmxInstallColormap</a> (ColormapPtr pColormap)</td></tr>
36 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a8">dmxStoreColors</a> (ColormapPtr pColormap, int ndef, xColorItem *pdef)</td></tr>
38 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a9">dmxCreateDefColormap</a> (ScreenPtr pScreen)</td></tr>
40 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a10">dmxBECreateColormap</a> (ColormapPtr pColormap)</td></tr>
42 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a11">dmxBEFreeColormap</a> (ColormapPtr pColormap)</td></tr>
44 <tr><td colspan=2><br><h2>Variables</h2></td></tr>
45 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxcmap_8h.html#a4">dmxColormapPrivateIndex</a></td></tr>
47 </table>
48 <hr><a name="_details"></a><h2>Detailed Description</h2>
49 Header file for colormap support. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="dmxcmap_8c.html">dmxcmap.c</a>.</dd></dl>
50 <hr><h2>Define Documentation</h2>
51 <a class="anchor" name="a1" doxytag="dmxcmap.h::DMX_GET_COLORMAP_PRIV" ></a><p>
52 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
53 <tr>
54 <td class="mdRow">
55 <table cellpadding="0" cellspacing="0" border="0">
56 <tr>
57 <td class="md" nowrap valign="top"> #define DMX_GET_COLORMAP_PRIV</td>
58 <td class="md" valign="top">(&nbsp;</td>
59 <td class="md" nowrap valign="top">_pCMap&nbsp;</td>
60 <td class="mdname1" valign="top" nowrap> </td>
61 <td class="md" valign="top">&nbsp;)&nbsp;</td>
62 <td class="md" nowrap>&nbsp;&nbsp;&nbsp;(<a class="el" href="struct__dmxColormapPriv.html">dmxColormapPrivPtr</a>)(_pCMap)-&gt;devPrivates[<a class="el" href="dmxscrinit_8c.html#a6">dmxColormapPrivateIndex</a>].ptr
63 </table>
64 </td>
65 </tr>
66 </table>
67 <table cellspacing=5 cellpadding=0 border=0>
68 <tr>
69 <td>
70 &nbsp;
71 </td>
72 <td>
74 <p>
75 Get colormap private structure. </td>
76 </tr>
77 </table>
78 <a class="anchor" name="a0" doxytag="dmxcmap.h::DMX_SET_COLORMAP_PRIV" ></a><p>
79 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
80 <tr>
81 <td class="mdRow">
82 <table cellpadding="0" cellspacing="0" border="0">
83 <tr>
84 <td class="md" nowrap valign="top"> #define DMX_SET_COLORMAP_PRIV</td>
85 <td class="md" valign="top">(&nbsp;</td>
86 <td class="md" nowrap valign="top">_pCMap, <tr>
87 <td></td>
88 <td></td>
89 <td class="md" nowrap>_pCMapPriv&nbsp;</td>
90 <td class="mdname1" valign="top" nowrap> </td>
91 <td class="md" valign="top">&nbsp;)&nbsp;</td>
92 <td class="md" nowrap>
93 </table>
94 </td>
95 </tr>
96 </table>
97 <table cellspacing=5 cellpadding=0 border=0>
98 <tr>
99 <td>
100 &nbsp;
101 </td>
102 <td>
105 <b>Value:</b><div class="fragment"><pre>(_pCMap)-&gt;devPrivates[<a class="code" href="dmxcmap_8h.html#a4">dmxColormapPrivateIndex</a>].ptr \
106 = (pointer)(_pCMapPriv);
107 </pre></div>Set colormap private structure. </td>
108 </tr>
109 </table>
110 <hr><h2>Typedef Documentation</h2>
111 <a class="anchor" name="a3" doxytag="dmxcmap.h::dmxColormapPrivPtr" ></a><p>
112 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
113 <tr>
114 <td class="mdRow">
115 <table cellpadding="0" cellspacing="0" border="0">
116 <tr>
117 <td class="md" nowrap valign="top"> typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> * <a class="el" href="struct__dmxColormapPriv.html">dmxColormapPrivPtr</a>
118 </table>
119 </td>
120 </tr>
121 </table>
122 <table cellspacing=5 cellpadding=0 border=0>
123 <tr>
124 <td>
125 &nbsp;
126 </td>
127 <td>
130 Colormap private area. </td>
131 </tr>
132 </table>
133 <a class="anchor" name="a2" doxytag="dmxcmap.h::dmxColormapPrivRec" ></a><p>
134 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
135 <tr>
136 <td class="mdRow">
137 <table cellpadding="0" cellspacing="0" border="0">
138 <tr>
139 <td class="md" nowrap valign="top"> typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> <a class="el" href="struct__dmxColormapPriv.html">dmxColormapPrivRec</a>
140 </table>
141 </td>
142 </tr>
143 </table>
144 <table cellspacing=5 cellpadding=0 border=0>
145 <tr>
146 <td>
147 &nbsp;
148 </td>
149 <td>
152 Colormap private area. </td>
153 </tr>
154 </table>
155 <hr><h2>Function Documentation</h2>
156 <a class="anchor" name="a10" doxytag="dmxcmap.h::dmxBECreateColormap" ></a><p>
157 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
158 <tr>
159 <td class="mdRow">
160 <table cellpadding="0" cellspacing="0" border="0">
161 <tr>
162 <td class="md" nowrap valign="top"> Bool dmxBECreateColormap </td>
163 <td class="md" valign="top">(&nbsp;</td>
164 <td class="md" nowrap valign="top">ColormapPtr&nbsp;</td>
165 <td class="mdname1" valign="top" nowrap> <em>pColormap</em> </td>
166 <td class="md" valign="top">&nbsp;)&nbsp;</td>
167 <td class="md" nowrap></td>
168 </tr>
170 </table>
171 </td>
172 </tr>
173 </table>
174 <table cellspacing=5 cellpadding=0 border=0>
175 <tr>
176 <td>
177 &nbsp;
178 </td>
179 <td>
182 Create <em>pColormap</em> on the back-end server. </td>
183 </tr>
184 </table>
185 <a class="anchor" name="a11" doxytag="dmxcmap.h::dmxBEFreeColormap" ></a><p>
186 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
187 <tr>
188 <td class="mdRow">
189 <table cellpadding="0" cellspacing="0" border="0">
190 <tr>
191 <td class="md" nowrap valign="top"> Bool dmxBEFreeColormap </td>
192 <td class="md" valign="top">(&nbsp;</td>
193 <td class="md" nowrap valign="top">ColormapPtr&nbsp;</td>
194 <td class="mdname1" valign="top" nowrap> <em>pColormap</em> </td>
195 <td class="md" valign="top">&nbsp;)&nbsp;</td>
196 <td class="md" nowrap></td>
197 </tr>
199 </table>
200 </td>
201 </tr>
202 </table>
203 <table cellspacing=5 cellpadding=0 border=0>
204 <tr>
205 <td>
206 &nbsp;
207 </td>
208 <td>
211 Destroy <em>pColormap</em> on the back-end server. </td>
212 </tr>
213 </table>
214 <a class="anchor" name="a5" doxytag="dmxcmap.h::dmxCreateColormap" ></a><p>
215 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
216 <tr>
217 <td class="mdRow">
218 <table cellpadding="0" cellspacing="0" border="0">
219 <tr>
220 <td class="md" nowrap valign="top"> Bool dmxCreateColormap </td>
221 <td class="md" valign="top">(&nbsp;</td>
222 <td class="md" nowrap valign="top">ColormapPtr&nbsp;</td>
223 <td class="mdname1" valign="top" nowrap> <em>pColormap</em> </td>
224 <td class="md" valign="top">&nbsp;)&nbsp;</td>
225 <td class="md" nowrap></td>
226 </tr>
228 </table>
229 </td>
230 </tr>
231 </table>
232 <table cellspacing=5 cellpadding=0 border=0>
233 <tr>
234 <td>
235 &nbsp;
236 </td>
237 <td>
240 Create colormap on back-end server associated with <em>pColormap's</em> screen. </td>
241 </tr>
242 </table>
243 <a class="anchor" name="a9" doxytag="dmxcmap.h::dmxCreateDefColormap" ></a><p>
244 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
245 <tr>
246 <td class="mdRow">
247 <table cellpadding="0" cellspacing="0" border="0">
248 <tr>
249 <td class="md" nowrap valign="top"> Bool dmxCreateDefColormap </td>
250 <td class="md" valign="top">(&nbsp;</td>
251 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
252 <td class="mdname1" valign="top" nowrap> <em>pScreen</em> </td>
253 <td class="md" valign="top">&nbsp;)&nbsp;</td>
254 <td class="md" nowrap></td>
255 </tr>
257 </table>
258 </td>
259 </tr>
260 </table>
261 <table cellspacing=5 cellpadding=0 border=0>
262 <tr>
263 <td>
264 &nbsp;
265 </td>
266 <td>
269 Create the DMX server's default colormap. </td>
270 </tr>
271 </table>
272 <a class="anchor" name="a6" doxytag="dmxcmap.h::dmxDestroyColormap" ></a><p>
273 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
274 <tr>
275 <td class="mdRow">
276 <table cellpadding="0" cellspacing="0" border="0">
277 <tr>
278 <td class="md" nowrap valign="top"> void dmxDestroyColormap </td>
279 <td class="md" valign="top">(&nbsp;</td>
280 <td class="md" nowrap valign="top">ColormapPtr&nbsp;</td>
281 <td class="mdname1" valign="top" nowrap> <em>pColormap</em> </td>
282 <td class="md" valign="top">&nbsp;)&nbsp;</td>
283 <td class="md" nowrap></td>
284 </tr>
286 </table>
287 </td>
288 </tr>
289 </table>
290 <table cellspacing=5 cellpadding=0 border=0>
291 <tr>
292 <td>
293 &nbsp;
294 </td>
295 <td>
298 Destroy colormap on back-end server associated with <em>pColormap's</em> screen. </td>
299 </tr>
300 </table>
301 <a class="anchor" name="a7" doxytag="dmxcmap.h::dmxInstallColormap" ></a><p>
302 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
303 <tr>
304 <td class="mdRow">
305 <table cellpadding="0" cellspacing="0" border="0">
306 <tr>
307 <td class="md" nowrap valign="top"> void dmxInstallColormap </td>
308 <td class="md" valign="top">(&nbsp;</td>
309 <td class="md" nowrap valign="top">ColormapPtr&nbsp;</td>
310 <td class="mdname1" valign="top" nowrap> <em>pColormap</em> </td>
311 <td class="md" valign="top">&nbsp;)&nbsp;</td>
312 <td class="md" nowrap></td>
313 </tr>
315 </table>
316 </td>
317 </tr>
318 </table>
319 <table cellspacing=5 cellpadding=0 border=0>
320 <tr>
321 <td>
322 &nbsp;
323 </td>
324 <td>
327 Install colormap on back-end server associated with <em>pColormap's</em> screen. </td>
328 </tr>
329 </table>
330 <a class="anchor" name="a8" doxytag="dmxcmap.h::dmxStoreColors" ></a><p>
331 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
332 <tr>
333 <td class="mdRow">
334 <table cellpadding="0" cellspacing="0" border="0">
335 <tr>
336 <td class="md" nowrap valign="top"> void dmxStoreColors </td>
337 <td class="md" valign="top">(&nbsp;</td>
338 <td class="md" nowrap valign="top">ColormapPtr&nbsp;</td>
339 <td class="mdname" nowrap> <em>pColormap</em>, </td>
340 </tr>
341 <tr>
342 <td></td>
343 <td></td>
344 <td class="md" nowrap>int&nbsp;</td>
345 <td class="mdname" nowrap> <em>ndef</em>, </td>
346 </tr>
347 <tr>
348 <td></td>
349 <td></td>
350 <td class="md" nowrap>xColorItem *&nbsp;</td>
351 <td class="mdname" nowrap> <em>pdef</em></td>
352 </tr>
353 <tr>
354 <td></td>
355 <td class="md">)&nbsp;</td>
356 <td class="md" colspan="2"></td>
357 </tr>
359 </table>
360 </td>
361 </tr>
362 </table>
363 <table cellspacing=5 cellpadding=0 border=0>
364 <tr>
365 <td>
366 &nbsp;
367 </td>
368 <td>
371 Store colors in <em>pColormap</em> on back-end server associated with <em>pColormap's</em> screen. </td>
372 </tr>
373 </table>
374 <hr><h2>Variable Documentation</h2>
375 <a class="anchor" name="a4" doxytag="dmxcmap.h::dmxColormapPrivateIndex" ></a><p>
376 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
377 <tr>
378 <td class="mdRow">
379 <table cellpadding="0" cellspacing="0" border="0">
380 <tr>
381 <td class="md" nowrap valign="top"> int <a class="el" href="dmxscrinit_8c.html#a6">dmxColormapPrivateIndex</a>
382 </table>
383 </td>
384 </tr>
385 </table>
386 <table cellspacing=5 cellpadding=0 border=0>
387 <tr>
388 <td>
389 &nbsp;
390 </td>
391 <td>
394 Private index for Colormaps </td>
395 </tr>
396 </table>
397 <hr>
398 <address>
399 <small>
400 Generated June 29, 2004 for <a
401 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
402 <a href="http://www.doxygen.org/index.html">doxygen</a>
403 1.3.4.
404 </small>
405 </addres>
406 </hr>
407 </body>
408 </html>