1var NAVTREE = 2[ 3 [ "Distributed Multihead X", "index.html", [ 4 [ "Main Page", "index.html", null ], 5 [ "Data Structures", "annotated.html", [ 6 [ "_dmxArg", "struct__dmxArg.html", null ], 7 [ "_dmxColormapPriv", "struct__dmxColormapPriv.html", null ], 8 [ "_DMXConfigComment", "struct__DMXConfigComment.html", null ], 9 [ "_DMXConfigDisplay", "struct__DMXConfigDisplay.html", null ], 10 [ "_DMXConfigEntry", "struct__DMXConfigEntry.html", null ], 11 [ "_DMXConfigFullDim", "struct__DMXConfigFullDim.html", null ], 12 [ "_DMXConfigNumber", "struct__DMXConfigNumber.html", null ], 13 [ "_DMXConfigOption", "struct__DMXConfigOption.html", null ], 14 [ "_DMXConfigPair", "struct__DMXConfigPair.html", null ], 15 [ "_DMXConfigParam", "struct__DMXConfigParam.html", null ], 16 [ "_DMXConfigPartDim", "struct__DMXConfigPartDim.html", null ], 17 [ "_DMXConfigString", "struct__DMXConfigString.html", null ], 18 [ "_DMXConfigSub", "struct__DMXConfigSub.html", null ], 19 [ "_DMXConfigToken", "struct__DMXConfigToken.html", null ], 20 [ "_DMXConfigVirtual", "struct__DMXConfigVirtual.html", null ], 21 [ "_DMXConfigWall", "struct__DMXConfigWall.html", null ], 22 [ "_dmxCursorPriv", "struct__dmxCursorPriv.html", null ], 23 [ "_DMXEventMap", "struct__DMXEventMap.html", null ], 24 [ "_dmxFontPriv", "struct__dmxFontPriv.html", null ], 25 [ "_dmxGCPriv", "struct__dmxGCPriv.html", null ], 26 [ "_dmxGlyphPriv", "struct__dmxGlyphPriv.html", null ], 27 [ "_DMXInputInfo", "struct__DMXInputInfo.html", null ], 28 [ "_DMXLocalInitInfo", "struct__DMXLocalInitInfo.html", null ], 29 [ "_DMXLocalInputInfo", "struct__DMXLocalInputInfo.html", null ], 30 [ "_dmxPictPriv", "struct__dmxPictPriv.html", null ], 31 [ "_dmxPixPriv", "struct__dmxPixPriv.html", null ], 32 [ "_DMXScreenInfo", "struct__DMXScreenInfo.html", null ], 33 [ "_DMXStatAvg", "struct__DMXStatAvg.html", null ], 34 [ "_DMXStatInfo", "struct__DMXStatInfo.html", null ], 35 [ "_dmxWinPriv", "struct__dmxWinPriv.html", null ], 36 [ "_myPrivate", "struct__myPrivate.html", null ], 37 [ "DMXConfigCmdStruct", "structDMXConfigCmdStruct.html", null ], 38 [ "DMXConfigListStruct", "structDMXConfigListStruct.html", null ], 39 [ "DMXDesktopAttributesRec", "structDMXDesktopAttributesRec.html", null ], 40 [ "dmxGlxVisualPrivate", "structdmxGlxVisualPrivate.html", null ], 41 [ "DMXInputAttributesRec", "structDMXInputAttributesRec.html", null ], 42 [ "DMXScreenAttributesRec", "structDMXScreenAttributesRec.html", null ], 43 [ "DMXWindowAttributesRec", "structDMXWindowAttributesRec.html", null ], 44 [ "stack", "structstack.html", null ] 45 ] ], 46 [ "Data Structure Index", "classes.html", null ], 47 [ "Data Fields", "functions.html", null ], 48 [ "File List", "files.html", [ 49 [ "ChkNotMaskEv.c", "ChkNotMaskEv_8c.html", null ], 50 [ "ChkNotMaskEv.h", "ChkNotMaskEv_8h.html", null ], 51 [ "dmx-config.h", "dmx-config_8h.html", null ], 52 [ "dmx.c", "dmx_8c.html", null ], 53 [ "dmx.h", "dmx_8h.html", null ], 54 [ "dmx_glxvisuals.c", "dmx__glxvisuals_8c.html", null ], 55 [ "dmx_glxvisuals.h", "dmx__glxvisuals_8h.html", null ], 56 [ "dmxarg.c", "dmxarg_8c.html", null ], 57 [ "dmxarg.h", "dmxarg_8h.html", null ], 58 [ "dmxbackend.c", "dmxbackend_8c.html", null ], 59 [ "dmxbackend.h", "dmxbackend_8h.html", null ], 60 [ "dmxcb.c", "dmxcb_8c.html", null ], 61 [ "dmxcb.h", "dmxcb_8h.html", null ], 62 [ "dmxclient.h", "dmxclient_8h.html", null ], 63 [ "dmxcmap.c", "dmxcmap_8c.html", null ], 64 [ "dmxcmap.h", "dmxcmap_8h.html", null ], 65 [ "dmxcommon.c", "dmxcommon_8c.html", null ], 66 [ "dmxcommon.h", "dmxcommon_8h.html", null ], 67 [ "dmxcompat.c", "dmxcompat_8c.html", null ], 68 [ "dmxcompat.h", "dmxcompat_8h.html", null ], 69 [ "dmxconfig.c", "dmxconfig_8c.html", null ], 70 [ "dmxconfig.h", "dmxconfig_8h.html", null ], 71 [ "dmxconsole.c", "dmxconsole_8c.html", null ], 72 [ "dmxconsole.h", "dmxconsole_8h.html", null ], 73 [ "dmxcursor.c", "dmxcursor_8c.html", null ], 74 [ "dmxcursor.h", "dmxcursor_8h.html", null ], 75 [ "dmxdetach.c", "dmxdetach_8c.html", null ], 76 [ "dmxdpms.c", "dmxdpms_8c.html", null ], 77 [ "dmxdpms.h", "dmxdpms_8h.html", null ], 78 [ "dmxdummy.c", "dmxdummy_8c.html", null ], 79 [ "dmxdummy.h", "dmxdummy_8h.html", null ], 80 [ "dmxevents.c", "dmxevents_8c.html", null ], 81 [ "dmxevents.h", "dmxevents_8h.html", null ], 82 [ "dmxextension.c", "dmxextension_8c.html", null ], 83 [ "dmxextension.h", "dmxextension_8h.html", null ], 84 [ "dmxfont.c", "dmxfont_8c.html", null ], 85 [ "dmxfont.h", "dmxfont_8h.html", null ], 86 [ "dmxgc.c", "dmxgc_8c.html", null ], 87 [ "dmxgc.h", "dmxgc_8h.html", null ], 88 [ "dmxgcops.c", "dmxgcops_8c.html", null ], 89 [ "dmxgcops.h", "dmxgcops_8h.html", null ], 90 [ "dmxinit.c", "dmxinit_8c.html", null ], 91 [ "dmxinit.h", "dmxinit_8h.html", null ], 92 [ "dmxinput.c", "dmxinput_8c.html", null ], 93 [ "dmxinput.h", "dmxinput_8h.html", null ], 94 [ "dmxinputinit.c", "dmxinputinit_8c.html", null ], 95 [ "dmxinputinit.h", "dmxinputinit_8h.html", null ], 96 [ "dmxlog.c", "dmxlog_8c.html", null ], 97 [ "dmxlog.h", "dmxlog_8h.html", null ], 98 [ "dmxmap.c", "dmxmap_8c.html", null ], 99 [ "dmxmap.h", "dmxmap_8h.html", null ], 100 [ "dmxmotion.c", "dmxmotion_8c.html", null ], 101 [ "dmxmotion.h", "dmxmotion_8h.html", null ], 102 [ "dmxparse.c", "dmxparse_8c.html", null ], 103 [ "dmxparse.h", "dmxparse_8h.html", null ], 104 [ "dmxpict.c", "dmxpict_8c.html", null ], 105 [ "dmxpict.h", "dmxpict_8h.html", null ], 106 [ "dmxpixmap.c", "dmxpixmap_8c.html", null ], 107 [ "dmxpixmap.h", "dmxpixmap_8h.html", null ], 108 [ "dmxprint.c", "dmxprint_8c.html", null ], 109 [ "dmxprint.h", "dmxprint_8h.html", null ], 110 [ "dmxprop.c", "dmxprop_8c.html", null ], 111 [ "dmxprop.h", "dmxprop_8h.html", null ], 112 [ "dmxscrinit.c", "dmxscrinit_8c.html", null ], 113 [ "dmxscrinit.h", "dmxscrinit_8h.html", null ], 114 [ "dmxshadow.c", "dmxshadow_8c.html", null ], 115 [ "dmxshadow.h", "dmxshadow_8h.html", null ], 116 [ "dmxsigio.c", "dmxsigio_8c.html", null ], 117 [ "dmxsigio.h", "dmxsigio_8h.html", null ], 118 [ "dmxstat.c", "dmxstat_8c.html", null ], 119 [ "dmxstat.h", "dmxstat_8h.html", null ], 120 [ "dmxsync.c", "dmxsync_8c.html", null ], 121 [ "dmxsync.h", "dmxsync_8h.html", null ], 122 [ "dmxtodmx.c", "dmxtodmx_8c.html", null ], 123 [ "dmxvisual.c", "dmxvisual_8c.html", null ], 124 [ "dmxvisual.h", "dmxvisual_8h.html", null ], 125 [ "dmxwindow.c", "dmxwindow_8c.html", null ], 126 [ "dmxwindow.h", "dmxwindow_8h.html", null ], 127 [ "dmxxinput.c", "dmxxinput_8c.html", null ], 128 [ "lnx-keyboard.c", "lnx-keyboard_8c.html", null ], 129 [ "lnx-keyboard.h", "lnx-keyboard_8h.html", null ], 130 [ "lnx-ms.c", "lnx-ms_8c.html", null ], 131 [ "lnx-ms.h", "lnx-ms_8h.html", null ], 132 [ "lnx-ps2.c", "lnx-ps2_8c.html", null ], 133 [ "lnx-ps2.h", "lnx-ps2_8h.html", null ], 134 [ "usb-common.c", "usb-common_8c.html", null ], 135 [ "usb-common.h", "usb-common_8h.html", null ], 136 [ "usb-keyboard.c", "usb-keyboard_8c.html", null ], 137 [ "usb-keyboard.h", "usb-keyboard_8h.html", null ], 138 [ "usb-mouse.c", "usb-mouse_8c.html", null ], 139 [ "usb-mouse.h", "usb-mouse_8h.html", null ], 140 [ "usb-other.c", "usb-other_8c.html", null ], 141 [ "usb-other.h", "usb-other_8h.html", null ], 142 [ "usb-private.h", "usb-private_8h.html", null ], 143 [ "vdltodmx.c", "vdltodmx_8c.html", null ], 144 [ "xdmxconfig.c", "xdmxconfig_8c.html", null ] 145 ] ], 146 [ "Globals", "globals.html", null ] 147 ] ] 148]; 149 150function createIndent(o,domNode,node,level) 151{ 152 if (node.parentNode && node.parentNode.parentNode) 153 { 154 createIndent(o,domNode,node.parentNode,level+1); 155 } 156 var imgNode = document.createElement("img"); 157 if (level==0 && node.childrenData) 158 { 159 node.plus_img = imgNode; 160 node.expandToggle = document.createElement("a"); 161 node.expandToggle.href = "javascript:void(0)"; 162 node.expandToggle.onclick = function() 163 { 164 if (node.expanded) 165 { 166 $(node.getChildrenUL()).slideUp("fast"); 167 if (node.isLast) 168 { 169 node.plus_img.src = node.relpath+"ftv2plastnode.png"; 170 } 171 else 172 { 173 node.plus_img.src = node.relpath+"ftv2pnode.png"; 174 } 175 node.expanded = false; 176 } 177 else 178 { 179 expandNode(o, node, false); 180 } 181 } 182 node.expandToggle.appendChild(imgNode); 183 domNode.appendChild(node.expandToggle); 184 } 185 else 186 { 187 domNode.appendChild(imgNode); 188 } 189 if (level==0) 190 { 191 if (node.isLast) 192 { 193 if (node.childrenData) 194 { 195 imgNode.src = node.relpath+"ftv2plastnode.png"; 196 } 197 else 198 { 199 imgNode.src = node.relpath+"ftv2lastnode.png"; 200 domNode.appendChild(imgNode); 201 } 202 } 203 else 204 { 205 if (node.childrenData) 206 { 207 imgNode.src = node.relpath+"ftv2pnode.png"; 208 } 209 else 210 { 211 imgNode.src = node.relpath+"ftv2node.png"; 212 domNode.appendChild(imgNode); 213 } 214 } 215 } 216 else 217 { 218 if (node.isLast) 219 { 220 imgNode.src = node.relpath+"ftv2blank.png"; 221 } 222 else 223 { 224 imgNode.src = node.relpath+"ftv2vertline.png"; 225 } 226 } 227 imgNode.border = "0"; 228} 229 230function newNode(o, po, text, link, childrenData, lastNode) 231{ 232 var node = new Object(); 233 node.children = Array(); 234 node.childrenData = childrenData; 235 node.depth = po.depth + 1; 236 node.relpath = po.relpath; 237 node.isLast = lastNode; 238 239 node.li = document.createElement("li"); 240 po.getChildrenUL().appendChild(node.li); 241 node.parentNode = po; 242 243 node.itemDiv = document.createElement("div"); 244 node.itemDiv.className = "item"; 245 246 node.labelSpan = document.createElement("span"); 247 node.labelSpan.className = "label"; 248 249 createIndent(o,node.itemDiv,node,0); 250 node.itemDiv.appendChild(node.labelSpan); 251 node.li.appendChild(node.itemDiv); 252 253 var a = document.createElement("a"); 254 node.labelSpan.appendChild(a); 255 node.label = document.createTextNode(text); 256 a.appendChild(node.label); 257 if (link) 258 { 259 a.href = node.relpath+link; 260 } 261 else 262 { 263 if (childrenData != null) 264 { 265 a.className = "nolink"; 266 a.href = "javascript:void(0)"; 267 a.onclick = node.expandToggle.onclick; 268 node.expanded = false; 269 } 270 } 271 272 node.childrenUL = null; 273 node.getChildrenUL = function() 274 { 275 if (!node.childrenUL) 276 { 277 node.childrenUL = document.createElement("ul"); 278 node.childrenUL.className = "children_ul"; 279 node.childrenUL.style.display = "none"; 280 node.li.appendChild(node.childrenUL); 281 } 282 return node.childrenUL; 283 }; 284 285 return node; 286} 287 288function showRoot() 289{ 290 var headerHeight = $("#top").height(); 291 var footerHeight = $("#nav-path").height(); 292 var windowHeight = $(window).height() - headerHeight - footerHeight; 293 navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); 294} 295 296function expandNode(o, node, imm) 297{ 298 if (node.childrenData && !node.expanded) 299 { 300 if (!node.childrenVisited) 301 { 302 getNode(o, node); 303 } 304 if (imm) 305 { 306 $(node.getChildrenUL()).show(); 307 } 308 else 309 { 310 $(node.getChildrenUL()).slideDown("fast",showRoot); 311 } 312 if (node.isLast) 313 { 314 node.plus_img.src = node.relpath+"ftv2mlastnode.png"; 315 } 316 else 317 { 318 node.plus_img.src = node.relpath+"ftv2mnode.png"; 319 } 320 node.expanded = true; 321 } 322} 323 324function getNode(o, po) 325{ 326 po.childrenVisited = true; 327 var l = po.childrenData.length-1; 328 for (var i in po.childrenData) 329 { 330 var nodeData = po.childrenData[i]; 331 po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2], 332 i==l); 333 } 334} 335 336function findNavTreePage(url, data) 337{ 338 var nodes = data; 339 var result = null; 340 for (var i in nodes) 341 { 342 var d = nodes[i]; 343 if (d[1] == url) 344 { 345 return new Array(i); 346 } 347 else if (d[2] != null) // array of children 348 { 349 result = findNavTreePage(url, d[2]); 350 if (result != null) 351 { 352 return (new Array(i).concat(result)); 353 } 354 } 355 } 356 return null; 357} 358 359function initNavTree(toroot,relpath) 360{ 361 var o = new Object(); 362 o.toroot = toroot; 363 o.node = new Object(); 364 o.node.li = document.getElementById("nav-tree-contents"); 365 o.node.childrenData = NAVTREE; 366 o.node.children = new Array(); 367 o.node.childrenUL = document.createElement("ul"); 368 o.node.getChildrenUL = function() { return o.node.childrenUL; }; 369 o.node.li.appendChild(o.node.childrenUL); 370 o.node.depth = 0; 371 o.node.relpath = relpath; 372 373 getNode(o, o.node); 374 375 o.breadcrumbs = findNavTreePage(toroot, NAVTREE); 376 if (o.breadcrumbs == null) 377 { 378 o.breadcrumbs = findNavTreePage("index.html",NAVTREE); 379 } 380 if (o.breadcrumbs != null && o.breadcrumbs.length>0) 381 { 382 var p = o.node; 383 for (var i in o.breadcrumbs) 384 { 385 var j = o.breadcrumbs[i]; 386 p = p.children[j]; 387 expandNode(o,p,true); 388 } 389 p.itemDiv.className = p.itemDiv.className + " selected"; 390 p.itemDiv.id = "selected"; 391 $(window).load(showRoot); 392 } 393} 394 395