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
|
<!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>
<h1>dmxextension.h</h1><a href="dmxextension_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * All Rights Reserved.</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
<a name="l00007"></a>00007 <span class="comment"> * a copy of this software and associated documentation files (the</span>
<a name="l00008"></a>00008 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
<a name="l00009"></a>00009 <span class="comment"> * without limitation on the rights to use, copy, modify, merge,</span>
<a name="l00010"></a>00010 <span class="comment"> * publish, distribute, sublicense, and/or sell copies of the Software,</span>
<a name="l00011"></a>00011 <span class="comment"> * and to permit persons to whom the Software is furnished to do so,</span>
<a name="l00012"></a>00012 <span class="comment"> * subject to the following conditions:</span>
<a name="l00013"></a>00013 <span class="comment"> *</span>
<a name="l00014"></a>00014 <span class="comment"> * The above copyright notice and this permission notice (including the</span>
<a name="l00015"></a>00015 <span class="comment"> * next paragraph) shall be included in all copies or substantial</span>
<a name="l00016"></a>00016 <span class="comment"> * portions of the Software.</span>
<a name="l00017"></a>00017 <span class="comment"> *</span>
<a name="l00018"></a>00018 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00019"></a>00019 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
<a name="l00020"></a>00020 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
<a name="l00021"></a>00021 <span class="comment"> * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS</span>
<a name="l00022"></a>00022 <span class="comment"> * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN</span>
<a name="l00023"></a>00023 <span class="comment"> * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span>
<a name="l00024"></a>00024 <span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span>
<a name="l00025"></a>00025 <span class="comment"> * SOFTWARE.</span>
<a name="l00026"></a>00026 <span class="comment"> */</span>
<a name="l00027"></a>00027
<a name="l00028"></a>00028 <span class="comment">/*</span>
<a name="l00029"></a>00029 <span class="comment"> * Author:</span>
<a name="l00030"></a>00030 <span class="comment"> * Rickard E. (Rik) Faith <faith@redhat.com></span>
<a name="l00031"></a>00031 <span class="comment"> * Kevin E. Martin <kem@redhat.com></span>
<a name="l00032"></a>00032 <span class="comment"> *</span>
<a name="l00033"></a>00033 <span class="comment"> */</span>
<a name="l00034"></a>00034
<a name="l00039"></a>00039 <span class="preprocessor">#ifndef _DMXEXTENSION_H_</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define _DMXEXTENSION_H_</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00044"></a><a class="code" href="structDMXScreenAttributesRec.html">00044</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00045"></a><a class="code" href="structDMXScreenAttributesRec.html#a665be893e5ec84e6b7df834036e39975">00045</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *displayName;
<a name="l00046"></a><a class="code" href="structDMXScreenAttributesRec.html#aac840a53c344858b34667e01a952910e">00046</a> <span class="keywordtype">int</span> logicalScreen;
<a name="l00047"></a>00047
<a name="l00048"></a><a class="code" href="structDMXScreenAttributesRec.html#a3b31eedad2369d6c63fd62133cda8fe2">00048</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> screenWindowWidth; <span class="comment">/* displayName's coordinate system */</span>
<a name="l00049"></a><a class="code" href="structDMXScreenAttributesRec.html#af3066508831f1b6698b39d6bdf172110">00049</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> screenWindowHeight; <span class="comment">/* displayName's coordinate system */</span>
<a name="l00050"></a><a class="code" href="structDMXScreenAttributesRec.html#a3ab6942e75daddab2bce4854979978cb">00050</a> <span class="keywordtype">int</span> screenWindowXoffset; <span class="comment">/* displayName's coordinate system */</span>
<a name="l00051"></a><a class="code" href="structDMXScreenAttributesRec.html#a332d04af8d7c0bd09e51cc4df006569a">00051</a> <span class="keywordtype">int</span> screenWindowYoffset; <span class="comment">/* displayName's coordinate system */</span>
<a name="l00052"></a>00052
<a name="l00053"></a><a class="code" href="structDMXScreenAttributesRec.html#a53f8bc0cdd9a69851ea5a2c14b6a14a1">00053</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rootWindowWidth; <span class="comment">/* screenWindow's coordinate system */</span>
<a name="l00054"></a><a class="code" href="structDMXScreenAttributesRec.html#a8508290530961305566fd94990bd2c37">00054</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rootWindowHeight; <span class="comment">/* screenWindow's coordinate system */</span>
<a name="l00055"></a><a class="code" href="structDMXScreenAttributesRec.html#a5db5a54083e2624b8f58af3b111c8648">00055</a> <span class="keywordtype">int</span> rootWindowXoffset; <span class="comment">/* screenWindow's coordinate system */</span>
<a name="l00056"></a><a class="code" href="structDMXScreenAttributesRec.html#a86291b3521d1fecb31ba3f88084b0ef5">00056</a> <span class="keywordtype">int</span> rootWindowYoffset; <span class="comment">/* screenWindow's coordinate system */</span>
<a name="l00057"></a>00057
<a name="l00058"></a><a class="code" href="structDMXScreenAttributesRec.html#ae9cab06391a7353165ee5e6ebe385eb8">00058</a> <span class="keywordtype">int</span> rootWindowXorigin; <span class="comment">/* global coordinate system */</span>
<a name="l00059"></a><a class="code" href="structDMXScreenAttributesRec.html#adba7900b874fd0da70981001b9667c83">00059</a> <span class="keywordtype">int</span> rootWindowYorigin; <span class="comment">/* global coordinate system */</span>
<a name="l00060"></a>00060 } <a class="code" href="structDMXScreenAttributesRec.html">DMXScreenAttributesRec</a>, *<a class="code" href="structDMXScreenAttributesRec.html">DMXScreenAttributesPtr</a>;
<a name="l00061"></a>00061
<a name="l00063"></a><a class="code" href="structDMXWindowAttributesRec.html">00063</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00064"></a><a class="code" href="structDMXWindowAttributesRec.html#a4a1dec7a3e658352f4764b4cbcfba15a">00064</a> <span class="keywordtype">int</span> screen;
<a name="l00065"></a><a class="code" href="structDMXWindowAttributesRec.html#a782667f9b11d69c0d32149b03713fa46">00065</a> Window window;
<a name="l00066"></a><a class="code" href="structDMXWindowAttributesRec.html#a73d55840c5f9f2577d5a51712c30cedf">00066</a> xRectangle <a class="code" href="dmxprint_8c.html#a1910d262855b71da353ed0d07a6c7823">pos</a>;
<a name="l00067"></a><a class="code" href="structDMXWindowAttributesRec.html#a0397906d1b5c5fee806755ce6f06049e">00067</a> xRectangle vis;
<a name="l00068"></a>00068 } <a class="code" href="structDMXWindowAttributesRec.html">DMXWindowAttributesRec</a>, *<a class="code" href="structDMXWindowAttributesRec.html">DMXWindowAttributesPtr</a>;
<a name="l00069"></a>00069
<a name="l00072"></a><a class="code" href="structDMXDesktopAttributesRec.html">00072</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00073"></a><a class="code" href="structDMXDesktopAttributesRec.html#af1d25c0a82bd838fa97b22333892321f">00073</a> <span class="keywordtype">int</span> width;
<a name="l00074"></a><a class="code" href="structDMXDesktopAttributesRec.html#a7385888bade151dfb3cf953f2b3952ad">00074</a> <span class="keywordtype">int</span> height;
<a name="l00075"></a><a class="code" href="structDMXDesktopAttributesRec.html#a6d3460904e38d14e4c857164901dd0ff">00075</a> <span class="keywordtype">int</span> shiftX;
<a name="l00076"></a><a class="code" href="structDMXDesktopAttributesRec.html#a66acb1156ef40a2bc377943d50e0f52f">00076</a> <span class="keywordtype">int</span> shiftY;
<a name="l00077"></a>00077 } <a class="code" href="structDMXDesktopAttributesRec.html">DMXDesktopAttributesRec</a>, *<a class="code" href="structDMXDesktopAttributesRec.html">DMXDesktopAttributesPtr</a>;
<a name="l00078"></a>00078
<a name="l00080"></a><a class="code" href="structDMXInputAttributesRec.html">00080</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00081"></a><a class="code" href="structDMXInputAttributesRec.html#ace2798f784b97234c901ef3380f06b93">00081</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *name;
<a name="l00082"></a><a class="code" href="structDMXInputAttributesRec.html#aba63d1a444ff736beababf9ca1f00ec3">00082</a> <span class="keywordtype">int</span> inputType;
<a name="l00083"></a><a class="code" href="structDMXInputAttributesRec.html#a3eb115af0ab845d41902894d6de3bb20">00083</a> <span class="keywordtype">int</span> physicalScreen;
<a name="l00084"></a><a class="code" href="structDMXInputAttributesRec.html#aecefabab0214492770a1eaaf7659cd1c">00084</a> <span class="keywordtype">int</span> physicalId;
<a name="l00085"></a><a class="code" href="structDMXInputAttributesRec.html#adb896b223fa01c660fa71a4911993d63">00085</a> <span class="keywordtype">int</span> isCore;
<a name="l00086"></a><a class="code" href="structDMXInputAttributesRec.html#a7628a7913aa4f69220807605442fa4ca">00086</a> <span class="keywordtype">int</span> sendsCore;
<a name="l00087"></a><a class="code" href="structDMXInputAttributesRec.html#a114bb5da1e75bd500655a17cbfb99f1f">00087</a> <span class="keywordtype">int</span> detached;
<a name="l00088"></a>00088 } <a class="code" href="structDMXInputAttributesRec.html">DMXInputAttributesRec</a>, *<a class="code" href="structDMXInputAttributesRec.html">DMXInputAttributesPtr</a>;
<a name="l00089"></a>00089
<a name="l00090"></a>00090
<a name="l00091"></a>00091 <span class="keyword">extern</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="dmxextension_8c.html#a1317039ecdb6f4eca7c1e5cea884657e">dmxGetNumScreens</a>(<span class="keywordtype">void</span>);
<a name="l00092"></a>00092 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxextension_8c.html#a1780283a6dd8f6d66e802b0c9b916f48">dmxForceWindowCreation</a>(WindowPtr pWindow);
<a name="l00093"></a>00093 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxextension_8c.html#af7927d9de14425779c5de40312407203">dmxFlushPendingSyncs</a>(<span class="keywordtype">void</span>);
<a name="l00094"></a>00094 <span class="keyword">extern</span> Bool <a class="code" href="dmxextension_8c.html#ab4180bb82b058d071e2f72c2e18534b7">dmxGetScreenAttributes</a>(<span class="keywordtype">int</span> physical,
<a name="l00095"></a>00095 DMXScreenAttributesPtr attr);
<a name="l00096"></a>00096 <span class="keyword">extern</span> Bool <a class="code" href="dmxextension_8c.html#a81cd222e07016da8ee5c87c44a03312a">dmxGetWindowAttributes</a>(WindowPtr pWindow,
<a name="l00097"></a>00097 DMXWindowAttributesPtr attr);
<a name="l00098"></a>00098 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxextension_8c.html#a314e23c5608a9bdaa5f8b8846f7458fc">dmxGetDesktopAttributes</a>(DMXDesktopAttributesPtr attr);
<a name="l00099"></a>00099 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a7e2b64de1aef77d43ee78d3a8187f651">dmxGetInputCount</a>(<span class="keywordtype">void</span>);
<a name="l00100"></a>00100 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a3bde3bbb52470b5eb185805d861e6216">dmxGetInputAttributes</a>(<span class="keywordtype">int</span> deviceId,
<a name="l00101"></a>00101 DMXInputAttributesPtr attr);
<a name="l00102"></a>00102 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a6b0b38eb49c6be097a59dbcdd6dacb51">dmxAddInput</a>(DMXInputAttributesPtr attr, <span class="keywordtype">int</span> *deviceId);
<a name="l00103"></a>00103 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a6125541332383040aa07fa1ef310d38d">dmxRemoveInput</a>(<span class="keywordtype">int</span> deviceId);
<a name="l00104"></a>00104
<a name="l00105"></a>00105 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8h.html#a63c06d493f7fbe70e235c97a622efca9">dmxConfigureScreenWindows</a>(<span class="keywordtype">int</span> nscreens,
<a name="l00106"></a>00106 CARD32 *screens,
<a name="l00107"></a>00107 DMXScreenAttributesPtr attribs,
<a name="l00108"></a>00108 <span class="keywordtype">int</span> *errorScreen);
<a name="l00109"></a>00109
<a name="l00110"></a>00110 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8h.html#a0aa0eb777a77d62cd3070c642ae0b0aa">dmxConfigureDesktop</a>(DMXDesktopAttributesPtr attribs);
<a name="l00111"></a>00111
<a name="l00112"></a>00112 <span class="comment">/* dmxUpdateScreenResources exposed for dmxCreateWindow in dmxwindow.c */</span>
<a name="l00113"></a>00113 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxextension_8c.html#a602b3c05cd619a8b00d91315009ebc5d">dmxUpdateScreenResources</a>(ScreenPtr pScreen,
<a name="l00114"></a>00114 <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);
<a name="l00115"></a>00115
<a name="l00116"></a>00116 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a3962840388f9bcf96fb17294a413d8cb">dmxAttachScreen</a>(<span class="keywordtype">int</span> idx, DMXScreenAttributesPtr attr);
<a name="l00117"></a>00117 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a027f2cb3fe32b06f3ca3b04df8336299">dmxDetachScreen</a>(<span class="keywordtype">int</span> idx);
<a name="l00118"></a>00118 <span class="preprocessor">#endif</span>
</pre></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>
|