1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
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">
9
<!-- Generated by Doxygen 1.6.3 -->
10
<div class="navigation" id="top">
13
<li><a href="main.html"><span>Main Page</span></a></li>
14
<li><a href="annotated.html"><span>Data Structures</span></a></li>
15
<li class="current"><a href="files.html"><span>Files</span></a></li>
20
<li><a href="files.html"><span>File List</span></a></li>
21
<li><a href="globals.html"><span>Globals</span></a></li>
25
<div class="contents">
26
<h1>dmxcmap.h File Reference</h1><code>#include "colormapst.h"</code><br/>
28
<p><a href="dmxcmap_8h_source.html">Go to the source code of this file.</a></p>
29
<table border="0" cellpadding="0" cellspacing="0">
30
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
31
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a></td></tr>
32
<tr><td colspan="2"><h2>Defines</h2></td></tr>
33
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a713cec2a0442303cafdb59183a686d28">DMX_SET_COLORMAP_PRIV</a>(_pCMap, _pCMapPriv) dixSetPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey, _pCMapPriv)</td></tr>
34
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#aee4652aa0ac07182583f0cb18ed8557b">DMX_GET_COLORMAP_PRIV</a>(_pCMap)</td></tr>
35
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
36
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a9b220494b52f982d4dcfa437d34d628b">dmxColormapPrivRec</a></td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#aec71fbb492f3a3ce7e6b2b083a8b0978">dmxColormapPrivPtr</a></td></tr>
38
<tr><td colspan="2"><h2>Functions</h2></td></tr>
39
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a07f6c7d8523b669b5fa614cbe5c0e1ad">dmxCreateColormap</a> (ColormapPtr pColormap)</td></tr>
40
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#ab12dcafef41b3dc821dc1ecd220735c3">dmxDestroyColormap</a> (ColormapPtr pColormap)</td></tr>
41
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a13a0bbf846ac7b3dcb41ae9bc4e64a3e">dmxInstallColormap</a> (ColormapPtr pColormap)</td></tr>
42
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a38bddf73cfed2aec203c62fc5be4ae97">dmxStoreColors</a> (ColormapPtr pColormap, int ndef, xColorItem *pdef)</td></tr>
43
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a5481a08a1030ecac42ff809a1c7d2139">dmxCreateDefColormap</a> (ScreenPtr pScreen)</td></tr>
44
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a6986e997430cf665904ad9149e39a50b">dmxBECreateColormap</a> (ColormapPtr pColormap)</td></tr>
45
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a432d82d6335a8bc17292440baded360c">dmxBEFreeColormap</a> (ColormapPtr pColormap)</td></tr>
47
<hr/><a name="_details"></a><h2>Detailed Description</h2>
48
<p>Header file for colormap support. </p>
49
<dl class="see"><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" id="aee4652aa0ac07182583f0cb18ed8557b"></a><!-- doxytag: member="dmxcmap.h::DMX_GET_COLORMAP_PRIV" ref="aee4652aa0ac07182583f0cb18ed8557b" args="(_pCMap)" -->
53
<div class="memproto">
54
<table class="memname">
56
<td class="memname">#define DMX_GET_COLORMAP_PRIV</td>
58
<td class="paramtype">_pCMap </td>
59
<td class="paramname"></td>
60
<td> ) </td>
66
<b>Value:</b><div class="fragment"><pre class="fragment">(<a class="code" href="struct__dmxColormapPriv.html">dmxColormapPrivPtr</a>) \
67
dixLookupPrivate(&(_pCMap)->devPrivates, <a class="code" href="dmx_8h.html#a47c216bb108efa441d7009a7da18d759">dmxColormapPrivateKey</a>)
68
</pre></div><p>Get colormap private structure. </p>
70
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00064">dmxBECreateColormap()</a>, <a class="el" href="dmxcmap_8c_source.html#l00111">dmxBEFreeColormap()</a>, <a class="el" href="dmxwindow_8c_source.html#l00070">dmxCreateRootWindow()</a>, <a class="el" href="dmxcmap_8c_source.html#l00128">dmxDestroyColormap()</a>, <a class="el" href="dmxwindow_8c_source.html#l00467">dmxDoChangeWindowAttributes()</a>, <a class="el" href="dmxwindow_8c_source.html#l00176">dmxGetDefaultWindowAttributes()</a>, <a class="el" href="dmxcmap_8c_source.html#l00147">dmxInstallColormap()</a>, and <a class="el" href="dmxcmap_8c_source.html#l00166">dmxStoreColors()</a>.</p>
74
<a class="anchor" id="a713cec2a0442303cafdb59183a686d28"></a><!-- doxytag: member="dmxcmap.h::DMX_SET_COLORMAP_PRIV" ref="a713cec2a0442303cafdb59183a686d28" args="(_pCMap, _pCMapPriv)" -->
76
<div class="memproto">
77
<table class="memname">
79
<td class="memname">#define DMX_SET_COLORMAP_PRIV</td>
81
<td class="paramtype">_pCMap, </td>
84
<td class="paramkey"></td>
86
<td class="paramtype">_pCMapPriv </td>
87
<td class="paramname"></td>
88
<td> ) </td>
89
<td> dixSetPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey, _pCMapPriv)</td>
94
<p>Set colormap private structure. </p>
96
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00049">dmxAllocateColormapPrivates()</a>, and <a class="el" href="dmxcmap_8c_source.html#l00128">dmxDestroyColormap()</a>.</p>
100
<hr/><h2>Typedef Documentation</h2>
101
<a class="anchor" id="aec71fbb492f3a3ce7e6b2b083a8b0978"></a><!-- doxytag: member="dmxcmap.h::dmxColormapPrivPtr" ref="aec71fbb492f3a3ce7e6b2b083a8b0978" args="" -->
102
<div class="memitem">
103
<div class="memproto">
104
<table class="memname">
106
<td class="memname">typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> * <a class="el" href="struct__dmxColormapPriv.html">dmxColormapPrivPtr</a></td>
114
<a class="anchor" id="a9b220494b52f982d4dcfa437d34d628b"></a><!-- doxytag: member="dmxcmap.h::dmxColormapPrivRec" ref="a9b220494b52f982d4dcfa437d34d628b" args="" -->
115
<div class="memitem">
116
<div class="memproto">
117
<table class="memname">
119
<td class="memname">typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> <a class="el" href="struct__dmxColormapPriv.html">dmxColormapPrivRec</a></td>
124
<p>Colormap private area. </p>
128
<hr/><h2>Function Documentation</h2>
129
<a class="anchor" id="a6986e997430cf665904ad9149e39a50b"></a><!-- doxytag: member="dmxcmap.h::dmxBECreateColormap" ref="a6986e997430cf665904ad9149e39a50b" args="(ColormapPtr pColormap)" -->
130
<div class="memitem">
131
<div class="memproto">
132
<table class="memname">
134
<td class="memname">Bool dmxBECreateColormap </td>
136
<td class="paramtype">ColormapPtr </td>
137
<td class="paramname"> <em>pColormap</em></td>
138
<td> ) </td>
144
<p>Create <em>pColormap</em> on the back-end server. </p>
146
<p>References <a class="el" href="dmx_8h_source.html#l00097">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, <a class="el" href="dmxcmap_8h_source.html#l00063">DMX_GET_COLORMAP_PRIV</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxvisual_8c_source.html#l00077">dmxLookupVisual()</a>, <a class="el" href="dmxinit_8c_source.html#l00082">dmxScreens</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, and <a class="el" href="dmx_8h_source.html#l00123">_DMXScreenInfo::scrnWin</a>.</p>
148
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l00854">dmxBECreateResources()</a>, and <a class="el" href="dmxcmap_8c_source.html#l00088">dmxCreateColormap()</a>.</p>
152
<a class="anchor" id="a432d82d6335a8bc17292440baded360c"></a><!-- doxytag: member="dmxcmap.h::dmxBEFreeColormap" ref="a432d82d6335a8bc17292440baded360c" args="(ColormapPtr pColormap)" -->
153
<div class="memitem">
154
<div class="memproto">
155
<table class="memname">
157
<td class="memname">Bool dmxBEFreeColormap </td>
159
<td class="paramtype">ColormapPtr </td>
160
<td class="paramname"> <em>pColormap</em></td>
161
<td> ) </td>
167
<p>Destroy <em>pColormap</em> on the back-end server. </p>
169
<p>References <a class="el" href="dmx_8h_source.html#l00097">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, <a class="el" href="dmxcmap_8h_source.html#l00063">DMX_GET_COLORMAP_PRIV</a>, and <a class="el" href="dmxinit_8c_source.html#l00082">dmxScreens</a>.</p>
171
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01451">dmxBEDestroyResources()</a>, and <a class="el" href="dmxcmap_8c_source.html#l00128">dmxDestroyColormap()</a>.</p>
175
<a class="anchor" id="a07f6c7d8523b669b5fa614cbe5c0e1ad"></a><!-- doxytag: member="dmxcmap.h::dmxCreateColormap" ref="a07f6c7d8523b669b5fa614cbe5c0e1ad" args="(ColormapPtr pColormap)" -->
176
<div class="memitem">
177
<div class="memproto">
178
<table class="memname">
180
<td class="memname">Bool dmxCreateColormap </td>
182
<td class="paramtype">ColormapPtr </td>
183
<td class="paramname"> <em>pColormap</em></td>
184
<td> ) </td>
190
<p>Create colormap on back-end server associated with <em>pColormap's</em> screen. </p>
192
<p>References <a class="el" href="dmx_8h_source.html#l00097">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmx_8h_source.html#l00323">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00316">DMX_WRAP</a>, <a class="el" href="dmxcmap_8c_source.html#l00049">dmxAllocateColormapPrivates()</a>, <a class="el" href="dmxcmap_8c_source.html#l00064">dmxBECreateColormap()</a>, <a class="el" href="dmxcmap_8c_source.html#l00088">dmxCreateColormap()</a>, and <a class="el" href="dmxinit_8c_source.html#l00082">dmxScreens</a>.</p>
194
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00088">dmxCreateColormap()</a>, and <a class="el" href="dmxscrinit_8c_source.html#l00201">dmxScreenInit()</a>.</p>
198
<a class="anchor" id="a5481a08a1030ecac42ff809a1c7d2139"></a><!-- doxytag: member="dmxcmap.h::dmxCreateDefColormap" ref="a5481a08a1030ecac42ff809a1c7d2139" args="(ScreenPtr pScreen)" -->
199
<div class="memitem">
200
<div class="memproto">
201
<table class="memname">
203
<td class="memname">Bool dmxCreateDefColormap </td>
205
<td class="paramtype">ScreenPtr </td>
206
<td class="paramname"> <em>pScreen</em></td>
207
<td> ) </td>
213
<p>Create the DMX server's default colormap. </p>
215
<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00201">dmxScreenInit()</a>.</p>
219
<a class="anchor" id="ab12dcafef41b3dc821dc1ecd220735c3"></a><!-- doxytag: member="dmxcmap.h::dmxDestroyColormap" ref="ab12dcafef41b3dc821dc1ecd220735c3" args="(ColormapPtr pColormap)" -->
220
<div class="memitem">
221
<div class="memproto">
222
<table class="memname">
224
<td class="memname">void dmxDestroyColormap </td>
226
<td class="paramtype">ColormapPtr </td>
227
<td class="paramname"> <em>pColormap</em></td>
228
<td> ) </td>
234
<p>Destroy colormap on back-end server associated with <em>pColormap's</em> screen. </p>
236
<p>References <a class="el" href="dmx_8h_source.html#l00097">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00063">DMX_GET_COLORMAP_PRIV</a>, <a class="el" href="dmxcmap_8h_source.html#l00059">DMX_SET_COLORMAP_PRIV</a>, <a class="el" href="dmx_8h_source.html#l00323">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00316">DMX_WRAP</a>, <a class="el" href="dmxcmap_8c_source.html#l00111">dmxBEFreeColormap()</a>, <a class="el" href="dmxcmap_8c_source.html#l00128">dmxDestroyColormap()</a>, and <a class="el" href="dmxinit_8c_source.html#l00082">dmxScreens</a>.</p>
238
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00128">dmxDestroyColormap()</a>, and <a class="el" href="dmxscrinit_8c_source.html#l00201">dmxScreenInit()</a>.</p>
242
<a class="anchor" id="a13a0bbf846ac7b3dcb41ae9bc4e64a3e"></a><!-- doxytag: member="dmxcmap.h::dmxInstallColormap" ref="a13a0bbf846ac7b3dcb41ae9bc4e64a3e" args="(ColormapPtr pColormap)" -->
243
<div class="memitem">
244
<div class="memproto">
245
<table class="memname">
247
<td class="memname">void dmxInstallColormap </td>
249
<td class="paramtype">ColormapPtr </td>
250
<td class="paramname"> <em>pColormap</em></td>
251
<td> ) </td>
257
<p>Install colormap on back-end server associated with <em>pColormap's</em> screen. </p>
259
<p>References <a class="el" href="dmx_8h_source.html#l00097">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, <a class="el" href="dmxcmap_8h_source.html#l00063">DMX_GET_COLORMAP_PRIV</a>, <a class="el" href="dmx_8h_source.html#l00323">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00316">DMX_WRAP</a>, <a class="el" href="dmxcmap_8c_source.html#l00147">dmxInstallColormap()</a>, <a class="el" href="dmxinit_8c_source.html#l00082">dmxScreens</a>, and <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>.</p>
261
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00147">dmxInstallColormap()</a>, and <a class="el" href="dmxscrinit_8c_source.html#l00201">dmxScreenInit()</a>.</p>
265
<a class="anchor" id="a38bddf73cfed2aec203c62fc5be4ae97"></a><!-- doxytag: member="dmxcmap.h::dmxStoreColors" ref="a38bddf73cfed2aec203c62fc5be4ae97" args="(ColormapPtr pColormap, int ndef, xColorItem *pdef)" -->
266
<div class="memitem">
267
<div class="memproto">
268
<table class="memname">
270
<td class="memname">void dmxStoreColors </td>
272
<td class="paramtype">ColormapPtr </td>
273
<td class="paramname"> <em>pColormap</em>, </td>
276
<td class="paramkey"></td>
278
<td class="paramtype">int </td>
279
<td class="paramname"> <em>ndef</em>, </td>
282
<td class="paramkey"></td>
284
<td class="paramtype">xColorItem * </td>
285
<td class="paramname"> <em>pdef</em></td><td> </td>
290
<td></td><td></td><td></td>
295
<p>Store colors in <em>pColormap</em> on back-end server associated with <em>pColormap's</em> screen. </p>
297
<p>References <a class="el" href="dmx_8h_source.html#l00097">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, <a class="el" href="dmxcmap_8h_source.html#l00063">DMX_GET_COLORMAP_PRIV</a>, <a class="el" href="dmx_8h_source.html#l00323">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00316">DMX_WRAP</a>, <a class="el" href="dmxinit_8c_source.html#l00082">dmxScreens</a>, <a class="el" href="dmxcmap_8c_source.html#l00166">dmxStoreColors()</a>, and <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>.</p>
299
<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00201">dmxScreenInit()</a>, and <a class="el" href="dmxcmap_8c_source.html#l00166">dmxStoreColors()</a>.</p>
307
Generated June 29, 2004 for <a
308
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
309
<a href="http://www.doxygen.org/index.html">doxygen</a>