<!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>dmxvisual.c File Reference</h1><code>#include &quot;<a class="el" href="dmx_8h_source.html">dmx.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="dmxvisual_8h_source.html">dmxvisual.h</a>&quot;</code><br/>
<code>#include &quot;scrnintstr.h&quot;</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">Visual *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxvisual_8c.html#a5adae45cafd52da17108cbfcdbd5d53c">dmxLookupVisual</a> (ScreenPtr pScreen, VisualPtr pVisual)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Visual *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxvisual_8c.html#a1abfce5d0ad66062cc75a5293c514499">dmxLookupVisualFromID</a> (ScreenPtr pScreen, VisualID vid)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Colormap&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxvisual_8c.html#aca13684e9357c96035388a924d8af570">dmxColormapFromDefaultVisual</a> (ScreenPtr pScreen, Visual *visual)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This file provides support for visuals. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="aca13684e9357c96035388a924d8af570"></a><!-- doxytag: member="dmxvisual.c::dmxColormapFromDefaultVisual" ref="aca13684e9357c96035388a924d8af570" args="(ScreenPtr pScreen, Visual *visual)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Colormap dmxColormapFromDefaultVisual </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Visual *&nbsp;</td>
          <td class="paramname"> <em>visual</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the colormap for the <em>visual</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00118">_DMXScreenInfo::beDefColormaps</a>, <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmx_8h_source.html#l00117">_DMXScreenInfo::beNumDefColormaps</a>, <a class="el" href="dmx_8h_source.html#l00114">_DMXScreenInfo::beVisuals</a>, and <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>.</p>

<p>Referenced by <a class="el" href="dmxwindow_8c_source.html#l00178">dmxGetDefaultWindowAttributes()</a>.</p>

</div>
</div>
<a class="anchor" id="a5adae45cafd52da17108cbfcdbd5d53c"></a><!-- doxytag: member="dmxvisual.c::dmxLookupVisual" ref="a5adae45cafd52da17108cbfcdbd5d53c" args="(ScreenPtr pScreen, VisualPtr pVisual)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Visual* dmxLookupVisual </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">VisualPtr&nbsp;</td>
          <td class="paramname"> <em>pVisual</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the visual that matched <em>pVisual</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmx_8h_source.html#l00113">_DMXScreenInfo::beNumVisuals</a>, <a class="el" href="dmx_8h_source.html#l00114">_DMXScreenInfo::beVisuals</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#l00064">dmxBECreateColormap()</a>, and <a class="el" href="dmxvisual_8c_source.html#l00109">dmxLookupVisualFromID()</a>.</p>

</div>
</div>
<a class="anchor" id="a1abfce5d0ad66062cc75a5293c514499"></a><!-- doxytag: member="dmxvisual.c::dmxLookupVisualFromID" ref="a1abfce5d0ad66062cc75a5293c514499" args="(ScreenPtr pScreen, VisualID vid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Visual* dmxLookupVisualFromID </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">VisualID&nbsp;</td>
          <td class="paramname"> <em>vid</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the visual that matched the <em>vid</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxvisual_8c_source.html#l00077">dmxLookupVisual()</a>, and <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>.</p>

<p>Referenced by <a class="el" href="dmxwindow_8c_source.html#l00303">dmxCreateWindow()</a>, and <a class="el" href="dmxwindow_8c_source.html#l00178">dmxGetDefaultWindowAttributes()</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>