<!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&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>dmxcmap.h File Reference</h1><code>#include &quot;colormapst.h&quot;</code><br/>

<p><a href="dmxcmap_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a></td></tr>
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a713cec2a0442303cafdb59183a686d28">DMX_SET_COLORMAP_PRIV</a>(_pCMap, _pCMapPriv)&nbsp;&nbsp;&nbsp;dixSetPrivate(&amp;(_pCMap)-&gt;devPrivates, <a class="el" href="dmxscrinit_8c.html#ac851002ecdb3ee41847403048e47cc8d">dmxColormapPrivateKey</a>, _pCMapPriv)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#aee4652aa0ac07182583f0cb18ed8557b">DMX_GET_COLORMAP_PRIV</a>(_pCMap)</td></tr>
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a9b220494b52f982d4dcfa437d34d628b">dmxColormapPrivRec</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#aec71fbb492f3a3ce7e6b2b083a8b0978">dmxColormapPrivPtr</a></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a07f6c7d8523b669b5fa614cbe5c0e1ad">dmxCreateColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#ab12dcafef41b3dc821dc1ecd220735c3">dmxDestroyColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a13a0bbf846ac7b3dcb41ae9bc4e64a3e">dmxInstallColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a38bddf73cfed2aec203c62fc5be4ae97">dmxStoreColors</a> (ColormapPtr pColormap, int ndef, xColorItem *pdef)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a5481a08a1030ecac42ff809a1c7d2139">dmxCreateDefColormap</a> (ScreenPtr pScreen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a6986e997430cf665904ad9149e39a50b">dmxBECreateColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#a432d82d6335a8bc17292440baded360c">dmxBEFreeColormap</a> (ColormapPtr pColormap)</td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">DevPrivateKey&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcmap_8h.html#ac851002ecdb3ee41847403048e47cc8d">dmxColormapPrivateKey</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Header file for colormap support. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxcmap_8c.html">dmxcmap.c</a>. </dd></dl>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="aee4652aa0ac07182583f0cb18ed8557b"></a><!-- doxytag: member="dmxcmap.h::DMX_GET_COLORMAP_PRIV" ref="aee4652aa0ac07182583f0cb18ed8557b" args="(_pCMap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DMX_GET_COLORMAP_PRIV</td>
          <td>(</td>
          <td class="paramtype">_pCMap&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment">(<a class="code" href="struct__dmxColormapPriv.html">dmxColormapPrivPtr</a>)            \
    dixLookupPrivate(&amp;(_pCMap)-&gt;devPrivates, <a class="code" href="dmxcmap_8h.html#ac851002ecdb3ee41847403048e47cc8d">dmxColormapPrivateKey</a>)
</pre></div><p>Get colormap private structure. </p>

<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#l00072">dmxCreateRootWindow()</a>, <a class="el" href="dmxcmap_8c_source.html#l00128">dmxDestroyColormap()</a>, <a class="el" href="dmxwindow_8c_source.html#l00475">dmxDoChangeWindowAttributes()</a>, <a class="el" href="dmxwindow_8c_source.html#l00178">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>

</div>
</div>
<a class="anchor" id="a713cec2a0442303cafdb59183a686d28"></a><!-- doxytag: member="dmxcmap.h::DMX_SET_COLORMAP_PRIV" ref="a713cec2a0442303cafdb59183a686d28" args="(_pCMap, _pCMapPriv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DMX_SET_COLORMAP_PRIV</td>
          <td>(</td>
          <td class="paramtype">_pCMap, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">_pCMapPriv&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;dixSetPrivate(&amp;(_pCMap)-&gt;devPrivates, <a class="el" href="dmxscrinit_8c.html#ac851002ecdb3ee41847403048e47cc8d">dmxColormapPrivateKey</a>, _pCMapPriv)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set colormap private structure. </p>

<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>

</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="aec71fbb492f3a3ce7e6b2b083a8b0978"></a><!-- doxytag: member="dmxcmap.h::dmxColormapPrivPtr" ref="aec71fbb492f3a3ce7e6b2b083a8b0978" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a> * <a class="el" href="struct__dmxColormapPriv.html">dmxColormapPrivPtr</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9b220494b52f982d4dcfa437d34d628b"></a><!-- doxytag: member="dmxcmap.h::dmxColormapPrivRec" ref="a9b220494b52f982d4dcfa437d34d628b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct__dmxColormapPriv.html">_dmxColormapPriv</a>  <a class="el" href="struct__dmxColormapPriv.html">dmxColormapPrivRec</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Colormap private area. </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a6986e997430cf665904ad9149e39a50b"></a><!-- doxytag: member="dmxcmap.h::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&nbsp;</td>
          <td class="paramname"> <em>pColormap</em></td>
          <td>&nbsp;)&nbsp;</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.h::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&nbsp;</td>
          <td class="paramname"> <em>pColormap</em></td>
          <td>&nbsp;)&nbsp;</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.h::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&nbsp;</td>
          <td class="paramname"> <em>pColormap</em></td>
          <td>&nbsp;)&nbsp;</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.h::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&nbsp;</td>
          <td class="paramname"> <em>pScreen</em></td>
          <td>&nbsp;)&nbsp;</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.h::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&nbsp;</td>
          <td class="paramname"> <em>pColormap</em></td>
          <td>&nbsp;)&nbsp;</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.h::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&nbsp;</td>
          <td class="paramname"> <em>pColormap</em></td>
          <td>&nbsp;)&nbsp;</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.h::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&nbsp;</td>
          <td class="paramname"> <em>pColormap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ndef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xColorItem *&nbsp;</td>
          <td class="paramname"> <em>pdef</em></td><td>&nbsp;</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>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="ac851002ecdb3ee41847403048e47cc8d"></a><!-- doxytag: member="dmxcmap.h::dmxColormapPrivateKey" ref="ac851002ecdb3ee41847403048e47cc8d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DevPrivateKey <a class="el" href="dmxscrinit_8c.html#ac851002ecdb3ee41847403048e47cc8d">dmxColormapPrivateKey</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Private index. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxcmap_8c.html">dmxcmap.c</a> </dd>
<dd>
<a class="el" href="dmxscrinit_8c.html">dmxscrinit.c</a> </dd>
<dd>
<a class="el" href="dmxwindow_8c.html">dmxwindow.c</a></dd></dl>
<p>Private index for Colormaps </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>