1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
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">
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class=
"qindex"><a class=
"qindex" href=
"main.html">Main
Page
</a> |
<a class=
"qindex" href=
"classes.html">Alphabetical
List
</a> |
<a class=
"qindex" href=
"annotated.html">Data
Structures
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Data
Fields
</a> |
<a class=
"qindex" href=
"globals.html">Globals
</a></div>
11 <h1>dmxextension.h File Reference
</h1>
13 <a href=
"dmxextension_8h-source.html">Go to the source code of this file.
</a><table border=
0 cellpadding=
0 cellspacing=
0>
15 <tr><td colspan=
2><br><h2>Data Structures
</h2></td></tr>
16 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>struct
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"structDMXDesktopAttributesRec.html">DMXDesktopAttributesRec
</a></td></tr>
18 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>struct
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"structDMXInputAttributesRec.html">DMXInputAttributesRec
</a></td></tr>
20 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>struct
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"structDMXScreenAttributesRec.html">DMXScreenAttributesRec
</a></td></tr>
22 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>struct
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"structDMXWindowAttributesRec.html">DMXWindowAttributesRec
</a></td></tr>
24 <tr><td colspan=
2><br><h2>Functions
</h2></td></tr>
25 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>unsigned long
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a4">dmxGetNumScreens
</a> (void)
</td></tr>
27 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a5">dmxForceWindowCreation
</a> (WindowPtr pWindow)
</td></tr>
29 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a6">dmxFlushPendingSyncs
</a> (void)
</td></tr>
31 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a7">dmxGetScreenAttributes
</a> (int physical, DMXScreenAttributesPtr attr)
</td></tr>
33 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a8">dmxGetWindowAttributes
</a> (WindowPtr pWindow, DMXWindowAttributesPtr attr)
</td></tr>
35 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a10">dmxGetInputCount
</a> (void)
</td></tr>
37 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a11">dmxGetInputAttributes
</a> (int deviceId, DMXInputAttributesPtr attr)
</td></tr>
39 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a12">dmxAddInput
</a> (DMXInputAttributesPtr attr, int *deviceId)
</td></tr>
41 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a13">dmxRemoveInput
</a> (int deviceId)
</td></tr>
43 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a17">dmxAttachScreen
</a> (int idx, DMXScreenAttributesPtr attr)
</td></tr>
45 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8h.html#a18">dmxDetachScreen
</a> (int idx)
</td></tr>
48 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
49 Interface for DMX extension support. These routines are called by function in Xserver/Xext/dmx.c.
<dl compact
><dt><b>See also:
</b></dt><dd><a class=
"el" href=
"dmxextension_8c.html">dmxextension.c
</a></dd></dl>
50 <hr><h2>Function Documentation
</h2>
51 <a class=
"anchor" name=
"a12" doxytag=
"dmxextension.h::dmxAddInput" ></a><p>
52 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
55 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
57 <td class=
"md" nowrap
valign=
"top"> int dmxAddInput
</td>
58 <td class=
"md" valign=
"top">(
</td>
59 <td class=
"md" nowrap
valign=
"top">DMXInputAttributesPtr
</td>
60 <td class=
"mdname" nowrap
> <em>attr
</em>,
</td>
65 <td class=
"md" nowrap
>int *
</td>
66 <td class=
"mdname" nowrap
> <em>id
</em></td>
70 <td class=
"md">)
</td>
71 <td class=
"md" colspan=
"2"></td>
78 <table cellspacing=
5 cellpadding=
0 border=
0>
86 Add an input with the specified attributes. If the input is added, the physical id is returned in
<em>deviceId
</em>.
</td>
89 <a class=
"anchor" name=
"a17" doxytag=
"dmxextension.h::dmxAttachScreen" ></a><p>
90 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
93 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
95 <td class=
"md" nowrap
valign=
"top"> int dmxAttachScreen
</td>
96 <td class=
"md" valign=
"top">(
</td>
97 <td class=
"md" nowrap
valign=
"top">int
</td>
98 <td class=
"mdname" nowrap
> <em>idx
</em>,
</td>
103 <td class=
"md" nowrap
>DMXScreenAttributesPtr
</td>
104 <td class=
"mdname" nowrap
> <em>attr
</em></td>
108 <td class=
"md">)
</td>
109 <td class=
"md" colspan=
"2"></td>
116 <table cellspacing=
5 cellpadding=
0 border=
0>
124 Reattach previously detached back-end screen.
</td>
127 <a class=
"anchor" name=
"a18" doxytag=
"dmxextension.h::dmxDetachScreen" ></a><p>
128 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
131 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
133 <td class=
"md" nowrap
valign=
"top"> int dmxDetachScreen
</td>
134 <td class=
"md" valign=
"top">(
</td>
135 <td class=
"md" nowrap
valign=
"top">int
</td>
136 <td class=
"mdname1" valign=
"top" nowrap
> <em>idx
</em> </td>
137 <td class=
"md" valign=
"top"> )
</td>
138 <td class=
"md" nowrap
></td>
145 <table cellspacing=
5 cellpadding=
0 border=
0>
153 Detach back-end screen.
</td>
156 <a class=
"anchor" name=
"a6" doxytag=
"dmxextension.h::dmxFlushPendingSyncs" ></a><p>
157 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
160 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
162 <td class=
"md" nowrap
valign=
"top"> void dmxFlushPendingSyncs
</td>
163 <td class=
"md" valign=
"top">(
</td>
164 <td class=
"md" nowrap
valign=
"top">void
</td>
165 <td class=
"mdname1" valign=
"top" nowrap
> </td>
166 <td class=
"md" valign=
"top"> )
</td>
167 <td class=
"md" nowrap
></td>
174 <table cellspacing=
5 cellpadding=
0 border=
0>
182 Flush pending syncs for all screens.
</td>
185 <a class=
"anchor" name=
"a5" doxytag=
"dmxextension.h::dmxForceWindowCreation" ></a><p>
186 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
189 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
191 <td class=
"md" nowrap
valign=
"top"> void dmxForceWindowCreation
</td>
192 <td class=
"md" valign=
"top">(
</td>
193 <td class=
"md" nowrap
valign=
"top">WindowPtr
</td>
194 <td class=
"mdname1" valign=
"top" nowrap
> <em>pWindow
</em> </td>
195 <td class=
"md" valign=
"top"> )
</td>
196 <td class=
"md" nowrap
></td>
203 <table cellspacing=
5 cellpadding=
0 border=
0>
211 Make sure that
<a class=
"el" href=
"dmxwindow_8h.html#a14">dmxCreateAndRealizeWindow
</a> has been called for
<em>pWindow
</em>.
</td>
214 <a class=
"anchor" name=
"a11" doxytag=
"dmxextension.h::dmxGetInputAttributes" ></a><p>
215 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
218 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
220 <td class=
"md" nowrap
valign=
"top"> int dmxGetInputAttributes
</td>
221 <td class=
"md" valign=
"top">(
</td>
222 <td class=
"md" nowrap
valign=
"top">int
</td>
223 <td class=
"mdname" nowrap
> <em>deviceId
</em>,
</td>
228 <td class=
"md" nowrap
>DMXInputAttributesPtr
</td>
229 <td class=
"mdname" nowrap
> <em>attr
</em></td>
233 <td class=
"md">)
</td>
234 <td class=
"md" colspan=
"2"></td>
241 <table cellspacing=
5 cellpadding=
0 border=
0>
249 Return information about the device with id =
<em>deviceId
</em>. This information is primarily for the
<a class=
"el" href=
"programs_2Xserver_2Xext_2dmx_8c.html#a58">ProcDMXGetInputAttributes()
</a> function, which does not have access to the appropriate data structure.
</td>
252 <a class=
"anchor" name=
"a10" doxytag=
"dmxextension.h::dmxGetInputCount" ></a><p>
253 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
256 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
258 <td class=
"md" nowrap
valign=
"top"> int dmxGetInputCount
</td>
259 <td class=
"md" valign=
"top">(
</td>
260 <td class=
"md" nowrap
valign=
"top">void
</td>
261 <td class=
"mdname1" valign=
"top" nowrap
> </td>
262 <td class=
"md" valign=
"top"> )
</td>
263 <td class=
"md" nowrap
></td>
270 <table cellspacing=
5 cellpadding=
0 border=
0>
278 Return the total number of devices, not just
<a class=
"el" href=
"dmxinput_8h.html#a4">dmxNumInputs
</a>. The number returned should be the same as that returned by XListInputDevices.
</td>
281 <a class=
"anchor" name=
"a4" doxytag=
"dmxextension.h::dmxGetNumScreens" ></a><p>
282 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
285 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
287 <td class=
"md" nowrap
valign=
"top"> unsigned long dmxGetNumScreens
</td>
288 <td class=
"md" valign=
"top">(
</td>
289 <td class=
"md" nowrap
valign=
"top">void
</td>
290 <td class=
"mdname1" valign=
"top" nowrap
> </td>
291 <td class=
"md" valign=
"top"> )
</td>
292 <td class=
"md" nowrap
></td>
299 <table cellspacing=
5 cellpadding=
0 border=
0>
307 Return the value of
<a class=
"el" href=
"dmxinit_8c.html#a1">dmxNumScreens
</a> -- the total number of backend screens in use (these are logical screens and may be larger than the number of backend displays).
</td>
310 <a class=
"anchor" name=
"a7" doxytag=
"dmxextension.h::dmxGetScreenAttributes" ></a><p>
311 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
314 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
316 <td class=
"md" nowrap
valign=
"top"> Bool dmxGetScreenAttributes
</td>
317 <td class=
"md" valign=
"top">(
</td>
318 <td class=
"md" nowrap
valign=
"top">int
</td>
319 <td class=
"mdname" nowrap
> <em>physical
</em>,
</td>
324 <td class=
"md" nowrap
>DMXScreenAttributesPtr
</td>
325 <td class=
"mdname" nowrap
> <em>attr
</em></td>
329 <td class=
"md">)
</td>
330 <td class=
"md" colspan=
"2"></td>
337 <table cellspacing=
5 cellpadding=
0 border=
0>
345 This routine provides information to the DMX protocol extension about a particular screen.
</td>
348 <a class=
"anchor" name=
"a8" doxytag=
"dmxextension.h::dmxGetWindowAttributes" ></a><p>
349 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
352 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
354 <td class=
"md" nowrap
valign=
"top"> Bool dmxGetWindowAttributes
</td>
355 <td class=
"md" valign=
"top">(
</td>
356 <td class=
"md" nowrap
valign=
"top">WindowPtr
</td>
357 <td class=
"mdname" nowrap
> <em>pWindow
</em>,
</td>
362 <td class=
"md" nowrap
>DMXWindowAttributesPtr
</td>
363 <td class=
"mdname" nowrap
> <em>attr
</em></td>
367 <td class=
"md">)
</td>
368 <td class=
"md" colspan=
"2"></td>
375 <table cellspacing=
5 cellpadding=
0 border=
0>
383 This routine provides information to the DMX protocol extension about a particular window.
</td>
386 <a class=
"anchor" name=
"a13" doxytag=
"dmxextension.h::dmxRemoveInput" ></a><p>
387 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
390 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
392 <td class=
"md" nowrap
valign=
"top"> int dmxRemoveInput
</td>
393 <td class=
"md" valign=
"top">(
</td>
394 <td class=
"md" nowrap
valign=
"top">int
</td>
395 <td class=
"mdname1" valign=
"top" nowrap
> <em>id
</em> </td>
396 <td class=
"md" valign=
"top"> )
</td>
397 <td class=
"md" nowrap
></td>
404 <table cellspacing=
5 cellpadding=
0 border=
0>
412 Remove the input with physical id
<em>id
</em>.
</td>
418 Generated June
29,
2004 for
<a
419 href=
"http://dmx.sourceforge.net">Distributed Multihead X
</a> by
420 <a href=
"http://www.doxygen.org/index.html">doxygen
</a>