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.7.4 --> 10 <div id="navrow1" class="tabs"> 11 <ul class="tablist"> 12 <li><a href="index.html"><span>Main Page</span></a></li> 13 <li><a href="annotated.html"><span>Data Structures</span></a></li> 14 <li class="current"><a href="files.html"><span>Files</span></a></li> 15 </ul> 16 </div> 17 <div id="navrow2" class="tabs2"> 18 <ul class="tablist"> 19 <li><a href="files.html"><span>File List</span></a></li> 20 <li><a href="globals.html"><span>Globals</span></a></li> 21 </ul> 22 </div> 23</div> 24<div id="side-nav" class="ui-resizable side-nav-resizable"> 25 <div id="nav-tree"> 26 <div id="nav-tree-contents"> 27 </div> 28 </div> 29 <div id="splitbar" style="-moz-user-select:none;" 30 class="ui-resizable-handle"> 31 </div> 32</div> 33<script type="text/javascript"> 34 initNavTree('dmxextension_8h.html',''); 35</script> 36<div id="doc-content"> 37<div class="header"> 38 <div class="headertitle"> 39<div class="title">dmxextension.h</div> </div> 40</div> 41<div class="contents"> 42<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> 43<a name="l00002"></a>00002 <span class="comment"> * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.</span> 44<a name="l00003"></a>00003 <span class="comment"> *</span> 45<a name="l00004"></a>00004 <span class="comment"> * All Rights Reserved.</span> 46<a name="l00005"></a>00005 <span class="comment"> *</span> 47<a name="l00006"></a>00006 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span> 48<a name="l00007"></a>00007 <span class="comment"> * a copy of this software and associated documentation files (the</span> 49<a name="l00008"></a>00008 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span> 50<a name="l00009"></a>00009 <span class="comment"> * without limitation on the rights to use, copy, modify, merge,</span> 51<a name="l00010"></a>00010 <span class="comment"> * publish, distribute, sublicense, and/or sell copies of the Software,</span> 52<a name="l00011"></a>00011 <span class="comment"> * and to permit persons to whom the Software is furnished to do so,</span> 53<a name="l00012"></a>00012 <span class="comment"> * subject to the following conditions:</span> 54<a name="l00013"></a>00013 <span class="comment"> *</span> 55<a name="l00014"></a>00014 <span class="comment"> * The above copyright notice and this permission notice (including the</span> 56<a name="l00015"></a>00015 <span class="comment"> * next paragraph) shall be included in all copies or substantial</span> 57<a name="l00016"></a>00016 <span class="comment"> * portions of the Software.</span> 58<a name="l00017"></a>00017 <span class="comment"> *</span> 59<a name="l00018"></a>00018 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span> 60<a name="l00019"></a>00019 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span> 61<a name="l00020"></a>00020 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span> 62<a name="l00021"></a>00021 <span class="comment"> * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS</span> 63<a name="l00022"></a>00022 <span class="comment"> * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN</span> 64<a name="l00023"></a>00023 <span class="comment"> * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span> 65<a name="l00024"></a>00024 <span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span> 66<a name="l00025"></a>00025 <span class="comment"> * SOFTWARE.</span> 67<a name="l00026"></a>00026 <span class="comment"> */</span> 68<a name="l00027"></a>00027 69<a name="l00028"></a>00028 <span class="comment">/*</span> 70<a name="l00029"></a>00029 <span class="comment"> * Author:</span> 71<a name="l00030"></a>00030 <span class="comment"> * Rickard E. (Rik) Faith <faith@redhat.com></span> 72<a name="l00031"></a>00031 <span class="comment"> * Kevin E. Martin <kem@redhat.com></span> 73<a name="l00032"></a>00032 <span class="comment"> *</span> 74<a name="l00033"></a>00033 <span class="comment"> */</span> 75<a name="l00034"></a>00034 76<a name="l00039"></a>00039 <span class="preprocessor">#ifndef _DMXEXTENSION_H_</span> 77<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define _DMXEXTENSION_H_</span> 78<a name="l00041"></a>00041 <span class="preprocessor"></span> 79<a name="l00044"></a><a class="code" href="structDMXScreenAttributesRec.html">00044</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ 80<a name="l00045"></a><a class="code" href="structDMXScreenAttributesRec.html#a665be893e5ec84e6b7df834036e39975">00045</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structDMXScreenAttributesRec.html#a665be893e5ec84e6b7df834036e39975">displayName</a>; 81<a name="l00046"></a><a class="code" href="structDMXScreenAttributesRec.html#aac840a53c344858b34667e01a952910e">00046</a> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#aac840a53c344858b34667e01a952910e">logicalScreen</a>; 82<a name="l00047"></a>00047 83<a name="l00048"></a><a class="code" href="structDMXScreenAttributesRec.html#a3b31eedad2369d6c63fd62133cda8fe2">00048</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#a3b31eedad2369d6c63fd62133cda8fe2">screenWindowWidth</a>; <span class="comment">/* displayName's coordinate system */</span> 84<a name="l00049"></a><a class="code" href="structDMXScreenAttributesRec.html#af3066508831f1b6698b39d6bdf172110">00049</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#af3066508831f1b6698b39d6bdf172110">screenWindowHeight</a>; <span class="comment">/* displayName's coordinate system */</span> 85<a name="l00050"></a><a class="code" href="structDMXScreenAttributesRec.html#a3ab6942e75daddab2bce4854979978cb">00050</a> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#a3ab6942e75daddab2bce4854979978cb">screenWindowXoffset</a>; <span class="comment">/* displayName's coordinate system */</span> 86<a name="l00051"></a><a class="code" href="structDMXScreenAttributesRec.html#a332d04af8d7c0bd09e51cc4df006569a">00051</a> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#a332d04af8d7c0bd09e51cc4df006569a">screenWindowYoffset</a>; <span class="comment">/* displayName's coordinate system */</span> 87<a name="l00052"></a>00052 88<a name="l00053"></a><a class="code" href="structDMXScreenAttributesRec.html#a53f8bc0cdd9a69851ea5a2c14b6a14a1">00053</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#a53f8bc0cdd9a69851ea5a2c14b6a14a1">rootWindowWidth</a>; <span class="comment">/* screenWindow's coordinate system */</span> 89<a name="l00054"></a><a class="code" href="structDMXScreenAttributesRec.html#a8508290530961305566fd94990bd2c37">00054</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#a8508290530961305566fd94990bd2c37">rootWindowHeight</a>; <span class="comment">/* screenWindow's coordinate system */</span> 90<a name="l00055"></a><a class="code" href="structDMXScreenAttributesRec.html#a5db5a54083e2624b8f58af3b111c8648">00055</a> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#a5db5a54083e2624b8f58af3b111c8648">rootWindowXoffset</a>; <span class="comment">/* screenWindow's coordinate system */</span> 91<a name="l00056"></a><a class="code" href="structDMXScreenAttributesRec.html#a86291b3521d1fecb31ba3f88084b0ef5">00056</a> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#a86291b3521d1fecb31ba3f88084b0ef5">rootWindowYoffset</a>; <span class="comment">/* screenWindow's coordinate system */</span> 92<a name="l00057"></a>00057 93<a name="l00058"></a><a class="code" href="structDMXScreenAttributesRec.html#ae9cab06391a7353165ee5e6ebe385eb8">00058</a> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#ae9cab06391a7353165ee5e6ebe385eb8">rootWindowXorigin</a>; <span class="comment">/* global coordinate system */</span> 94<a name="l00059"></a><a class="code" href="structDMXScreenAttributesRec.html#adba7900b874fd0da70981001b9667c83">00059</a> <span class="keywordtype">int</span> <a class="code" href="structDMXScreenAttributesRec.html#adba7900b874fd0da70981001b9667c83">rootWindowYorigin</a>; <span class="comment">/* global coordinate system */</span> 95<a name="l00060"></a>00060 } <a class="code" href="structDMXScreenAttributesRec.html">DMXScreenAttributesRec</a>, *<a class="code" href="dmxextension_8h.html#a0e47929486368da1a7513c7d2305f24f">DMXScreenAttributesPtr</a>; 96<a name="l00061"></a>00061 97<a name="l00063"></a><a class="code" href="structDMXWindowAttributesRec.html">00063</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ 98<a name="l00064"></a><a class="code" href="structDMXWindowAttributesRec.html#a4a1dec7a3e658352f4764b4cbcfba15a">00064</a> <span class="keywordtype">int</span> <a class="code" href="structDMXWindowAttributesRec.html#a4a1dec7a3e658352f4764b4cbcfba15a">screen</a>; 99<a name="l00065"></a><a class="code" href="structDMXWindowAttributesRec.html#a782667f9b11d69c0d32149b03713fa46">00065</a> Window <a class="code" href="structDMXWindowAttributesRec.html#a782667f9b11d69c0d32149b03713fa46">window</a>; 100<a name="l00066"></a><a class="code" href="structDMXWindowAttributesRec.html#a73d55840c5f9f2577d5a51712c30cedf">00066</a> xRectangle <a class="code" href="structDMXWindowAttributesRec.html#a73d55840c5f9f2577d5a51712c30cedf">pos</a>; 101<a name="l00067"></a><a class="code" href="structDMXWindowAttributesRec.html#a0397906d1b5c5fee806755ce6f06049e">00067</a> xRectangle <a class="code" href="structDMXWindowAttributesRec.html#a0397906d1b5c5fee806755ce6f06049e">vis</a>; 102<a name="l00068"></a>00068 } <a class="code" href="structDMXWindowAttributesRec.html">DMXWindowAttributesRec</a>, *<a class="code" href="dmxextension_8h.html#ad22f823435ccab00deb798c2e080fbe1">DMXWindowAttributesPtr</a>; 103<a name="l00069"></a>00069 104<a name="l00072"></a><a class="code" href="structDMXDesktopAttributesRec.html">00072</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ 105<a name="l00073"></a><a class="code" href="structDMXDesktopAttributesRec.html#af1d25c0a82bd838fa97b22333892321f">00073</a> <span class="keywordtype">int</span> <a class="code" href="structDMXDesktopAttributesRec.html#af1d25c0a82bd838fa97b22333892321f">width</a>; 106<a name="l00074"></a><a class="code" href="structDMXDesktopAttributesRec.html#a7385888bade151dfb3cf953f2b3952ad">00074</a> <span class="keywordtype">int</span> <a class="code" href="structDMXDesktopAttributesRec.html#a7385888bade151dfb3cf953f2b3952ad">height</a>; 107<a name="l00075"></a><a class="code" href="structDMXDesktopAttributesRec.html#a6d3460904e38d14e4c857164901dd0ff">00075</a> <span class="keywordtype">int</span> <a class="code" href="structDMXDesktopAttributesRec.html#a6d3460904e38d14e4c857164901dd0ff">shiftX</a>; 108<a name="l00076"></a><a class="code" href="structDMXDesktopAttributesRec.html#a66acb1156ef40a2bc377943d50e0f52f">00076</a> <span class="keywordtype">int</span> <a class="code" href="structDMXDesktopAttributesRec.html#a66acb1156ef40a2bc377943d50e0f52f">shiftY</a>; 109<a name="l00077"></a>00077 } <a class="code" href="structDMXDesktopAttributesRec.html">DMXDesktopAttributesRec</a>, *<a class="code" href="dmxextension_8h.html#a96ae1d459f8d65cbc2204f324cbe8b72">DMXDesktopAttributesPtr</a>; 110<a name="l00078"></a>00078 111<a name="l00080"></a><a class="code" href="structDMXInputAttributesRec.html">00080</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ 112<a name="l00081"></a><a class="code" href="structDMXInputAttributesRec.html#ace2798f784b97234c901ef3380f06b93">00081</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structDMXInputAttributesRec.html#ace2798f784b97234c901ef3380f06b93">name</a>; 113<a name="l00082"></a><a class="code" href="structDMXInputAttributesRec.html#aba63d1a444ff736beababf9ca1f00ec3">00082</a> <span class="keywordtype">int</span> <a class="code" href="structDMXInputAttributesRec.html#aba63d1a444ff736beababf9ca1f00ec3">inputType</a>; 114<a name="l00083"></a><a class="code" href="structDMXInputAttributesRec.html#a3eb115af0ab845d41902894d6de3bb20">00083</a> <span class="keywordtype">int</span> <a class="code" href="structDMXInputAttributesRec.html#a3eb115af0ab845d41902894d6de3bb20">physicalScreen</a>; 115<a name="l00084"></a><a class="code" href="structDMXInputAttributesRec.html#aecefabab0214492770a1eaaf7659cd1c">00084</a> <span class="keywordtype">int</span> <a class="code" href="structDMXInputAttributesRec.html#aecefabab0214492770a1eaaf7659cd1c">physicalId</a>; 116<a name="l00085"></a><a class="code" href="structDMXInputAttributesRec.html#adb896b223fa01c660fa71a4911993d63">00085</a> <span class="keywordtype">int</span> <a class="code" href="structDMXInputAttributesRec.html#adb896b223fa01c660fa71a4911993d63">isCore</a>; 117<a name="l00086"></a><a class="code" href="structDMXInputAttributesRec.html#a7628a7913aa4f69220807605442fa4ca">00086</a> <span class="keywordtype">int</span> <a class="code" href="structDMXInputAttributesRec.html#a7628a7913aa4f69220807605442fa4ca">sendsCore</a>; 118<a name="l00087"></a><a class="code" href="structDMXInputAttributesRec.html#a114bb5da1e75bd500655a17cbfb99f1f">00087</a> <span class="keywordtype">int</span> <a class="code" href="structDMXInputAttributesRec.html#a114bb5da1e75bd500655a17cbfb99f1f">detached</a>; 119<a name="l00088"></a>00088 } <a class="code" href="structDMXInputAttributesRec.html">DMXInputAttributesRec</a>, *<a class="code" href="dmxextension_8h.html#af665732621edf76f4bd259d14eb99164">DMXInputAttributesPtr</a>; 120<a name="l00089"></a>00089 121<a name="l00090"></a>00090 122<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>); 123<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); 124<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>); 125<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, 126<a name="l00095"></a>00095 DMXScreenAttributesPtr attr); 127<a name="l00096"></a>00096 <span class="keyword">extern</span> Bool <a class="code" href="dmxextension_8c.html#a81cd222e07016da8ee5c87c44a03312a">dmxGetWindowAttributes</a>(WindowPtr pWindow, 128<a name="l00097"></a>00097 DMXWindowAttributesPtr attr); 129<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); 130<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>); 131<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, 132<a name="l00101"></a>00101 DMXInputAttributesPtr attr); 133<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); 134<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); 135<a name="l00104"></a>00104 136<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, 137<a name="l00106"></a>00106 CARD32 *screens, 138<a name="l00107"></a>00107 DMXScreenAttributesPtr attribs, 139<a name="l00108"></a>00108 <span class="keywordtype">int</span> *errorScreen); 140<a name="l00109"></a>00109 141<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); 142<a name="l00111"></a>00111 143<a name="l00112"></a>00112 <span class="comment">/* dmxUpdateScreenResources exposed for dmxCreateWindow in dmxwindow.c */</span> 144<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, 145<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); 146<a name="l00115"></a>00115 147<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); 148<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); 149<a name="l00118"></a>00118 <span class="preprocessor">#endif</span> 150</pre></div></div> 151</div> 152 <div id="nav-path" class="navpath"> 153 <ul> 154 <li class="navelem"><a class="el" href="dmxextension_8h.html">dmxextension.h</a> </li> 155 <hr> 156 <address> 157 <small> 158 Generated June 29, 2004 for <a 159 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by 160 <a href="http://www.doxygen.org/index.html">doxygen</a> 161 1.3.4. 162 </small> 163 </addres> 164 </hr> 165 </body> 166</html> 167