1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>File Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>dmxcmap.c File Reference</h1><code>#include "<a class="el" href="dmx_8h_source.html">dmx.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxlog_8h_source.html">dmxlog.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxsync_8h_source.html">dmxsync.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxcmap_8h_source.html">dmxcmap.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxvisual_8h_source.html">dmxvisual.h</a>"</code><br/>
<code>#include "micmap.h"</code><br/>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8c.html#a0ad36af95555b052bd64595a6b7d7af0">dmxAllocateColormapPrivates</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8c.html#a6986e997430cf665904ad9149e39a50b">dmxBECreateColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8c.html#a07f6c7d8523b669b5fa614cbe5c0e1ad">dmxCreateColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8c.html#a432d82d6335a8bc17292440baded360c">dmxBEFreeColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8c.html#ab12dcafef41b3dc821dc1ecd220735c3">dmxDestroyColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8c.html#a13a0bbf846ac7b3dcb41ae9bc4e64a3e">dmxInstallColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8c.html#a38bddf73cfed2aec203c62fc5be4ae97">dmxStoreColors</a> (ColormapPtr pColormap, int ndef, xColorItem *pdef)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8c.html#a5481a08a1030ecac42ff809a1c7d2139">dmxCreateDefColormap</a> (ScreenPtr pScreen)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Colormap support. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a0ad36af95555b052bd64595a6b7d7af0"></a><!-- doxytag: member="dmxcmap.c::dmxAllocateColormapPrivates" ref="a0ad36af95555b052bd64595a6b7d7af0" args="(ColormapPtr pColormap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static Bool dmxAllocateColormapPrivates </td>
<td>(</td>
<td class="paramtype">ColormapPtr </td>
<td class="paramname"> <em>pColormap</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>References <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, and <a class="el" href="dmxcmap_8h_source.html#l00062">DMX_SET_COLORMAP_PRIV</a>.</p>
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00088">dmxCreateColormap()</a>.</p>
</div>
</div>
<a class="anchor" id="a6986e997430cf665904ad9149e39a50b"></a><!-- doxytag: member="dmxcmap.c::dmxBECreateColormap" ref="a6986e997430cf665904ad9149e39a50b" args="(ColormapPtr pColormap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bool dmxBECreateColormap </td>
<td>(</td>
<td class="paramtype">ColormapPtr </td>
<td class="paramname"> <em>pColormap</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create <em>pColormap</em> on the back-end server. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, <a class="el" href="dmxcmap_8h_source.html#l00066">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#l00084">dmxScreens</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, and <a class="el" href="dmx_8h_source.html#l00125">_DMXScreenInfo::scrnWin</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l00856">dmxBECreateResources()</a>, and <a class="el" href="dmxcmap_8c_source.html#l00088">dmxCreateColormap()</a>.</p>
</div>
</div>
<a class="anchor" id="a432d82d6335a8bc17292440baded360c"></a><!-- doxytag: member="dmxcmap.c::dmxBEFreeColormap" ref="a432d82d6335a8bc17292440baded360c" args="(ColormapPtr pColormap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bool dmxBEFreeColormap </td>
<td>(</td>
<td class="paramtype">ColormapPtr </td>
<td class="paramname"> <em>pColormap</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy <em>pColormap</em> on the back-end server. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, <a class="el" href="dmxcmap_8h_source.html#l00066">DMX_GET_COLORMAP_PRIV</a>, and <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01459">dmxBEDestroyResources()</a>, and <a class="el" href="dmxcmap_8c_source.html#l00128">dmxDestroyColormap()</a>.</p>
</div>
</div>
<a class="anchor" id="a07f6c7d8523b669b5fa614cbe5c0e1ad"></a><!-- doxytag: member="dmxcmap.c::dmxCreateColormap" ref="a07f6c7d8523b669b5fa614cbe5c0e1ad" args="(ColormapPtr pColormap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bool dmxCreateColormap </td>
<td>(</td>
<td class="paramtype">ColormapPtr </td>
<td class="paramname"> <em>pColormap</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create colormap on back-end server associated with <em>pColormap's</em> screen. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmx_8h_source.html#l00327">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00320">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#l00084">dmxScreens</a>.</p>
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00088">dmxCreateColormap()</a>, and <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>
</div>
</div>
<a class="anchor" id="a5481a08a1030ecac42ff809a1c7d2139"></a><!-- doxytag: member="dmxcmap.c::dmxCreateDefColormap" ref="a5481a08a1030ecac42ff809a1c7d2139" args="(ScreenPtr pScreen)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bool dmxCreateDefColormap </td>
<td>(</td>
<td class="paramtype">ScreenPtr </td>
<td class="paramname"> <em>pScreen</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create the DMX server's default colormap. </p>
<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>
</div>
</div>
<a class="anchor" id="ab12dcafef41b3dc821dc1ecd220735c3"></a><!-- doxytag: member="dmxcmap.c::dmxDestroyColormap" ref="ab12dcafef41b3dc821dc1ecd220735c3" args="(ColormapPtr pColormap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxDestroyColormap </td>
<td>(</td>
<td class="paramtype">ColormapPtr </td>
<td class="paramname"> <em>pColormap</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy colormap on back-end server associated with <em>pColormap's</em> screen. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00066">DMX_GET_COLORMAP_PRIV</a>, <a class="el" href="dmxcmap_8h_source.html#l00062">DMX_SET_COLORMAP_PRIV</a>, <a class="el" href="dmx_8h_source.html#l00327">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00320">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#l00084">dmxScreens</a>.</p>
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00128">dmxDestroyColormap()</a>, and <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>
</div>
</div>
<a class="anchor" id="a13a0bbf846ac7b3dcb41ae9bc4e64a3e"></a><!-- doxytag: member="dmxcmap.c::dmxInstallColormap" ref="a13a0bbf846ac7b3dcb41ae9bc4e64a3e" args="(ColormapPtr pColormap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxInstallColormap </td>
<td>(</td>
<td class="paramtype">ColormapPtr </td>
<td class="paramname"> <em>pColormap</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Install colormap on back-end server associated with <em>pColormap's</em> screen. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, <a class="el" href="dmxcmap_8h_source.html#l00066">DMX_GET_COLORMAP_PRIV</a>, <a class="el" href="dmx_8h_source.html#l00327">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00320">DMX_WRAP</a>, <a class="el" href="dmxcmap_8c_source.html#l00147">dmxInstallColormap()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, and <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>.</p>
<p>Referenced by <a class="el" href="dmxcmap_8c_source.html#l00147">dmxInstallColormap()</a>, and <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>
</div>
</div>
<a class="anchor" id="a38bddf73cfed2aec203c62fc5be4ae97"></a><!-- doxytag: member="dmxcmap.c::dmxStoreColors" ref="a38bddf73cfed2aec203c62fc5be4ae97" args="(ColormapPtr pColormap, int ndef, xColorItem *pdef)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxStoreColors </td>
<td>(</td>
<td class="paramtype">ColormapPtr </td>
<td class="paramname"> <em>pColormap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>ndef</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">xColorItem * </td>
<td class="paramname"> <em>pdef</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Store colors in <em>pColormap</em> on back-end server associated with <em>pColormap's</em> screen. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxcmap_8h_source.html#l00044">_dmxColormapPriv::cmap</a>, <a class="el" href="dmxcmap_8h_source.html#l00066">DMX_GET_COLORMAP_PRIV</a>, <a class="el" href="dmx_8h_source.html#l00327">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00320">DMX_WRAP</a>, <a class="el" href="dmxinit_8c_source.html#l00084">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>
<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>, and <a class="el" href="dmxcmap_8c_source.html#l00166">dmxStoreColors()</a>.</p>
</div>
</div>
</div>
<hr>
<address>
<small>
Generated June 29, 2004 for <a
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
<a href="http://www.doxygen.org/index.html">doxygen</a>
1.3.4.
</small>
</addres>
</hr>
</body>
</html>
|