aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxcb_8h.html
blob: cac6d43038bbfac5aac2b3574e4b65dcaed006ba (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
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
<!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>dmxcb.h File Reference</h1>
<p><a href="dmxcb_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>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcb_8h.html#ab00a2ebacc2ad1ec1b8ad02800ff63ee">DMXRecomputeFlag</a> { <a class="el" href="dmxcb_8h.html#ab00a2ebacc2ad1ec1b8ad02800ff63eea2bc3f60d973a4d9e53e0fe71ee386d9a">DMX_RECOMPUTE_BOUNDING_BOX</a>, 
<a class="el" href="dmxcb_8h.html#ab00a2ebacc2ad1ec1b8ad02800ff63eea90f550ce4ddbbbbec42e974f7f42ad0b">DMX_NO_RECOMPUTE_BOUNDING_BOX</a>
 }</td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcb_8h.html#aaafedb53a138b81ebb62eeff391f1115">dmxSetWidthHeight</a> (int width, int height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcb_8h.html#a077a54c8577746426371b996c9aacefb">dmxComputeWidthHeight</a> (<a class="el" href="dmxcb_8h.html#ab00a2ebacc2ad1ec1b8ad02800ff63ee">DMXRecomputeFlag</a> flag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcb_8h.html#a39179d932cde34ab3c947fa017d2d78d">dmxConnectionBlockCallback</a> (void)</td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcb_8h.html#a738220b78d864fe9317683a1ff425c75">dmxGlobalWidth</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcb_8h.html#a7c8270dd4b1ef6cd953a30cdcae548de">dmxGlobalHeight</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Header file for connection block functions. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxcb_8c.html">dmxcb.c</a>. </dd></dl>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="ab00a2ebacc2ad1ec1b8ad02800ff63ee"></a><!-- doxytag: member="dmxcb.h::DMXRecomputeFlag" ref="ab00a2ebacc2ad1ec1b8ad02800ff63ee" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="dmxcb_8h.html#ab00a2ebacc2ad1ec1b8ad02800ff63ee">DMXRecomputeFlag</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="dmxcb_8h.html#a077a54c8577746426371b996c9aacefb">dmxComputeWidthHeight</a> can either recompute the global bounding box or not. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ab00a2ebacc2ad1ec1b8ad02800ff63eea2bc3f60d973a4d9e53e0fe71ee386d9a"></a><!-- doxytag: member="DMX_RECOMPUTE_BOUNDING_BOX" ref="ab00a2ebacc2ad1ec1b8ad02800ff63eea2bc3f60d973a4d9e53e0fe71ee386d9a" args="" -->DMX_RECOMPUTE_BOUNDING_BOX</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab00a2ebacc2ad1ec1b8ad02800ff63eea90f550ce4ddbbbbec42e974f7f42ad0b"></a><!-- doxytag: member="DMX_NO_RECOMPUTE_BOUNDING_BOX" ref="ab00a2ebacc2ad1ec1b8ad02800ff63eea90f550ce4ddbbbbec42e974f7f42ad0b" args="" -->DMX_NO_RECOMPUTE_BOUNDING_BOX</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a077a54c8577746426371b996c9aacefb"></a><!-- doxytag: member="dmxcb.h::dmxComputeWidthHeight" ref="a077a54c8577746426371b996c9aacefb" args="(DMXRecomputeFlag flag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxComputeWidthHeight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="dmxcb_8h.html#ab00a2ebacc2ad1ec1b8ad02800ff63ee">DMXRecomputeFlag</a>&nbsp;</td>
          <td class="paramname"> <em>flag</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes the global bounding box for DMX. This may be larger than the one computed by Xinerama because of the DMX configuration file. </p>

<p>References <a class="el" href="dmxcb_8h_source.html#l00047">DMX_NO_RECOMPUTE_BOUNDING_BOX</a>, <a class="el" href="dmxcb_8h_source.html#l00046">DMX_RECOMPUTE_BOUNDING_BOX</a>, <a class="el" href="dmxcb_8c_source.html#l00054">dmxGlobalHeight</a>, <a class="el" href="dmxcb_8c_source.html#l00054">dmxGlobalWidth</a>, <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxinit_8c_source.html#l00083">dmxNumScreens</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmx_8h_source.html#l00147">_DMXScreenInfo::rootXOrigin</a>, <a class="el" href="dmx_8h_source.html#l00148">_DMXScreenInfo::rootYOrigin</a>, <a class="el" href="dmx_8h_source.html#l00129">_DMXScreenInfo::scrnHeight</a>, and <a class="el" href="dmx_8h_source.html#l00128">_DMXScreenInfo::scrnWidth</a>.</p>

<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l00225">dmxAdjustCursorBoundaries()</a>, and <a class="el" href="dmxinit_8c_source.html#l00561">InitOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="a39179d932cde34ab3c947fa017d2d78d"></a><!-- doxytag: member="dmxcb.h::dmxConnectionBlockCallback" ref="a39179d932cde34ab3c947fa017d2d78d" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxConnectionBlockCallback </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A callback routine that hooks into Xinerama and provides a convenient place to print summary log information during server startup. This routine does not modify any values. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00115">_DMXScreenInfo::beDefVisualIndex</a>, <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmx_8h_source.html#l00114">_DMXScreenInfo::beVisuals</a>, <a class="el" href="dmxcb_8c.html#a21fd58c4d3a6b5bba84476c314a6d657">connBlockScreenStart</a>, <a class="el" href="dmxlog_8h_source.html#l00048">dmxError</a>, <a class="el" href="dmxlog_8h_source.html#l00051">dmxFatal</a>, <a class="el" href="dmxcb_8c_source.html#l00054">dmxGlobalHeight</a>, <a class="el" href="dmxcb_8c_source.html#l00054">dmxGlobalWidth</a>, <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, <a class="el" href="dmxinputinit_8c_source.html#l01120">dmxInputLogDevices()</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxlog_8c_source.html#l00250">dmxLogVisual()</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#l00225">dmxAdjustCursorBoundaries()</a>, and <a class="el" href="dmxinit_8c_source.html#l00561">InitOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="aaafedb53a138b81ebb62eeff391f1115"></a><!-- doxytag: member="dmxcb.h::dmxSetWidthHeight" ref="aaafedb53a138b81ebb62eeff391f1115" args="(int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxSetWidthHeight </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>We may want the wall dimensions to be different from the bounding box dimensions that Xinerama computes, so save those and update them here. </p>

<p>References <a class="el" href="dmxcb_8c_source.html#l00054">dmxGlobalHeight</a>, and <a class="el" href="dmxcb_8c_source.html#l00054">dmxGlobalWidth</a>.</p>

<p>Referenced by <a class="el" href="dmxconfig_8c_source.html#l00342">dmxConfigCopyData()</a>.</p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a7c8270dd4b1ef6cd953a30cdcae548de"></a><!-- doxytag: member="dmxcb.h::dmxGlobalHeight" ref="a7c8270dd4b1ef6cd953a30cdcae548de" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="dmxcb_8h.html#a7c8270dd4b1ef6cd953a30cdcae548de">dmxGlobalHeight</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="dmxcb_8c_source.html#l00069">dmxComputeWidthHeight()</a>, <a class="el" href="dmxcb_8c_source.html#l00111">dmxConnectionBlockCallback()</a>, <a class="el" href="dmxconsole_8c_source.html#l00644">dmxConsoleComputeWidthHeight()</a>, <a class="el" href="dmxevents_8c_source.html#l00194">dmxCoreMotion()</a>, <a class="el" href="dmxextension_8c_source.html#l00161">dmxGetDesktopAttributes()</a>, and <a class="el" href="dmxcb_8c_source.html#l00060">dmxSetWidthHeight()</a>.</p>

</div>
</div>
<a class="anchor" id="a738220b78d864fe9317683a1ff425c75"></a><!-- doxytag: member="dmxcb.h::dmxGlobalWidth" ref="a738220b78d864fe9317683a1ff425c75" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="dmxcb_8h.html#a738220b78d864fe9317683a1ff425c75">dmxGlobalWidth</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The cursor position, in global coordinates. </p>

<p>Referenced by <a class="el" href="dmxcb_8c_source.html#l00069">dmxComputeWidthHeight()</a>, <a class="el" href="dmxcb_8c_source.html#l00111">dmxConnectionBlockCallback()</a>, <a class="el" href="dmxconsole_8c_source.html#l00644">dmxConsoleComputeWidthHeight()</a>, <a class="el" href="dmxevents_8c_source.html#l00194">dmxCoreMotion()</a>, <a class="el" href="dmxextension_8c_source.html#l00161">dmxGetDesktopAttributes()</a>, and <a class="el" href="dmxcb_8c_source.html#l00060">dmxSetWidthHeight()</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>