aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxvisual_8c.html
blob: 5394adea18ffb62698086ca17baa88bfa76dd17d (plain)
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
<!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>