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>dmxconsole.h File Reference
</h1>
13 <a href=
"dmxconsole_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>Functions
</h2></td></tr>
16 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>pointer
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a0">dmxConsoleCreatePrivate
</a> (DeviceIntPtr pDevice)
</td></tr>
18 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a1">dmxConsoleDestroyPrivate
</a> (pointer private)
</td></tr>
20 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a2">dmxConsoleInit
</a> (DevicePtr pDev)
</td></tr>
22 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a3">dmxConsoleReInit
</a> (DevicePtr pDev)
</td></tr>
24 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a4">dmxConsoleMouGetInfo
</a> (DevicePtr pDev,
<a class=
"el" href=
"struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr
</a> info)
</td></tr>
26 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a5">dmxConsoleKbdGetInfo
</a> (DevicePtr pDev,
<a class=
"el" href=
"struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr
</a> info)
</td></tr>
28 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a6">dmxConsoleCollectEvents
</a> (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
</td></tr>
30 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a7">dmxConsoleFunctions
</a> (pointer private, DMXFunctionType function)
</td></tr>
32 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a8">dmxConsoleUpdatePosition
</a> (pointer private, int x, int y)
</td></tr>
34 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a10">dmxConsoleCapture
</a> (
<a class=
"el" href=
"struct__DMXInputInfo.html">DMXInputInfo
</a> *dmxInput)
</td></tr>
36 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a11">dmxConsoleUncapture
</a> (
<a class=
"el" href=
"struct__DMXInputInfo.html">DMXInputInfo
</a> *dmxInput)
</td></tr>
38 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxconsole_8h.html#a12">dmxConsoleUpdateInfo
</a> (pointer private,
<a class=
"el" href=
"dmxinput_8h.html#a30">DMXUpdateType
</a>, WindowPtr pWindow)
</td></tr>
41 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
42 Interface for console device support.
<dl compact
><dt><b>See also:
</b></dt><dd><a class=
"el" href=
"dmxconsole_8c.html">dmxconsole.c
</a> <p>
43 <a class=
"el" href=
"dmxcommon_8c.html">dmxcommon.c
</a></dd></dl>
44 <hr><h2>Function Documentation
</h2>
45 <a class=
"anchor" name=
"a10" doxytag=
"dmxconsole.h::dmxConsoleCapture" ></a><p>
46 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
49 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
51 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleCapture
</td>
52 <td class=
"md" valign=
"top">(
</td>
53 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"struct__DMXInputInfo.html">DMXInputInfo
</a> *
</td>
54 <td class=
"mdname1" valign=
"top" nowrap
> <em>dmxInput
</em> </td>
55 <td class=
"md" valign=
"top"> )
</td>
56 <td class=
"md" nowrap
></td>
63 <table cellspacing=
5 cellpadding=
0 border=
0>
71 This routine is used to warp the pointer into the console window from anywhere on the screen. It is used when backend and console input are both being taken from the same X display.
</td>
74 <a class=
"anchor" name=
"a6" doxytag=
"dmxconsole.h::dmxConsoleCollectEvents" ></a><p>
75 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
78 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
80 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleCollectEvents
</td>
81 <td class=
"md" valign=
"top">(
</td>
82 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
83 <td class=
"mdname" nowrap
> <em>pDev
</em>,
</td>
88 <td class=
"md" nowrap
>dmxMotionProcPtr
</td>
89 <td class=
"mdname" nowrap
> <em>motion
</em>,
</td>
94 <td class=
"md" nowrap
>dmxEnqueueProcPtr
</td>
95 <td class=
"mdname" nowrap
> <em>enqueue
</em>,
</td>
100 <td class=
"md" nowrap
>dmxCheckSpecialProcPtr
</td>
101 <td class=
"mdname" nowrap
> <em>checkspecial
</em>,
</td>
106 <td class=
"md" nowrap
>DMXBlockType
</td>
107 <td class=
"mdname" nowrap
> <em>block
</em></td>
111 <td class=
"md">)
</td>
112 <td class=
"md" colspan=
"2"></td>
119 <table cellspacing=
5 cellpadding=
0 border=
0>
127 Collect all pending events from the console's display. Plase these events on the server event queue using the
<em>motion
</em> and
<em>enqueue
</em> routines. The
<em>checkspecial
</em> routine is used to check for special keys that need handling.
<em>block
</em> tells if signals should be blocked when updating the event queue.
</td>
130 <a class=
"anchor" name=
"a0" doxytag=
"dmxconsole.h::dmxConsoleCreatePrivate" ></a><p>
131 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
134 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
136 <td class=
"md" nowrap
valign=
"top"> pointer dmxConsoleCreatePrivate
</td>
137 <td class=
"md" valign=
"top">(
</td>
138 <td class=
"md" nowrap
valign=
"top">DeviceIntPtr
</td>
139 <td class=
"mdname1" valign=
"top" nowrap
> <em>pDevice
</em> </td>
140 <td class=
"md" valign=
"top"> )
</td>
141 <td class=
"md" nowrap
></td>
148 <table cellspacing=
5 cellpadding=
0 border=
0>
156 Create the private area for
<em>pDevice
</em>.
</td>
159 <a class=
"anchor" name=
"a1" doxytag=
"dmxconsole.h::dmxConsoleDestroyPrivate" ></a><p>
160 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
163 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
165 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleDestroyPrivate
</td>
166 <td class=
"md" valign=
"top">(
</td>
167 <td class=
"md" nowrap
valign=
"top">pointer
</td>
168 <td class=
"mdname1" valign=
"top" nowrap
> <em>private
</em> </td>
169 <td class=
"md" valign=
"top"> )
</td>
170 <td class=
"md" nowrap
></td>
177 <table cellspacing=
5 cellpadding=
0 border=
0>
185 If
<em>private
</em> is non-NULL, free its associated memory.
</td>
188 <a class=
"anchor" name=
"a7" doxytag=
"dmxconsole.h::dmxConsoleFunctions" ></a><p>
189 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
192 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
194 <td class=
"md" nowrap
valign=
"top"> int dmxConsoleFunctions
</td>
195 <td class=
"md" valign=
"top">(
</td>
196 <td class=
"md" nowrap
valign=
"top">pointer
</td>
197 <td class=
"mdname" nowrap
> <em>private
</em>,
</td>
202 <td class=
"md" nowrap
>DMXFunctionType
</td>
203 <td class=
"mdname" nowrap
> <em>function
</em></td>
207 <td class=
"md">)
</td>
208 <td class=
"md" colspan=
"2"></td>
215 <table cellspacing=
5 cellpadding=
0 border=
0>
223 Handle special console-only keys.
</td>
226 <a class=
"anchor" name=
"a2" doxytag=
"dmxconsole.h::dmxConsoleInit" ></a><p>
227 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
230 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
232 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleInit
</td>
233 <td class=
"md" valign=
"top">(
</td>
234 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
235 <td class=
"mdname1" valign=
"top" nowrap
> <em>pDev
</em> </td>
236 <td class=
"md" valign=
"top"> )
</td>
237 <td class=
"md" nowrap
></td>
244 <table cellspacing=
5 cellpadding=
0 border=
0>
252 Initialized the console device described by
<em>pDev
</em>.
</td>
255 <a class=
"anchor" name=
"a5" doxytag=
"dmxconsole.h::dmxConsoleKbdGetInfo" ></a><p>
256 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
259 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
261 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleKbdGetInfo
</td>
262 <td class=
"md" valign=
"top">(
</td>
263 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
264 <td class=
"mdname" nowrap
> <em>pDev
</em>,
</td>
269 <td class=
"md" nowrap
><a class=
"el" href=
"struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr
</a> </td>
270 <td class=
"mdname" nowrap
> <em>info
</em></td>
274 <td class=
"md">)
</td>
275 <td class=
"md" colspan=
"2"></td>
282 <table cellspacing=
5 cellpadding=
0 border=
0>
290 Fill in the
<em>info
</em> structure for the specified
<em>pDev
</em>. Only used for keyboard.
</td>
293 <a class=
"anchor" name=
"a4" doxytag=
"dmxconsole.h::dmxConsoleMouGetInfo" ></a><p>
294 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
297 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
299 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleMouGetInfo
</td>
300 <td class=
"md" valign=
"top">(
</td>
301 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
302 <td class=
"mdname" nowrap
> <em>pDev
</em>,
</td>
307 <td class=
"md" nowrap
><a class=
"el" href=
"struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr
</a> </td>
308 <td class=
"mdname" nowrap
> <em>info
</em></td>
312 <td class=
"md">)
</td>
313 <td class=
"md" colspan=
"2"></td>
320 <table cellspacing=
5 cellpadding=
0 border=
0>
328 Fill in the
<em>info
</em> structure for the specified
<em>pDev
</em>. Only used for pointers.
</td>
331 <a class=
"anchor" name=
"a3" doxytag=
"dmxconsole.h::dmxConsoleReInit" ></a><p>
332 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
335 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
337 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleReInit
</td>
338 <td class=
"md" valign=
"top">(
</td>
339 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
340 <td class=
"mdname1" valign=
"top" nowrap
> <em>pDev
</em> </td>
341 <td class=
"md" valign=
"top"> )
</td>
342 <td class=
"md" nowrap
></td>
349 <table cellspacing=
5 cellpadding=
0 border=
0>
357 Re-initialized the console device described by
<em>pDev
</em> (after a reconfig).
</td>
360 <a class=
"anchor" name=
"a11" doxytag=
"dmxconsole.h::dmxConsoleUncapture" ></a><p>
361 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
364 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
366 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleUncapture
</td>
367 <td class=
"md" valign=
"top">(
</td>
368 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"struct__DMXInputInfo.html">DMXInputInfo
</a> *
</td>
369 <td class=
"mdname1" valign=
"top" nowrap
> <em>dmxInput
</em> </td>
370 <td class=
"md" valign=
"top"> )
</td>
371 <td class=
"md" nowrap
></td>
378 <table cellspacing=
5 cellpadding=
0 border=
0>
386 Undo the capture that was done by
<a class=
"el" href=
"dmxconsole_8h.html#a10">dmxConsoleCapture
</a>.
</td>
389 <a class=
"anchor" name=
"a12" doxytag=
"dmxconsole.h::dmxConsoleUpdateInfo" ></a><p>
390 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
393 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
395 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleUpdateInfo
</td>
396 <td class=
"md" valign=
"top">(
</td>
397 <td class=
"md" nowrap
valign=
"top">pointer
</td>
398 <td class=
"mdname" nowrap
> <em>private
</em>,
</td>
403 <td class=
"md" nowrap
><a class=
"el" href=
"dmxinput_8h.html#a30">DMXUpdateType
</a> </td>
404 <td class=
"mdname" nowrap
> <em>type
</em>,
</td>
409 <td class=
"md" nowrap
>WindowPtr
</td>
410 <td class=
"mdname" nowrap
> <em>pWindow
</em></td>
414 <td class=
"md">)
</td>
415 <td class=
"md" colspan=
"2"></td>
422 <table cellspacing=
5 cellpadding=
0 border=
0>
430 Whenever the window layout (size, position, stacking order) might be changed, this routine is called with the
<em>pWindow
</em> that changed and the
<em>type
</em> of change. This routine is called in a conservative fashion: the actual layout of the windows of the screen might not have had any human-visible changes.
</td>
433 <a class=
"anchor" name=
"a8" doxytag=
"dmxconsole.h::dmxConsoleUpdatePosition" ></a><p>
434 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
437 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
439 <td class=
"md" nowrap
valign=
"top"> void dmxConsoleUpdatePosition
</td>
440 <td class=
"md" valign=
"top">(
</td>
441 <td class=
"md" nowrap
valign=
"top">pointer
</td>
442 <td class=
"mdname" nowrap
> <em>private
</em>,
</td>
447 <td class=
"md" nowrap
>int
</td>
448 <td class=
"mdname" nowrap
> <em>x
</em>,
</td>
453 <td class=
"md" nowrap
>int
</td>
454 <td class=
"mdname" nowrap
> <em>y
</em></td>
458 <td class=
"md">)
</td>
459 <td class=
"md" colspan=
"2"></td>
466 <table cellspacing=
5 cellpadding=
0 border=
0>
474 This routine gets called from #dmxCoreMotion for each motion. This allows the console's notion of the cursor postion to change when another input device actually caused the change.
</td>
480 Generated June
29,
2004 for
<a
481 href=
"http://dmx.sourceforge.net">Distributed Multihead X
</a> by
482 <a href=
"http://www.doxygen.org/index.html">doxygen
</a>