First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxextension_8h-source.html
blob4fd796af5c36b3a84f6a92d96cfd8450e6914b50
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <title>File Index</title>
6 <link href="doxygen.css" rel="stylesheet" type="text/css">
7 </head>
8 <body>
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11 <h1>dmxextension.h</h1><a href="dmxextension_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* $XFree86$ */</span>
12 00002 <span class="comment">/*</span>
13 00003 <span class="comment"> * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.</span>
14 00004 <span class="comment"> *</span>
15 00005 <span class="comment"> * All Rights Reserved.</span>
16 00006 <span class="comment"> *</span>
17 00007 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
18 00008 <span class="comment"> * a copy of this software and associated documentation files (the</span>
19 00009 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
20 00010 <span class="comment"> * without limitation on the rights to use, copy, modify, merge,</span>
21 00011 <span class="comment"> * publish, distribute, sublicense, and/or sell copies of the Software,</span>
22 00012 <span class="comment"> * and to permit persons to whom the Software is furnished to do so,</span>
23 00013 <span class="comment"> * subject to the following conditions:</span>
24 00014 <span class="comment"> *</span>
25 00015 <span class="comment"> * The above copyright notice and this permission notice (including the</span>
26 00016 <span class="comment"> * next paragraph) shall be included in all copies or substantial</span>
27 00017 <span class="comment"> * portions of the Software.</span>
28 00018 <span class="comment"> *</span>
29 00019 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
30 00020 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
31 00021 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
32 00022 <span class="comment"> * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS</span>
33 00023 <span class="comment"> * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN</span>
34 00024 <span class="comment"> * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span>
35 00025 <span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span>
36 00026 <span class="comment"> * SOFTWARE.</span>
37 00027 <span class="comment"> */</span>
38 00028
39 00029 <span class="comment">/*</span>
40 00030 <span class="comment"> * Author:</span>
41 00031 <span class="comment"> * Rickard E. (Rik) Faith &lt;faith@redhat.com&gt;</span>
42 00032 <span class="comment"> * Kevin E. Martin &lt;kem@redhat.com&gt;</span>
43 00033 <span class="comment"> *</span>
44 00034 <span class="comment"> */</span>
45 00035
46 00040 <span class="preprocessor">#ifndef _DMXEXTENSION_H_</span>
47 00041 <span class="preprocessor"></span><span class="preprocessor">#define _DMXEXTENSION_H_</span>
48 00042 <span class="preprocessor"></span>
49 <a name="l00045"></a><a class="code" href="structDMXScreenAttributesRec.html">00045</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
50 00046 <span class="keyword">const</span> <span class="keywordtype">char</span> *displayName;
51 00047 <span class="keywordtype">int</span> logicalScreen;
52 00048
53 00049 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> screenWindowWidth; <span class="comment">/* displayName's coordinate system */</span>
54 00050 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> screenWindowHeight; <span class="comment">/* displayName's coordinate system */</span>
55 00051 <span class="keywordtype">int</span> screenWindowXoffset; <span class="comment">/* displayName's coordinate system */</span>
56 00052 <span class="keywordtype">int</span> screenWindowYoffset; <span class="comment">/* displayName's coordinate system */</span>
57 00053
58 00054 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rootWindowWidth; <span class="comment">/* screenWindow's coordinate system */</span>
59 00055 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rootWindowHeight; <span class="comment">/* screenWindow's coordinate system */</span>
60 00056 <span class="keywordtype">int</span> rootWindowXoffset; <span class="comment">/* screenWindow's coordinate system */</span>
61 00057 <span class="keywordtype">int</span> rootWindowYoffset; <span class="comment">/* screenWindow's coordinate system */</span>
62 00058
63 00059 <span class="keywordtype">int</span> rootWindowXorigin; <span class="comment">/* global coordinate system */</span>
64 00060 <span class="keywordtype">int</span> rootWindowYorigin; <span class="comment">/* global coordinate system */</span>
65 00061 } <a class="code" href="structDMXScreenAttributesRec.html">DMXScreenAttributesRec</a>, *DMXScreenAttributesPtr;
66 00062
67 <a name="l00064"></a><a class="code" href="structDMXWindowAttributesRec.html">00064</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
68 00065 <span class="keywordtype">int</span> screen;
69 00066 Window window;
70 00067 xRectangle pos;
71 00068 xRectangle vis;
72 00069 } <a class="code" href="structDMXWindowAttributesRec.html">DMXWindowAttributesRec</a>, *DMXWindowAttributesPtr;
73 00070
74 <a name="l00073"></a><a class="code" href="structDMXDesktopAttributesRec.html">00073</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
75 00074 <span class="keywordtype">int</span> width;
76 00075 <span class="keywordtype">int</span> height;
77 00076 <span class="keywordtype">int</span> shiftX;
78 00077 <span class="keywordtype">int</span> shiftY;
79 00078 } <a class="code" href="structDMXDesktopAttributesRec.html">DMXDesktopAttributesRec</a>, *DMXDesktopAttributesPtr;
80 00079
81 <a name="l00081"></a><a class="code" href="structDMXInputAttributesRec.html">00081</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
82 00082 <span class="keyword">const</span> <span class="keywordtype">char</span> *name;
83 00083 <span class="keywordtype">int</span> inputType;
84 00084 <span class="keywordtype">int</span> physicalScreen;
85 00085 <span class="keywordtype">int</span> physicalId;
86 00086 <span class="keywordtype">int</span> isCore;
87 00087 <span class="keywordtype">int</span> sendsCore;
88 00088 <span class="keywordtype">int</span> detached;
89 00089 } <a class="code" href="structDMXInputAttributesRec.html">DMXInputAttributesRec</a>, *DMXInputAttributesPtr;
90 00090
91 00091
92 00092 <span class="keyword">extern</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="dmxextension_8c.html#a9">dmxGetNumScreens</a>(<span class="keywordtype">void</span>);
93 00093 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxextension_8c.html#a10">dmxForceWindowCreation</a>(WindowPtr pWindow);
94 00094 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxextension_8c.html#a11">dmxFlushPendingSyncs</a>(<span class="keywordtype">void</span>);
95 00095 <span class="keyword">extern</span> Bool <a class="code" href="dmxextension_8c.html#a1">dmxGetScreenAttributes</a>(<span class="keywordtype">int</span> physical,
96 00096 DMXScreenAttributesPtr attr);
97 00097 <span class="keyword">extern</span> Bool <a class="code" href="dmxextension_8c.html#a2">dmxGetWindowAttributes</a>(WindowPtr pWindow,
98 00098 DMXWindowAttributesPtr attr);
99 00099 <span class="keyword">extern</span> <span class="keywordtype">void</span> dmxGetDesktopAttributes(DMXDesktopAttributesPtr attr);
100 00100 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a4">dmxGetInputCount</a>(<span class="keywordtype">void</span>);
101 00101 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a5">dmxGetInputAttributes</a>(<span class="keywordtype">int</span> deviceId,
102 00102 DMXInputAttributesPtr attr);
103 00103 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a7">dmxAddInput</a>(DMXInputAttributesPtr attr, <span class="keywordtype">int</span> *deviceId);
104 00104 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a8">dmxRemoveInput</a>(<span class="keywordtype">int</span> deviceId);
105 00105
106 00106 <span class="keyword">extern</span> <span class="keywordtype">int</span> dmxConfigureScreenWindows(<span class="keywordtype">int</span> nscreens,
107 00107 CARD32 *screens,
108 00108 DMXScreenAttributesPtr attribs,
109 00109 <span class="keywordtype">int</span> *errorScreen);
110 00110
111 00111 <span class="keyword">extern</span> <span class="keywordtype">int</span> dmxConfigureDesktop(DMXDesktopAttributesPtr attribs);
112 00112
113 00113 <span class="comment">/* dmxUpdateScreenResources exposed for dmxCreateWindow in dmxwindow.c */</span>
114 00114 <span class="keyword">extern</span> <span class="keywordtype">void</span> dmxUpdateScreenResources(ScreenPtr pScreen,
115 00115 <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);
116 00116
117 00117 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a18">dmxAttachScreen</a>(<span class="keywordtype">int</span> idx, DMXScreenAttributesPtr attr);
118 00118 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxextension_8c.html#a23">dmxDetachScreen</a>(<span class="keywordtype">int</span> idx);
119 00119 <span class="preprocessor">#endif</span>
120 </pre></div> <hr>
121 <address>
122 <small>
123 Generated June 29, 2004 for <a
124 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
125 <a href="http://www.doxygen.org/index.html">doxygen</a>
126 1.3.4.
127 </small>
128 </addres>
129 </hr>
130 </body>
131 </html>