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('dmx_8h.html',''); 35</script> 36<div id="doc-content"> 37<div class="header"> 38 <div class="headertitle"> 39<div class="title">dmx.h</div> </div> 40</div> 41<div class="contents"> 42<a href="dmx_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 2001-2003 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"> * Authors:</span> 71<a name="l00030"></a>00030 <span class="comment"> * Kevin E. Martin <kem@redhat.com></span> 72<a name="l00031"></a>00031 <span class="comment"> * David H. Dawes <dawes@xfree86.org></span> 73<a name="l00032"></a>00032 <span class="comment"> * Rickard E. (Rik) Faith <faith@redhat.com></span> 74<a name="l00033"></a>00033 <span class="comment"> *</span> 75<a name="l00034"></a>00034 <span class="comment"> */</span> 76<a name="l00035"></a>00035 77<a name="l00050"></a>00050 <span class="preprocessor">#ifndef DMX_H</span> 78<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#define DMX_H</span> 79<a name="l00052"></a>00052 <span class="preprocessor"></span> 80<a name="l00053"></a>00053 <span class="preprocessor">#if HAVE_DMX_CONFIG_H</span> 81<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="dmx-config_8h.html">dmx-config.h</a>></span> 82<a name="l00055"></a>00055 <span class="preprocessor">#endif</span> 83<a name="l00056"></a>00056 <span class="preprocessor"></span> 84<a name="l00057"></a>00057 <span class="preprocessor">#include "gcstruct.h"</span> 85<a name="l00058"></a>00058 86<a name="l00059"></a>00059 <span class="comment">/* Handle client-side include files in one place. */</span> 87<a name="l00060"></a>00060 <span class="preprocessor">#include "<a class="code" href="dmxclient_8h.html">dmxclient.h</a>"</span> 88<a name="l00061"></a>00061 89<a name="l00062"></a>00062 <span class="preprocessor">#include "globals.h"</span> 90<a name="l00063"></a>00063 <span class="preprocessor">#include "scrnintstr.h"</span> 91<a name="l00064"></a>00064 92<a name="l00065"></a>00065 <span class="preprocessor">#include "picturestr.h"</span> 93<a name="l00066"></a>00066 94<a name="l00067"></a>00067 <span class="preprocessor">#ifdef GLXEXT</span> 95<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#include <GL/glx.h></span> 96<a name="l00069"></a>00069 <span class="preprocessor">#include <GL/glxint.h></span> 97<a name="l00070"></a>00070 <span class="preprocessor">#endif</span> 98<a name="l00071"></a>00071 <span class="preprocessor"></span> 99<a name="l00072"></a><a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48">00072</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { 100<a name="l00073"></a><a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48ad375955ea9a568af249c13e41d2f0d44">00073</a> <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48ad375955ea9a568af249c13e41d2f0d44">PosNone</a> = -1, 101<a name="l00074"></a><a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a98c1cbf3326de8339bf0538c74477351">00074</a> <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a98c1cbf3326de8339bf0538c74477351">PosAbsolute</a> = 0, 102<a name="l00075"></a><a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48adbb68d2dea659baab7c04a54a95679ae">00075</a> <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48adbb68d2dea659baab7c04a54a95679ae">PosRightOf</a>, 103<a name="l00076"></a><a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a6e57f3ac055303c9c0c730274faa419f">00076</a> <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a6e57f3ac055303c9c0c730274faa419f">PosLeftOf</a>, 104<a name="l00077"></a><a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a8b4710773b7ba23cd4ba12a48f544414">00077</a> <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a8b4710773b7ba23cd4ba12a48f544414">PosAbove</a>, 105<a name="l00078"></a><a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a61079f63564c7d135feeeabb170cff1e">00078</a> <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a61079f63564c7d135feeeabb170cff1e">PosBelow</a>, 106<a name="l00079"></a><a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a6681d76ba36d5d2fce88975100fbfddc">00079</a> <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48a6681d76ba36d5d2fce88975100fbfddc">PosRelative</a> 107<a name="l00080"></a>00080 } <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48">PositionType</a>; 108<a name="l00081"></a>00081 109<a name="l00084"></a><a class="code" href="dmx_8h.html#a175903acd588f450ac6325e17355f8ca">00084</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__DMXInputInfo.html">_DMXInputInfo</a> <a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a>; 110<a name="l00085"></a>00085 111<a name="l00088"></a><a class="code" href="dmx_8h.html#aac7b710f9533f3b984574f1403488673">00088</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__DMXStatInfo.html">_DMXStatInfo</a> <a class="code" href="struct__DMXStatInfo.html">DMXStatInfo</a>; 112<a name="l00089"></a>00089 113<a name="l00091"></a><a class="code" href="struct__DMXScreenInfo.html">00091</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__DMXScreenInfo.html">_DMXScreenInfo</a> { 114<a name="l00092"></a><a class="code" href="struct__DMXScreenInfo.html#a5cfc14ffedaafcbe5b00302f972208cf">00092</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="struct__DMXScreenInfo.html#a5cfc14ffedaafcbe5b00302f972208cf">name</a>; 115<a name="l00093"></a><a class="code" href="struct__DMXScreenInfo.html#a28849096f73f9bf14bb7e461dbb5cc94">00093</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a28849096f73f9bf14bb7e461dbb5cc94">index</a>; 116<a name="l00095"></a>00095 <span class="comment">/*---------- Back-end X server information ----------*/</span> 117<a name="l00096"></a>00096 118<a name="l00097"></a><a class="code" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">00097</a> Display *<a class="code" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">beDisplay</a>; 119<a name="l00098"></a><a class="code" href="struct__DMXScreenInfo.html#aaa160ae9fce9f7c58bb9f6c0a9709861">00098</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#aaa160ae9fce9f7c58bb9f6c0a9709861">beWidth</a>; 120<a name="l00099"></a><a class="code" href="struct__DMXScreenInfo.html#a713ca6d9bf7a4527f442519554e1fc94">00099</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a713ca6d9bf7a4527f442519554e1fc94">beHeight</a>; 121<a name="l00100"></a><a class="code" href="struct__DMXScreenInfo.html#ac435223f6a5921beab567cc23b83f07f">00100</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#ac435223f6a5921beab567cc23b83f07f">beDepth</a>; 122<a name="l00101"></a><a class="code" href="struct__DMXScreenInfo.html#a5e865cb99dd73ba18991912af275994f">00101</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a5e865cb99dd73ba18991912af275994f">beBPP</a>; 123<a name="l00102"></a><a class="code" href="struct__DMXScreenInfo.html#aef4fb640cf089a1ebbf87a144f25cd80">00102</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#aef4fb640cf089a1ebbf87a144f25cd80">beXDPI</a>; 124<a name="l00103"></a><a class="code" href="struct__DMXScreenInfo.html#a7646aaa7101d53566be4506a2c3b75fb">00103</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a7646aaa7101d53566be4506a2c3b75fb">beYDPI</a>; 125<a name="l00105"></a><a class="code" href="struct__DMXScreenInfo.html#a896eeff4d8c92af936bbb1c24b8ad081">00105</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a896eeff4d8c92af936bbb1c24b8ad081">beNumDepths</a>; 126<a name="l00106"></a><a class="code" href="struct__DMXScreenInfo.html#a4e0c6ff0cf4b00ac0d7d1f3702343033">00106</a> <span class="keywordtype">int</span> *<a class="code" href="struct__DMXScreenInfo.html#a4e0c6ff0cf4b00ac0d7d1f3702343033">beDepths</a>; 127<a name="l00108"></a><a class="code" href="struct__DMXScreenInfo.html#a6476a8960e2013a9502c326f8851071c">00108</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a6476a8960e2013a9502c326f8851071c">beNumPixmapFormats</a>; 128<a name="l00109"></a><a class="code" href="struct__DMXScreenInfo.html#a1c13d3cbcad4da61fe677e96cb781543">00109</a> XPixmapFormatValues *<a class="code" href="struct__DMXScreenInfo.html#a1c13d3cbcad4da61fe677e96cb781543">bePixmapFormats</a>; 129<a name="l00111"></a><a class="code" href="struct__DMXScreenInfo.html#a4edb26469ac99eccb762f668615c4b83">00111</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a4edb26469ac99eccb762f668615c4b83">beNumVisuals</a>; 130<a name="l00112"></a><a class="code" href="struct__DMXScreenInfo.html#a33651a812fe70c8229f395c2bb38b45c">00112</a> XVisualInfo *<a class="code" href="struct__DMXScreenInfo.html#a33651a812fe70c8229f395c2bb38b45c">beVisuals</a>; 131<a name="l00113"></a><a class="code" href="struct__DMXScreenInfo.html#a1288c3902e2e1f871947e854269562e8">00113</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a1288c3902e2e1f871947e854269562e8">beDefVisualIndex</a>; 132<a name="l00115"></a><a class="code" href="struct__DMXScreenInfo.html#a3a70f31b272f686b4df2bb98e25f0902">00115</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a3a70f31b272f686b4df2bb98e25f0902">beNumDefColormaps</a>; 133<a name="l00116"></a><a class="code" href="struct__DMXScreenInfo.html#acd24913b53592c9a65bbc52f43f7409a">00116</a> Colormap *<a class="code" href="struct__DMXScreenInfo.html#acd24913b53592c9a65bbc52f43f7409a">beDefColormaps</a>; 134<a name="l00118"></a><a class="code" href="struct__DMXScreenInfo.html#adc481961d93d200f67ca722b32d17608">00118</a> Pixel <a class="code" href="struct__DMXScreenInfo.html#adc481961d93d200f67ca722b32d17608">beBlackPixel</a>; 135<a name="l00119"></a><a class="code" href="struct__DMXScreenInfo.html#aa57407aa11d2c07346bd6ad5b443a147">00119</a> Pixel <a class="code" href="struct__DMXScreenInfo.html#aa57407aa11d2c07346bd6ad5b443a147">beWhitePixel</a>; 136<a name="l00121"></a>00121 <span class="comment">/*---------- Screen window information ----------*/</span> 137<a name="l00122"></a>00122 138<a name="l00123"></a><a class="code" href="struct__DMXScreenInfo.html#a78c03cd265e1c64b0d4028f0b27f99c4">00123</a> Window <a class="code" href="struct__DMXScreenInfo.html#a78c03cd265e1c64b0d4028f0b27f99c4">scrnWin</a>; 139<a name="l00124"></a><a class="code" href="struct__DMXScreenInfo.html#a25e823320e01d5c61c996a9e4f3c2920">00124</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a25e823320e01d5c61c996a9e4f3c2920">scrnX</a>; 140<a name="l00125"></a><a class="code" href="struct__DMXScreenInfo.html#aec971ffcb8c7970610513deef57da9f0">00125</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#aec971ffcb8c7970610513deef57da9f0">scrnY</a>; 141<a name="l00126"></a><a class="code" href="struct__DMXScreenInfo.html#ac4c86f223d149ffda30a32ebaffee23a">00126</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#ac4c86f223d149ffda30a32ebaffee23a">scrnWidth</a>; 142<a name="l00127"></a><a class="code" href="struct__DMXScreenInfo.html#a2a1733427433e53a0df2575168ad0713">00127</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a2a1733427433e53a0df2575168ad0713">scrnHeight</a>; 143<a name="l00128"></a><a class="code" href="struct__DMXScreenInfo.html#a3035698819a0339095cd208595999aaf">00128</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a3035698819a0339095cd208595999aaf">scrnXSign</a>; 144<a name="l00129"></a><a class="code" href="struct__DMXScreenInfo.html#aa4018bf5e24b7c3dd02bb8ccc808be2c">00129</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#aa4018bf5e24b7c3dd02bb8ccc808be2c">scrnYSign</a>; 145<a name="l00132"></a><a class="code" href="struct__DMXScreenInfo.html#a0fdddca70b67ca947e663001ac3e398f">00132</a> Drawable <a class="code" href="struct__DMXScreenInfo.html#a0fdddca70b67ca947e663001ac3e398f">scrnDefDrawables</a>[MAXFORMATS]; 146<a name="l00133"></a>00133 147<a name="l00134"></a><a class="code" href="struct__DMXScreenInfo.html#a24d4641dc02b750b88eb56ced27269d3">00134</a> <span class="keyword">struct </span><a class="code" href="struct__DMXScreenInfo.html">_DMXScreenInfo</a> *<a class="code" href="struct__DMXScreenInfo.html#a24d4641dc02b750b88eb56ced27269d3">next</a>; 148<a name="l00135"></a><a class="code" href="struct__DMXScreenInfo.html#ac55a37b29ce99474516995b09f794d9c">00135</a> <span class="keyword">struct </span><a class="code" href="struct__DMXScreenInfo.html">_DMXScreenInfo</a> *<a class="code" href="struct__DMXScreenInfo.html#ac55a37b29ce99474516995b09f794d9c">over</a>; 149<a name="l00137"></a>00137 <span class="comment">/*---------- Root window information ----------*/</span> 150<a name="l00138"></a>00138 151<a name="l00139"></a><a class="code" href="struct__DMXScreenInfo.html#ae19c1b45f18c3880dac6fb101fc92127">00139</a> Window <a class="code" href="struct__DMXScreenInfo.html#ae19c1b45f18c3880dac6fb101fc92127">rootWin</a>; 152<a name="l00140"></a><a class="code" href="struct__DMXScreenInfo.html#a94bafd201bf311e19fc17772e5ccdc28">00140</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a94bafd201bf311e19fc17772e5ccdc28">rootX</a>; 153<a name="l00141"></a><a class="code" href="struct__DMXScreenInfo.html#acd81762e240cca8a57c90ab7f423ca8f">00141</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#acd81762e240cca8a57c90ab7f423ca8f">rootY</a>; 154<a name="l00142"></a><a class="code" href="struct__DMXScreenInfo.html#a1edc0ff1f4afd8176c237248da677350">00142</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a1edc0ff1f4afd8176c237248da677350">rootWidth</a>; 155<a name="l00143"></a><a class="code" href="struct__DMXScreenInfo.html#a021f9c1883ae7d96bd47c53bc0bab428">00143</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a021f9c1883ae7d96bd47c53bc0bab428">rootHeight</a>; 156<a name="l00145"></a><a class="code" href="struct__DMXScreenInfo.html#aef812b4b6f76c93b8e800e9388330add">00145</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#aef812b4b6f76c93b8e800e9388330add">rootXOrigin</a>; 157<a name="l00146"></a><a class="code" href="struct__DMXScreenInfo.html#a89914c5858cebec13b2256ad02d787ac">00146</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a89914c5858cebec13b2256ad02d787ac">rootYOrigin</a>; 158<a name="l00148"></a>00148 <span class="comment">/*---------- Shadow framebuffer information ----------*/</span> 159<a name="l00149"></a>00149 160<a name="l00150"></a><a class="code" href="struct__DMXScreenInfo.html#a873f1776988a437bcf2357e166005c48">00150</a> <span class="keywordtype">void</span> *<a class="code" href="struct__DMXScreenInfo.html#a873f1776988a437bcf2357e166005c48">shadow</a>; 161<a name="l00151"></a><a class="code" href="struct__DMXScreenInfo.html#a48314583a4bbbfaa66719330bdf4a91a">00151</a> XlibGC <a class="code" href="struct__DMXScreenInfo.html#a48314583a4bbbfaa66719330bdf4a91a">shadowGC</a>; 162<a name="l00152"></a><a class="code" href="struct__DMXScreenInfo.html#ae21672a36b84f8268c5e29d82fa07667">00152</a> XImage *<a class="code" href="struct__DMXScreenInfo.html#ae21672a36b84f8268c5e29d82fa07667">shadowFBImage</a>; 163<a name="l00154"></a>00154 <span class="comment">/*---------- Other related information ----------*/</span> 164<a name="l00155"></a>00155 165<a name="l00156"></a><a class="code" href="struct__DMXScreenInfo.html#a1c960b58b8bb306b5fe14edc8d8c2b8d">00156</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a1c960b58b8bb306b5fe14edc8d8c2b8d">shared</a>; 166<a name="l00158"></a><a class="code" href="struct__DMXScreenInfo.html#a1da213d4ad20ad28127f06632a8202aa">00158</a> Bool <a class="code" href="struct__DMXScreenInfo.html#a1da213d4ad20ad28127f06632a8202aa">WMRunningOnBE</a>; 167<a name="l00159"></a>00159 168<a name="l00160"></a><a class="code" href="struct__DMXScreenInfo.html#a148c7073ff8a41bee48e6c375e622bd9">00160</a> Cursor <a class="code" href="struct__DMXScreenInfo.html#a148c7073ff8a41bee48e6c375e622bd9">noCursor</a>; 169<a name="l00161"></a><a class="code" href="struct__DMXScreenInfo.html#aec1712642a093f935194bfe49d0d4050">00161</a> Cursor <a class="code" href="struct__DMXScreenInfo.html#aec1712642a093f935194bfe49d0d4050">curCursor</a>; 170<a name="l00162"></a>00162 <span class="comment">/* Support for cursors on overlapped</span> 171<a name="l00163"></a>00163 <span class="comment"> * backend displays. */</span> 172<a name="l00164"></a><a class="code" href="struct__DMXScreenInfo.html#a7a61b71888a4d7c6eefa3cde29bbd677">00164</a> CursorPtr <a class="code" href="struct__DMXScreenInfo.html#a7a61b71888a4d7c6eefa3cde29bbd677">cursor</a>; 173<a name="l00165"></a><a class="code" href="struct__DMXScreenInfo.html#a68f4dfcb582f9470e09c10a6e21ec5e3">00165</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a68f4dfcb582f9470e09c10a6e21ec5e3">cursorVisible</a>; 174<a name="l00166"></a><a class="code" href="struct__DMXScreenInfo.html#a83dd882008eb7e54cc81987a23ab9fd5">00166</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a83dd882008eb7e54cc81987a23ab9fd5">cursorNotShared</a>; <span class="comment">/* for overlapping screens on a backend */</span> 175<a name="l00167"></a>00167 176<a name="l00168"></a><a class="code" href="struct__DMXScreenInfo.html#a2cb225a5c08ae6ea0ce19d85616f143b">00168</a> <a class="code" href="dmx_8h.html#aa80fe4e9a559009407475c9587214b48">PositionType</a> <a class="code" href="struct__DMXScreenInfo.html#a2cb225a5c08ae6ea0ce19d85616f143b">where</a>; 177<a name="l00169"></a><a class="code" href="struct__DMXScreenInfo.html#a9d0572de80377c7ad7407dfb0cf22d8a">00169</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a9d0572de80377c7ad7407dfb0cf22d8a">whereX</a>; 178<a name="l00170"></a><a class="code" href="struct__DMXScreenInfo.html#aeb391a900f17b41e18127b4b31026c96">00170</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#aeb391a900f17b41e18127b4b31026c96">whereY</a>; 179<a name="l00171"></a><a class="code" href="struct__DMXScreenInfo.html#ae502ef7543f17556ea497ebbef157f41">00171</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#ae502ef7543f17556ea497ebbef157f41">whereRefScreen</a>; 180<a name="l00173"></a><a class="code" href="struct__DMXScreenInfo.html#a187aa2158f3a1e7b021cf1ea6f693c2f">00173</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a187aa2158f3a1e7b021cf1ea6f693c2f">savedTimeout</a>; 181<a name="l00174"></a><a class="code" href="struct__DMXScreenInfo.html#a3f540a0bcac0e813a4b7ad3f34a19277">00174</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a3f540a0bcac0e813a4b7ad3f34a19277">dpmsCapable</a>; 182<a name="l00175"></a><a class="code" href="struct__DMXScreenInfo.html#a3ad975d6c25329c21456c1f880dc68f6">00175</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a3ad975d6c25329c21456c1f880dc68f6">dpmsEnabled</a>; 183<a name="l00176"></a><a class="code" href="struct__DMXScreenInfo.html#abf64e2489557ef84c84c1e36b1fccb83">00176</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#abf64e2489557ef84c84c1e36b1fccb83">dpmsStandby</a>; 184<a name="l00177"></a><a class="code" href="struct__DMXScreenInfo.html#a7dab70abf22a5ec34fced3ba2fbd25d0">00177</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a7dab70abf22a5ec34fced3ba2fbd25d0">dpmsSuspend</a>; 185<a name="l00178"></a><a class="code" href="struct__DMXScreenInfo.html#a69a70ba630e23bab0141886f2d49eb31">00178</a> <span class="keywordtype">int</span> <a class="code" href="struct__DMXScreenInfo.html#a69a70ba630e23bab0141886f2d49eb31">dpmsOff</a>; 186<a name="l00180"></a><a class="code" href="struct__DMXScreenInfo.html#a31fd04698ffcb2b53ffee82468cc2862">00180</a> <a class="code" href="struct__DMXStatInfo.html">DMXStatInfo</a> *<a class="code" href="struct__DMXScreenInfo.html#a31fd04698ffcb2b53ffee82468cc2862">stat</a>; 187<a name="l00181"></a><a class="code" href="struct__DMXScreenInfo.html#a2c3aa46a8fafabc0a9af28948055fcb0">00181</a> Bool <a class="code" href="struct__DMXScreenInfo.html#a2c3aa46a8fafabc0a9af28948055fcb0">needsSync</a>; 188<a name="l00183"></a>00183 <span class="preprocessor">#ifdef GLXEXT</span> 189<a name="l00184"></a>00184 <span class="preprocessor"></span> 190<a name="l00185"></a>00185 <span class="keywordtype">int</span> numGlxVisuals; 191<a name="l00186"></a>00186 __GLXvisualConfig *glxVisuals; 192<a name="l00187"></a>00187 <span class="keywordtype">int</span> glxMajorOpcode; 193<a name="l00188"></a>00188 <span class="keywordtype">int</span> glxErrorBase; 194<a name="l00189"></a>00189 195<a name="l00191"></a>00191 __GLXFBConfig *fbconfigs; 196<a name="l00192"></a>00192 <span class="keywordtype">int</span> numFBConfigs; 197<a name="l00193"></a>00193 <span class="preprocessor">#endif</span> 198<a name="l00194"></a>00194 <span class="preprocessor"></span> 199<a name="l00197"></a><a class="code" href="struct__DMXScreenInfo.html#a94a4815bc20535c8946876d2113b109e">00197</a> CloseScreenProcPtr <a class="code" href="struct__DMXScreenInfo.html#a94a4815bc20535c8946876d2113b109e">CloseScreen</a>; 200<a name="l00198"></a><a class="code" href="struct__DMXScreenInfo.html#a357f02026fd7a4d50e682c87554b15a7">00198</a> SaveScreenProcPtr <a class="code" href="struct__DMXScreenInfo.html#a357f02026fd7a4d50e682c87554b15a7">SaveScreen</a>; 201<a name="l00199"></a>00199 202<a name="l00200"></a><a class="code" href="struct__DMXScreenInfo.html#a0608031d93f0f78df41e66fc8e8107cf">00200</a> CreateGCProcPtr <a class="code" href="struct__DMXScreenInfo.html#a0608031d93f0f78df41e66fc8e8107cf">CreateGC</a>; 203<a name="l00201"></a>00201 204<a name="l00202"></a><a class="code" href="struct__DMXScreenInfo.html#a19123a8915a37e821ef46bc63f646d8d">00202</a> CreateWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#a19123a8915a37e821ef46bc63f646d8d">CreateWindow</a>; 205<a name="l00203"></a><a class="code" href="struct__DMXScreenInfo.html#a0d204177b5df7dab4a89741439728a56">00203</a> DestroyWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#a0d204177b5df7dab4a89741439728a56">DestroyWindow</a>; 206<a name="l00204"></a><a class="code" href="struct__DMXScreenInfo.html#afad6bda7c2505a7fedabdf055f7838c5">00204</a> PositionWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#afad6bda7c2505a7fedabdf055f7838c5">PositionWindow</a>; 207<a name="l00205"></a><a class="code" href="struct__DMXScreenInfo.html#a35d0114e24f9eeff1f5649bcb0b00d71">00205</a> ChangeWindowAttributesProcPtr <a class="code" href="struct__DMXScreenInfo.html#a35d0114e24f9eeff1f5649bcb0b00d71">ChangeWindowAttributes</a>; 208<a name="l00206"></a><a class="code" href="struct__DMXScreenInfo.html#a2b3ed1977ce205b1bb518393e1b434f6">00206</a> RealizeWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#a2b3ed1977ce205b1bb518393e1b434f6">RealizeWindow</a>; 209<a name="l00207"></a><a class="code" href="struct__DMXScreenInfo.html#a7b72d30e072b0f1a5f1e89ae9c1155f0">00207</a> UnrealizeWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#a7b72d30e072b0f1a5f1e89ae9c1155f0">UnrealizeWindow</a>; 210<a name="l00208"></a><a class="code" href="struct__DMXScreenInfo.html#a8c16eedf083215c4076fcd8851cf6bc2">00208</a> RestackWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#a8c16eedf083215c4076fcd8851cf6bc2">RestackWindow</a>; 211<a name="l00209"></a><a class="code" href="struct__DMXScreenInfo.html#a526c7fea5a2a39d325eab3fd4efb503d">00209</a> WindowExposuresProcPtr <a class="code" href="struct__DMXScreenInfo.html#a526c7fea5a2a39d325eab3fd4efb503d">WindowExposures</a>; 212<a name="l00210"></a><a class="code" href="struct__DMXScreenInfo.html#a8f1472064bae45d6b59bee2580a185aa">00210</a> CopyWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#a8f1472064bae45d6b59bee2580a185aa">CopyWindow</a>; 213<a name="l00211"></a>00211 214<a name="l00212"></a><a class="code" href="struct__DMXScreenInfo.html#a949c2799e41ad4f4384cc862df4022fd">00212</a> ResizeWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#a949c2799e41ad4f4384cc862df4022fd">ResizeWindow</a>; 215<a name="l00213"></a><a class="code" href="struct__DMXScreenInfo.html#a71362d4473da8793f624eaa6a9ac61af">00213</a> ReparentWindowProcPtr <a class="code" href="struct__DMXScreenInfo.html#a71362d4473da8793f624eaa6a9ac61af">ReparentWindow</a>; 216<a name="l00214"></a>00214 217<a name="l00215"></a><a class="code" href="struct__DMXScreenInfo.html#a134b8b97ce93ef4601c972d0fb760e93">00215</a> ChangeBorderWidthProcPtr <a class="code" href="struct__DMXScreenInfo.html#a134b8b97ce93ef4601c972d0fb760e93">ChangeBorderWidth</a>; 218<a name="l00216"></a>00216 219<a name="l00217"></a><a class="code" href="struct__DMXScreenInfo.html#ad622affb2a1524a15f9bad149fa88f30">00217</a> GetImageProcPtr <a class="code" href="struct__DMXScreenInfo.html#ad622affb2a1524a15f9bad149fa88f30">GetImage</a>; 220<a name="l00218"></a><a class="code" href="struct__DMXScreenInfo.html#ad399c770af1784544ede0253593b3700">00218</a> GetSpansProcPtr <a class="code" href="struct__DMXScreenInfo.html#ad399c770af1784544ede0253593b3700">GetSpans</a>; 221<a name="l00219"></a>00219 222<a name="l00220"></a><a class="code" href="struct__DMXScreenInfo.html#a88d8c787b8e05b4d69fa3d91f6456542">00220</a> CreatePixmapProcPtr <a class="code" href="struct__DMXScreenInfo.html#a88d8c787b8e05b4d69fa3d91f6456542">CreatePixmap</a>; 223<a name="l00221"></a><a class="code" href="struct__DMXScreenInfo.html#adafeb1337d14d4f650098f3bd06214db">00221</a> DestroyPixmapProcPtr <a class="code" href="struct__DMXScreenInfo.html#adafeb1337d14d4f650098f3bd06214db">DestroyPixmap</a>; 224<a name="l00222"></a><a class="code" href="struct__DMXScreenInfo.html#a1d29c3ada0aab8fbcd88c5ceaa48cf2d">00222</a> BitmapToRegionProcPtr <a class="code" href="struct__DMXScreenInfo.html#a1d29c3ada0aab8fbcd88c5ceaa48cf2d">BitmapToRegion</a>; 225<a name="l00223"></a>00223 226<a name="l00224"></a><a class="code" href="struct__DMXScreenInfo.html#a22e93c0020eab3f889c54093ad32348e">00224</a> RealizeFontProcPtr <a class="code" href="struct__DMXScreenInfo.html#a22e93c0020eab3f889c54093ad32348e">RealizeFont</a>; 227<a name="l00225"></a><a class="code" href="struct__DMXScreenInfo.html#af46646c951db10afab56244b5345a6d8">00225</a> UnrealizeFontProcPtr <a class="code" href="struct__DMXScreenInfo.html#af46646c951db10afab56244b5345a6d8">UnrealizeFont</a>; 228<a name="l00226"></a>00226 229<a name="l00227"></a><a class="code" href="struct__DMXScreenInfo.html#a082a4bae927eb9bbbd87cebdfd4d9dfc">00227</a> CreateColormapProcPtr <a class="code" href="struct__DMXScreenInfo.html#a082a4bae927eb9bbbd87cebdfd4d9dfc">CreateColormap</a>; 230<a name="l00228"></a><a class="code" href="struct__DMXScreenInfo.html#a0a407c422f268db1da74672d572102bb">00228</a> DestroyColormapProcPtr <a class="code" href="struct__DMXScreenInfo.html#a0a407c422f268db1da74672d572102bb">DestroyColormap</a>; 231<a name="l00229"></a><a class="code" href="struct__DMXScreenInfo.html#ab5a18ace3bb18cbcc9e127f51c494006">00229</a> InstallColormapProcPtr <a class="code" href="struct__DMXScreenInfo.html#ab5a18ace3bb18cbcc9e127f51c494006">InstallColormap</a>; 232<a name="l00230"></a><a class="code" href="struct__DMXScreenInfo.html#addce695c56fcc40e89b5c5add6a09205">00230</a> StoreColorsProcPtr <a class="code" href="struct__DMXScreenInfo.html#addce695c56fcc40e89b5c5add6a09205">StoreColors</a>; 233<a name="l00231"></a>00231 234<a name="l00232"></a><a class="code" href="struct__DMXScreenInfo.html#ad4273ba541b4d7e50c967c42d80733bb">00232</a> SetShapeProcPtr <a class="code" href="struct__DMXScreenInfo.html#ad4273ba541b4d7e50c967c42d80733bb">SetShape</a>; 235<a name="l00233"></a>00233 236<a name="l00234"></a><a class="code" href="struct__DMXScreenInfo.html#adf17f1a03e6a5a127b02aaa9005d8089">00234</a> CreatePictureProcPtr <a class="code" href="struct__DMXScreenInfo.html#adf17f1a03e6a5a127b02aaa9005d8089">CreatePicture</a>; 237<a name="l00235"></a><a class="code" href="struct__DMXScreenInfo.html#a31909a1072cd78345457bd6b0c81ac1c">00235</a> DestroyPictureProcPtr <a class="code" href="struct__DMXScreenInfo.html#a31909a1072cd78345457bd6b0c81ac1c">DestroyPicture</a>; 238<a name="l00236"></a><a class="code" href="struct__DMXScreenInfo.html#a62a21ad708a96cb1653e8d572895b1de">00236</a> ChangePictureClipProcPtr <a class="code" href="struct__DMXScreenInfo.html#a62a21ad708a96cb1653e8d572895b1de">ChangePictureClip</a>; 239<a name="l00237"></a><a class="code" href="struct__DMXScreenInfo.html#ab643ec0c295421859733b8f654ff8ce7">00237</a> DestroyPictureClipProcPtr <a class="code" href="struct__DMXScreenInfo.html#ab643ec0c295421859733b8f654ff8ce7">DestroyPictureClip</a>; 240<a name="l00238"></a>00238 241<a name="l00239"></a><a class="code" href="struct__DMXScreenInfo.html#a933b5c32ef1671dae5acc1e96b7f34e3">00239</a> ChangePictureProcPtr <a class="code" href="struct__DMXScreenInfo.html#a933b5c32ef1671dae5acc1e96b7f34e3">ChangePicture</a>; 242<a name="l00240"></a><a class="code" href="struct__DMXScreenInfo.html#a627ae18aeaa92da0923ab49803470c71">00240</a> ValidatePictureProcPtr <a class="code" href="struct__DMXScreenInfo.html#a627ae18aeaa92da0923ab49803470c71">ValidatePicture</a>; 243<a name="l00241"></a>00241 244<a name="l00242"></a><a class="code" href="struct__DMXScreenInfo.html#a5e70f79e08b658092d83d266686c9a67">00242</a> CompositeProcPtr <a class="code" href="struct__DMXScreenInfo.html#a5e70f79e08b658092d83d266686c9a67">Composite</a>; 245<a name="l00243"></a><a class="code" href="struct__DMXScreenInfo.html#ab2bf09e1d055cad3ecfb1b00ddadc89e">00243</a> GlyphsProcPtr <a class="code" href="struct__DMXScreenInfo.html#ab2bf09e1d055cad3ecfb1b00ddadc89e">Glyphs</a>; 246<a name="l00244"></a><a class="code" href="struct__DMXScreenInfo.html#a2b5509668e39153253b7d7d945dddecb">00244</a> CompositeRectsProcPtr <a class="code" href="struct__DMXScreenInfo.html#a2b5509668e39153253b7d7d945dddecb">CompositeRects</a>; 247<a name="l00245"></a>00245 248<a name="l00246"></a><a class="code" href="struct__DMXScreenInfo.html#adaae790d6f5dd1dec98e57e2e669e3fd">00246</a> InitIndexedProcPtr <a class="code" href="struct__DMXScreenInfo.html#adaae790d6f5dd1dec98e57e2e669e3fd">InitIndexed</a>; 249<a name="l00247"></a><a class="code" href="struct__DMXScreenInfo.html#a99c75513907782d2679bd9e2ed327621">00247</a> CloseIndexedProcPtr <a class="code" href="struct__DMXScreenInfo.html#a99c75513907782d2679bd9e2ed327621">CloseIndexed</a>; 250<a name="l00248"></a><a class="code" href="struct__DMXScreenInfo.html#afa11a2993fe14ec90db2de382cdeb25c">00248</a> UpdateIndexedProcPtr <a class="code" href="struct__DMXScreenInfo.html#afa11a2993fe14ec90db2de382cdeb25c">UpdateIndexed</a>; 251<a name="l00249"></a>00249 252<a name="l00250"></a><a class="code" href="struct__DMXScreenInfo.html#a4008b17ac4eb89816a8c2d3ce2e14421">00250</a> TrapezoidsProcPtr <a class="code" href="struct__DMXScreenInfo.html#a4008b17ac4eb89816a8c2d3ce2e14421">Trapezoids</a>; 253<a name="l00251"></a><a class="code" href="struct__DMXScreenInfo.html#af37150652184c4865700576504ec9df9">00251</a> TrianglesProcPtr <a class="code" href="struct__DMXScreenInfo.html#af37150652184c4865700576504ec9df9">Triangles</a>; 254<a name="l00252"></a><a class="code" href="struct__DMXScreenInfo.html#a5918dec3813c47c24f52f076f1b05dc4">00252</a> TriStripProcPtr <a class="code" href="struct__DMXScreenInfo.html#a5918dec3813c47c24f52f076f1b05dc4">TriStrip</a>; 255<a name="l00253"></a><a class="code" href="struct__DMXScreenInfo.html#a0829ea4299b5afcb1d2f2894334fed69">00253</a> TriFanProcPtr <a class="code" href="struct__DMXScreenInfo.html#a0829ea4299b5afcb1d2f2894334fed69">TriFan</a>; 256<a name="l00254"></a>00254 } <a class="code" href="dmx_8h.html#a093c967353474b26640284f89d78e204">DMXScreenInfo</a>; 257<a name="l00255"></a>00255 258<a name="l00256"></a>00256 <span class="comment">/* Global variables available to all Xserver/hw/dmx routines. */</span> 259<a name="l00257"></a>00257 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmx_8h.html#a5a881109fe1e32c74cda4a280b09a7c4">dmxNumScreens</a>; 260<a name="l00258"></a>00258 <span class="keyword">extern</span> <a class="code" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *<a class="code" href="dmx_8h.html#a3e242a6818df05e547a4776919e3827f">dmxScreens</a>; 261<a name="l00259"></a>00259 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmx_8h.html#a97d09d0d46e9e7df451072def499e4fe">dmxShadowFB</a>; 262<a name="l00262"></a>00262 <span class="keyword">extern</span> XErrorEvent <a class="code" href="dmx_8h.html#aacf5b80f46b3ba1e46d7f1f12cfb158f">dmxLastErrorEvent</a>; 263<a name="l00264"></a>00264 <span class="keyword">extern</span> Bool <a class="code" href="dmx_8h.html#a9a817996c23e8669c5d9a8dc25e8cb51">dmxErrorOccurred</a>; 264<a name="l00266"></a>00266 <span class="keyword">extern</span> Bool <a class="code" href="dmx_8h.html#aa8987e6ecde1821c659e8fe22336fd20">dmxOffScreenOpt</a>; 265<a name="l00269"></a>00269 <span class="keyword">extern</span> Bool <a class="code" href="dmx_8h.html#a8207510b34c9871015d1e9378c31c568">dmxSubdividePrimitives</a>; 266<a name="l00272"></a>00272 <span class="keyword">extern</span> Bool <a class="code" href="dmx_8h.html#af266e8dde07901ede60eaa822b3e945a">dmxLazyWindowCreation</a>; 267<a name="l00275"></a>00275 <span class="keyword">extern</span> Bool <a class="code" href="dmx_8h.html#ab5b999218612af4136983694943737aa">dmxUseXKB</a>; 268<a name="l00279"></a>00279 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmx_8h.html#ad2d0e8e1a260d9fdb7ea3a980d5fce8b">dmxDepth</a>; 269<a name="l00281"></a>00281 <span class="preprocessor">#ifdef GLXEXT</span> 270<a name="l00282"></a>00282 <span class="preprocessor"></span><span class="keyword">extern</span> Bool <a class="code" href="dmxinit_8c.html#ae0253d9b4aa523bbdee8aaafbe63c1a4">dmxGLXProxy</a>; 271<a name="l00284"></a>00284 <span class="keyword">extern</span> Bool dmxGLXSwapGroupSupport; 272<a name="l00288"></a>00288 <span class="keyword">extern</span> Bool dmxGLXSyncSwap; 273<a name="l00292"></a>00292 <span class="keyword">extern</span> Bool dmxGLXFinishSwap; 274<a name="l00297"></a>00297 <span class="preprocessor">#endif</span> 275<a name="l00298"></a>00298 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">char</span> *<a class="code" href="dmx_8h.html#a10581b0cb51e730e26cbc08913a76c5f">dmxFontPath</a>; 276<a name="l00307"></a>00307 <span class="keyword">extern</span> Bool <a class="code" href="dmx_8h.html#a2eb1403caea1e0c8ac3cb9d1edc8d3c6">dmxIgnoreBadFontPaths</a>; 277<a name="l00311"></a>00311 <span class="keyword">extern</span> Bool <a class="code" href="dmx_8h.html#a8d53c22ed93cbef2684016d3c7638671">dmxAddRemoveScreens</a>; 278<a name="l00316"></a><a class="code" href="dmx_8h.html#a67000d9b6ab4428d002523c0ef981ed0">00316</a> <span class="preprocessor">#define DMX_WRAP(_entry, _newfunc, _saved, _actual) \</span> 279<a name="l00317"></a>00317 <span class="preprocessor">do { \</span> 280<a name="l00318"></a>00318 <span class="preprocessor"> (_saved)->_entry = (_actual)->_entry; \</span> 281<a name="l00319"></a>00319 <span class="preprocessor"> (_actual)->_entry = (_newfunc); \</span> 282<a name="l00320"></a>00320 <span class="preprocessor">} while (0)</span> 283<a name="l00321"></a>00321 <span class="preprocessor"></span> 284<a name="l00323"></a><a class="code" href="dmx_8h.html#a94c3604e80b511877468dea0d8da7051">00323</a> <span class="preprocessor">#define DMX_UNWRAP(_entry, _saved, _actual) \</span> 285<a name="l00324"></a>00324 <span class="preprocessor">do { \</span> 286<a name="l00325"></a>00325 <span class="preprocessor"> (_actual)->_entry = (_saved)->_entry; \</span> 287<a name="l00326"></a>00326 <span class="preprocessor">} while (0)</span> 288<a name="l00327"></a>00327 <span class="preprocessor"></span> 289<a name="l00328"></a>00328 <span class="comment">/* Define the MAXSCREENSALLOC/FREE macros, when MAXSCREENS patch has not</span> 290<a name="l00329"></a>00329 <span class="comment"> * been applied to sources. */</span> 291<a name="l00330"></a>00330 <span class="preprocessor">#ifdef MAXSCREENS</span> 292<a name="l00331"></a>00331 <span class="preprocessor"></span><span class="preprocessor">#define MAXSCREEN_MAKECONSTSTR1(x) #x</span> 293<a name="l00332"></a>00332 <span class="preprocessor"></span><span class="preprocessor">#define MAXSCREEN_MAKECONSTSTR2(x) MAXSCREEN_MAKECONSTSTR1(x)</span> 294<a name="l00333"></a>00333 <span class="preprocessor"></span> 295<a name="l00334"></a>00334 <span class="preprocessor">#define MAXSCREEN_FAILED_TXT "Failed at [" \</span> 296<a name="l00335"></a>00335 <span class="preprocessor"> MAXSCREEN_MAKECONSTSTR2(__LINE__) ":" __FILE__ "] to allocate object: "</span> 297<a name="l00336"></a>00336 <span class="preprocessor"></span> 298<a name="l00337"></a>00337 <span class="preprocessor">#define _MAXSCREENSALLOCF(o,size,fatal) \</span> 299<a name="l00338"></a>00338 <span class="preprocessor"> do { \</span> 300<a name="l00339"></a>00339 <span class="preprocessor"> if (!o) { \</span> 301<a name="l00340"></a>00340 <span class="preprocessor"> o = calloc((size), sizeof(*(o))); \</span> 302<a name="l00341"></a>00341 <span class="preprocessor"> if (!o && fatal) FatalError(MAXSCREEN_FAILED_TXT #o); \</span> 303<a name="l00342"></a>00342 <span class="preprocessor"> } \</span> 304<a name="l00343"></a>00343 <span class="preprocessor"> } while (0)</span> 305<a name="l00344"></a>00344 <span class="preprocessor"></span><span class="preprocessor">#define _MAXSCREENSALLOCR(o,size,retval) \</span> 306<a name="l00345"></a>00345 <span class="preprocessor"> do { \</span> 307<a name="l00346"></a>00346 <span class="preprocessor"> if (!o) { \</span> 308<a name="l00347"></a>00347 <span class="preprocessor"> o = calloc((size), sizeof(*(o))); \</span> 309<a name="l00348"></a>00348 <span class="preprocessor"> if (!o) return retval; \</span> 310<a name="l00349"></a>00349 <span class="preprocessor"> } \</span> 311<a name="l00350"></a>00350 <span class="preprocessor"> } while (0)</span> 312<a name="l00351"></a>00351 <span class="preprocessor"></span> 313<a name="l00352"></a>00352 <span class="preprocessor">#define MAXSCREENSFREE(o) \</span> 314<a name="l00353"></a>00353 <span class="preprocessor"> do { \</span> 315<a name="l00354"></a>00354 <span class="preprocessor"> free(o); \</span> 316<a name="l00355"></a>00355 <span class="preprocessor"> o = NULL; \</span> 317<a name="l00356"></a>00356 <span class="preprocessor"> } while (0)</span> 318<a name="l00357"></a>00357 <span class="preprocessor"></span> 319<a name="l00358"></a>00358 <span class="preprocessor">#define MAXSCREENSALLOC(o) _MAXSCREENSALLOCF(o,MAXSCREENS, 0)</span> 320<a name="l00359"></a>00359 <span class="preprocessor"></span><span class="preprocessor">#define MAXSCREENSALLOC_FATAL(o) _MAXSCREENSALLOCF(o,MAXSCREENS, 1)</span> 321<a name="l00360"></a>00360 <span class="preprocessor"></span><span class="preprocessor">#define MAXSCREENSALLOC_RETURN(o,r) _MAXSCREENSALLOCR(o,MAXSCREENS, (r))</span> 322<a name="l00361"></a>00361 <span class="preprocessor"></span><span class="preprocessor">#define MAXSCREENSALLOCPLUSONE(o) _MAXSCREENSALLOCF(o,MAXSCREENS+1,0)</span> 323<a name="l00362"></a>00362 <span class="preprocessor"></span><span class="preprocessor">#define MAXSCREENSALLOCPLUSONE_FATAL(o) _MAXSCREENSALLOCF(o,MAXSCREENS+1,1)</span> 324<a name="l00363"></a>00363 <span class="preprocessor"></span><span class="preprocessor">#define MAXSCREENSCALLOC(o,m) _MAXSCREENSALLOCF(o,MAXSCREENS*(m),0)</span> 325<a name="l00364"></a>00364 <span class="preprocessor"></span><span class="preprocessor">#define MAXSCREENSCALLOC_FATAL(o,m) _MAXSCREENSALLOCF(o,MAXSCREENS*(m),1)</span> 326<a name="l00365"></a>00365 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 327<a name="l00366"></a>00366 <span class="preprocessor"></span> 328<a name="l00367"></a>00367 <span class="keyword">extern</span> DevPrivateKeyRec <a class="code" href="dmx_8h.html#a9aef85f2d27fb4a444c0a24ff953db57">dmxGCPrivateKeyRec</a>; 329<a name="l00368"></a><a class="code" href="dmx_8h.html#aca566caa216b43a032891484384dfca8">00368</a> <span class="preprocessor">#define dmxGCPrivateKey (&dmxGCPrivateKeyRec) </span> 330<a name="l00370"></a>00370 <span class="preprocessor">extern DevPrivateKeyRec dmxWinPrivateKeyRec;</span> 331<a name="l00371"></a><a class="code" href="dmx_8h.html#a7f019f89eaada79f813c4f969ef4ab00">00371</a> <span class="preprocessor"></span><span class="preprocessor">#define dmxWinPrivateKey (&dmxWinPrivateKeyRec) </span> 332<a name="l00373"></a>00373 <span class="preprocessor">extern DevPrivateKeyRec dmxPixPrivateKeyRec;</span> 333<a name="l00374"></a><a class="code" href="dmx_8h.html#a58cdac45cf32cd2a4246d891717af12a">00374</a> <span class="preprocessor"></span><span class="preprocessor">#define dmxPixPrivateKey (&dmxPixPrivateKeyRec) </span> 334<a name="l00376"></a>00376 <span class="preprocessor">extern int dmxFontPrivateIndex; </span> 335<a name="l00378"></a>00378 <span class="preprocessor">extern DevPrivateKeyRec dmxScreenPrivateKeyRec;</span> 336<a name="l00379"></a><a class="code" href="dmx_8h.html#a956f38a520a532afb837d5ec089cf29f">00379</a> <span class="preprocessor"></span><span class="preprocessor">#define dmxScreenPrivateKey (&dmxScreenPrivateKeyRec) </span> 337<a name="l00381"></a>00381 <span class="preprocessor">extern DevPrivateKeyRec dmxColormapPrivateKeyRec;</span> 338<a name="l00382"></a><a class="code" href="dmx_8h.html#a47c216bb108efa441d7009a7da18d759">00382</a> <span class="preprocessor"></span><span class="preprocessor">#define dmxColormapPrivateKey (&dmxColormapPrivateKeyRec) </span> 339<a name="l00384"></a>00384 <span class="preprocessor">extern DevPrivateKeyRec dmxPictPrivateKeyRec;</span> 340<a name="l00385"></a><a class="code" href="dmx_8h.html#ae1d817ef5faef4a4328e7b6e20329eeb">00385</a> <span class="preprocessor"></span><span class="preprocessor">#define dmxPictPrivateKey (&dmxPictPrivateKeyRec) </span> 341<a name="l00387"></a>00387 <span class="preprocessor">extern DevPrivateKeyRec dmxGlyphSetPrivateKeyRec;</span> 342<a name="l00388"></a><a class="code" href="dmx_8h.html#a1ff8700f83ebcf9aab7903e6686dd140">00388</a> <span class="preprocessor"></span><span class="preprocessor">#define dmxGlyphSetPrivateKey (&dmxGlyphSetPrivateKeyRec) </span> 343<a name="l00390"></a>00390 <span class="preprocessor">#endif </span><span class="comment">/* DMX_H */</span> 344</pre></div></div> 345</div> 346 <div id="nav-path" class="navpath"> 347 <ul> 348 <li class="navelem"><a class="el" href="dmx_8h.html">dmx.h</a> </li> 349 <hr> 350 <address> 351 <small> 352 Generated June 29, 2004 for <a 353 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by 354 <a href="http://www.doxygen.org/index.html">doxygen</a> 355 1.3.4. 356 </small> 357 </addres> 358 </hr> 359 </body> 360</html> 361