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.c File Reference
</h1><code>#include
"<a class="el
" href="dmx_8h-source.html
">dmx.h</a>"</code><br>
12 <code>#include
"<a class="el
" href="dmxinit_8h-source.html
">dmxinit.h</a>"</code><br>
13 <code>#include
"<a class="el
" href="dmxextension_8h-source.html
">dmxextension.h</a>"</code><br>
14 <code>#include
"<a class="el
" href="dmxwindow_8h-source.html
">dmxwindow.h</a>"</code><br>
15 <code>#include
"<a class="el
" href="dmxcb_8h-source.html
">dmxcb.h</a>"</code><br>
16 <code>#include
"<a class="el
" href="dmxcursor_8h-source.html
">dmxcursor.h</a>"</code><br>
17 <code>#include
"<a class="el
" href="dmxpixmap_8h-source.html
">dmxpixmap.h</a>"</code><br>
18 <code>#include
"<a class="el
" href="dmxgc_8h-source.html
">dmxgc.h</a>"</code><br>
19 <code>#include
"<a class="el
" href="dmxfont_8h-source.html
">dmxfont.h</a>"</code><br>
20 <code>#include
"<a class="el
" href="dmxcmap_8h-source.html
">dmxcmap.h</a>"</code><br>
21 <code>#include
"<a class="el
" href="dmxpict_8h-source.html
">dmxpict.h</a>"</code><br>
22 <code>#include
"<a class="el
" href="dmxinput_8h-source.html
">dmxinput.h</a>"</code><br>
23 <code>#include
"<a class="el
" href="dmxsync_8h-source.html
">dmxsync.h</a>"</code><br>
24 <code>#include
"<a class="el
" href="dmxscrinit_8h-source.html
">dmxscrinit.h</a>"</code><br>
25 <code>#include
"<a class="el
" href="dmxinputinit_8h-source.html
">input/dmxinputinit.h</a>"</code><br>
26 <code>#include
"windowstr.h"</code><br>
27 <code>#include
"inputstr.h"</code><br>
28 <code>#include
"<a class="el
" href="dmxproto_8h-source.html
">dmxproto.h</a>"</code><br>
29 <code>#include
"cursorstr.h"</code><br>
30 <table border=
0 cellpadding=
0 cellspacing=
0>
32 <tr><td colspan=
2><br><h2>Functions
</h2></td></tr>
33 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a1">dmxGetScreenAttributes
</a> (int physical, DMXScreenAttributesPtr attr)
</td></tr>
35 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a2">dmxGetWindowAttributes
</a> (WindowPtr pWindow, DMXWindowAttributesPtr attr)
</td></tr>
37 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a4">dmxGetInputCount
</a> (void)
</td></tr>
39 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a5">dmxGetInputAttributes
</a> (int deviceId, DMXInputAttributesPtr attr)
</td></tr>
41 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a7">dmxAddInput
</a> (DMXInputAttributesPtr attr, int *id)
</td></tr>
43 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a8">dmxRemoveInput
</a> (int id)
</td></tr>
45 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>unsigned long
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a9">dmxGetNumScreens
</a> (void)
</td></tr>
47 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a10">dmxForceWindowCreation
</a> (WindowPtr pWindow)
</td></tr>
49 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a11">dmxFlushPendingSyncs
</a> (void)
</td></tr>
51 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a18">dmxAttachScreen
</a> (int idx, DMXScreenAttributesPtr attr)
</td></tr>
53 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxextension_8c.html#a23">dmxDetachScreen
</a> (int idx)
</td></tr>
56 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
57 This file provides the only interface to the X server extension support in programs/Xserver/Xext. Those programs should only include
<a class=
"el" href=
"dmxext_8h.html">dmxext.h
</a><hr><h2>Function Documentation
</h2>
58 <a class=
"anchor" name=
"a7" doxytag=
"dmxextension.c::dmxAddInput" ></a><p>
59 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
62 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
64 <td class=
"md" nowrap
valign=
"top"> int dmxAddInput
</td>
65 <td class=
"md" valign=
"top">(
</td>
66 <td class=
"md" nowrap
valign=
"top">DMXInputAttributesPtr
</td>
67 <td class=
"mdname" nowrap
> <em>attr
</em>,
</td>
72 <td class=
"md" nowrap
>int *
</td>
73 <td class=
"mdname" nowrap
> <em>id
</em></td>
77 <td class=
"md">)
</td>
78 <td class=
"md" colspan=
"2"></td>
85 <table cellspacing=
5 cellpadding=
0 border=
0>
93 Add an input with the specified attributes. If the input is added, the physical id is returned in
<em>deviceId
</em>.
</td>
96 <a class=
"anchor" name=
"a18" doxytag=
"dmxextension.c::dmxAttachScreen" ></a><p>
97 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
100 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
102 <td class=
"md" nowrap
valign=
"top"> int dmxAttachScreen
</td>
103 <td class=
"md" valign=
"top">(
</td>
104 <td class=
"md" nowrap
valign=
"top">int
</td>
105 <td class=
"mdname" nowrap
> <em>idx
</em>,
</td>
110 <td class=
"md" nowrap
>DMXScreenAttributesPtr
</td>
111 <td class=
"mdname" nowrap
> <em>attr
</em></td>
115 <td class=
"md">)
</td>
116 <td class=
"md" colspan=
"2"></td>
123 <table cellspacing=
5 cellpadding=
0 border=
0>
131 Reattach previously detached back-end screen.
</td>
134 <a class=
"anchor" name=
"a23" doxytag=
"dmxextension.c::dmxDetachScreen" ></a><p>
135 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
138 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
140 <td class=
"md" nowrap
valign=
"top"> int dmxDetachScreen
</td>
141 <td class=
"md" valign=
"top">(
</td>
142 <td class=
"md" nowrap
valign=
"top">int
</td>
143 <td class=
"mdname1" valign=
"top" nowrap
> <em>idx
</em> </td>
144 <td class=
"md" valign=
"top"> )
</td>
145 <td class=
"md" nowrap
></td>
152 <table cellspacing=
5 cellpadding=
0 border=
0>
160 Detach back-end screen.
</td>
163 <a class=
"anchor" name=
"a11" doxytag=
"dmxextension.c::dmxFlushPendingSyncs" ></a><p>
164 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
167 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
169 <td class=
"md" nowrap
valign=
"top"> void dmxFlushPendingSyncs
</td>
170 <td class=
"md" valign=
"top">(
</td>
171 <td class=
"md" nowrap
valign=
"top">void
</td>
172 <td class=
"mdname1" valign=
"top" nowrap
> </td>
173 <td class=
"md" valign=
"top"> )
</td>
174 <td class=
"md" nowrap
></td>
181 <table cellspacing=
5 cellpadding=
0 border=
0>
189 Flush pending syncs for all screens.
</td>
192 <a class=
"anchor" name=
"a10" doxytag=
"dmxextension.c::dmxForceWindowCreation" ></a><p>
193 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
196 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
198 <td class=
"md" nowrap
valign=
"top"> void dmxForceWindowCreation
</td>
199 <td class=
"md" valign=
"top">(
</td>
200 <td class=
"md" nowrap
valign=
"top">WindowPtr
</td>
201 <td class=
"mdname1" valign=
"top" nowrap
> <em>pWindow
</em> </td>
202 <td class=
"md" valign=
"top"> )
</td>
203 <td class=
"md" nowrap
></td>
210 <table cellspacing=
5 cellpadding=
0 border=
0>
218 Make sure that
<a class=
"el" href=
"dmxwindow_8h.html#a14">dmxCreateAndRealizeWindow
</a> has been called for
<em>pWindow
</em>.
</td>
221 <a class=
"anchor" name=
"a5" doxytag=
"dmxextension.c::dmxGetInputAttributes" ></a><p>
222 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
225 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
227 <td class=
"md" nowrap
valign=
"top"> int dmxGetInputAttributes
</td>
228 <td class=
"md" valign=
"top">(
</td>
229 <td class=
"md" nowrap
valign=
"top">int
</td>
230 <td class=
"mdname" nowrap
> <em>deviceId
</em>,
</td>
235 <td class=
"md" nowrap
>DMXInputAttributesPtr
</td>
236 <td class=
"mdname" nowrap
> <em>attr
</em></td>
240 <td class=
"md">)
</td>
241 <td class=
"md" colspan=
"2"></td>
248 <table cellspacing=
5 cellpadding=
0 border=
0>
256 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>
259 <a class=
"anchor" name=
"a4" doxytag=
"dmxextension.c::dmxGetInputCount" ></a><p>
260 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
263 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
265 <td class=
"md" nowrap
valign=
"top"> int dmxGetInputCount
</td>
266 <td class=
"md" valign=
"top">(
</td>
267 <td class=
"md" nowrap
valign=
"top">void
</td>
268 <td class=
"mdname1" valign=
"top" nowrap
> </td>
269 <td class=
"md" valign=
"top"> )
</td>
270 <td class=
"md" nowrap
></td>
277 <table cellspacing=
5 cellpadding=
0 border=
0>
285 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>
288 <a class=
"anchor" name=
"a9" doxytag=
"dmxextension.c::dmxGetNumScreens" ></a><p>
289 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
292 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
294 <td class=
"md" nowrap
valign=
"top"> unsigned long dmxGetNumScreens
</td>
295 <td class=
"md" valign=
"top">(
</td>
296 <td class=
"md" nowrap
valign=
"top">void
</td>
297 <td class=
"mdname1" valign=
"top" nowrap
> </td>
298 <td class=
"md" valign=
"top"> )
</td>
299 <td class=
"md" nowrap
></td>
306 <table cellspacing=
5 cellpadding=
0 border=
0>
314 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>
317 <a class=
"anchor" name=
"a1" doxytag=
"dmxextension.c::dmxGetScreenAttributes" ></a><p>
318 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
321 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
323 <td class=
"md" nowrap
valign=
"top"> Bool dmxGetScreenAttributes
</td>
324 <td class=
"md" valign=
"top">(
</td>
325 <td class=
"md" nowrap
valign=
"top">int
</td>
326 <td class=
"mdname" nowrap
> <em>physical
</em>,
</td>
331 <td class=
"md" nowrap
>DMXScreenAttributesPtr
</td>
332 <td class=
"mdname" nowrap
> <em>attr
</em></td>
336 <td class=
"md">)
</td>
337 <td class=
"md" colspan=
"2"></td>
344 <table cellspacing=
5 cellpadding=
0 border=
0>
352 This routine provides information to the DMX protocol extension about a particular screen.
</td>
355 <a class=
"anchor" name=
"a2" doxytag=
"dmxextension.c::dmxGetWindowAttributes" ></a><p>
356 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
359 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
361 <td class=
"md" nowrap
valign=
"top"> Bool dmxGetWindowAttributes
</td>
362 <td class=
"md" valign=
"top">(
</td>
363 <td class=
"md" nowrap
valign=
"top">WindowPtr
</td>
364 <td class=
"mdname" nowrap
> <em>pWindow
</em>,
</td>
369 <td class=
"md" nowrap
>DMXWindowAttributesPtr
</td>
370 <td class=
"mdname" nowrap
> <em>attr
</em></td>
374 <td class=
"md">)
</td>
375 <td class=
"md" colspan=
"2"></td>
382 <table cellspacing=
5 cellpadding=
0 border=
0>
390 This routine provides information to the DMX protocol extension about a particular window.
</td>
393 <a class=
"anchor" name=
"a8" doxytag=
"dmxextension.c::dmxRemoveInput" ></a><p>
394 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
397 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
399 <td class=
"md" nowrap
valign=
"top"> int dmxRemoveInput
</td>
400 <td class=
"md" valign=
"top">(
</td>
401 <td class=
"md" nowrap
valign=
"top">int
</td>
402 <td class=
"mdname1" valign=
"top" nowrap
> <em>id
</em> </td>
403 <td class=
"md" valign=
"top"> )
</td>
404 <td class=
"md" nowrap
></td>
411 <table cellspacing=
5 cellpadding=
0 border=
0>
419 Remove the input with physical id
<em>id
</em>.
</td>
425 Generated June
29,
2004 for
<a
426 href=
"http://dmx.sourceforge.net">Distributed Multihead X
</a> by
427 <a href=
"http://www.doxygen.org/index.html">doxygen
</a>