1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>File Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>dmxextension.c File Reference</h1><code>#include <stdlib.h></code><br/>
<code>#include "<a class="el" href="dmx_8h_source.html">dmx.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxinit_8h_source.html">dmxinit.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxextension_8h_source.html">dmxextension.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxwindow_8h_source.html">dmxwindow.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxcb_8h_source.html">dmxcb.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxcursor_8h_source.html">dmxcursor.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxpixmap_8h_source.html">dmxpixmap.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxgc_8h_source.html">dmxgc.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxfont_8h_source.html">dmxfont.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxcmap_8h_source.html">dmxcmap.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxpict_8h_source.html">dmxpict.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxinput_8h_source.html">dmxinput.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxsync_8h_source.html">dmxsync.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxscrinit_8h_source.html">dmxscrinit.h</a>"</code><br/>
<code>#include "<a class="el" href="dmxinputinit_8h_source.html">input/dmxinputinit.h</a>"</code><br/>
<code>#include "windowstr.h"</code><br/>
<code>#include "inputstr.h"</code><br/>
<code>#include <X11/extensions/dmxproto.h></code><br/>
<code>#include "cursorstr.h"</code><br/>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#ab4180bb82b058d071e2f72c2e18534b7">dmxGetScreenAttributes</a> (int physical, <a class="el" href="structDMXScreenAttributesRec.html">DMXScreenAttributesPtr</a> attr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a81cd222e07016da8ee5c87c44a03312a">dmxGetWindowAttributes</a> (WindowPtr pWindow, <a class="el" href="structDMXWindowAttributesRec.html">DMXWindowAttributesPtr</a> attr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a314e23c5608a9bdaa5f8b8846f7458fc">dmxGetDesktopAttributes</a> (<a class="el" href="structDMXDesktopAttributesRec.html">DMXDesktopAttributesPtr</a> attr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a7e2b64de1aef77d43ee78d3a8187f651">dmxGetInputCount</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a3bde3bbb52470b5eb185805d861e6216">dmxGetInputAttributes</a> (int deviceId, <a class="el" href="structDMXInputAttributesRec.html">DMXInputAttributesPtr</a> attr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a2bf59b5de92ff76381543139f7b2c8fa">dmxAdjustCursorBoundaries</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a6b0b38eb49c6be097a59dbcdd6dacb51">dmxAddInput</a> (<a class="el" href="structDMXInputAttributesRec.html">DMXInputAttributesPtr</a> attr, int *id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a6125541332383040aa07fa1ef310d38d">dmxRemoveInput</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a1317039ecdb6f4eca7c1e5cea884657e">dmxGetNumScreens</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a1780283a6dd8f6d66e802b0c9b916f48">dmxForceWindowCreation</a> (WindowPtr pWindow)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#af7927d9de14425779c5de40312407203">dmxFlushPendingSyncs</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a602b3c05cd619a8b00d91315009ebc5d">dmxUpdateScreenResources</a> (ScreenPtr pScreen, int x, int y, int w, int h)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a335fb276d4398515aa93ed1b3652dfd5">dmxBECreateScratchGCs</a> (int scrnNum)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a8c94ba784e540d8a5fba70373f1167f4">dmxBERestorePixmap</a> (PixmapPtr pPixmap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a6ce8486d2aa17ed2ca5375b127b6189f">dmxBECreateResources</a> (pointer value, XID id, RESTYPE type, pointer n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a3d9d96382bf12f21023b8983412073ac">dmxBECreateWindowTree</a> (int idx)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#afa9f0ee11cd56a66fe5925a283c18188">dmxForceExposures</a> (int idx)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#abeb7f9d39d2cfa3b57c7ab9942fcea69">dmxCompareScreens</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *new, <a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *old)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a83d7548ed24086d9fb08866ec94735e2">dmxBERestoreRenderPict</a> (pointer value, XID id, pointer n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a8b7fceafa86db60728ce58fd33f2a646">dmxBERestoreRenderGlyph</a> (pointer value, XID id, pointer n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a3962840388f9bcf96fb17294a413d8cb">dmxAttachScreen</a> (int idx, <a class="el" href="structDMXScreenAttributesRec.html">DMXScreenAttributesPtr</a> attr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a3dee225e6bc7fa7f8684ebc5b4f96884">dmxBESavePixmap</a> (PixmapPtr pPixmap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#aaf05373ce6271205b865799a1c2a588f">dmxBEDestroyResources</a> (pointer value, XID id, RESTYPE type, pointer n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#ada568e54996488fca996405eb68c1b8b">dmxBEDestroyScratchGCs</a> (int scrnNum)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a30620fb306cff3ee44d6de43aa97346a">dmxBEDestroyWindowTree</a> (int idx)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a027f2cb3fe32b06f3ca3b04df8336299">dmxDetachScreen</a> (int idx)</td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">FontPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxextension_8c.html#a7decb269dc8674114f44964a88a68063">defaultFont</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This file provides the only interface to the X server extension support in programs/Xserver/Xext. Those programs should only include dmxext.h </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a6b0b38eb49c6be097a59dbcdd6dacb51"></a><!-- doxytag: member="dmxextension.c::dmxAddInput" ref="a6b0b38eb49c6be097a59dbcdd6dacb51" args="(DMXInputAttributesPtr attr, int *id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dmxAddInput </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structDMXInputAttributesRec.html">DMXInputAttributesPtr</a> </td>
<td class="paramname"> <em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"> <em>id</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add an input with the specified attributes. If the input is added, the physical id is returned in <em>deviceId</em>. </p>
<p>References <a class="el" href="dmxextension_8c_source.html#l00225">dmxAdjustCursorBoundaries()</a>, <a class="el" href="dmxinputinit_8c_source.html#l01287">dmxInputAttachBackend()</a>, <a class="el" href="dmxinputinit_8c_source.html#l01264">dmxInputAttachConsole()</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxextension_8h_source.html#l00082">DMXInputAttributesRec::inputType</a>, <a class="el" href="dmxextension_8h_source.html#l00081">DMXInputAttributesRec::name</a>, <a class="el" href="dmxextension_8h_source.html#l00083">DMXInputAttributesRec::physicalScreen</a>, and <a class="el" href="dmxextension_8h_source.html#l00086">DMXInputAttributesRec::sendsCore</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00815">ProcDMXAddInput()</a>.</p>
</div>
</div>
<a class="anchor" id="a2bf59b5de92ff76381543139f7b2c8fa"></a><!-- doxytag: member="dmxextension.c::dmxAdjustCursorBoundaries" ref="a2bf59b5de92ff76381543139f7b2c8fa" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxAdjustCursorBoundaries </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reinitialized the cursor boundaries. </p>
<p>References <a class="el" href="dmxinput_8h_source.html#l00089">_DMXInputInfo::detached</a>, <a class="el" href="dmxcb_8h_source.html#l00047">DMX_NO_RECOMPUTE_BOUNDING_BOX</a>, <a class="el" href="dmxcursor_8c_source.html#l00931">dmxCheckCursor()</a>, <a class="el" href="dmxcb_8c_source.html#l00069">dmxComputeWidthHeight()</a>, <a class="el" href="dmxcb_8c_source.html#l00111">dmxConnectionBlockCallback()</a>, <a class="el" href="dmxcursor_8c_source.html#l00515">dmxInitOverlap()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00950">dmxInputLateReInit()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00937">dmxInputReInit()</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>, and <a class="el" href="dmxcursor_8c_source.html#l00343">dmxReInitOrigins()</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l00248">dmxAddInput()</a>, and <a class="el" href="dmxextension_8c_source.html#l01567">dmxDetachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a3962840388f9bcf96fb17294a413d8cb"></a><!-- doxytag: member="dmxextension.c::dmxAttachScreen" ref="a3962840388f9bcf96fb17294a413d8cb" args="(int idx, DMXScreenAttributesPtr attr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dmxAttachScreen </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>idx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structDMXScreenAttributesRec.html">DMXScreenAttributesPtr</a> </td>
<td class="paramname"> <em>attr</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reattach previously detached back-end screen. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00108">_DMXScreenInfo::beDepths</a>, <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmx_8h_source.html#l00111">_DMXScreenInfo::bePixmapFormats</a>, <a class="el" href="dmx_8h_source.html#l00114">_DMXScreenInfo::beVisuals</a>, <a class="el" href="dmxextension_8c.html#a7decb269dc8674114f44964a88a68063">defaultFont</a>, <a class="el" href="dmxextension_8h_source.html#l00045">DMXScreenAttributesRec::displayName</a>, <a class="el" href="dmxinit_8c_source.html#l00120">dmxAddRemoveScreens</a>, <a class="el" href="dmxpixmap_8c_source.html#l00059">dmxBECreatePixmap()</a>, <a class="el" href="dmxextension_8c_source.html#l00856">dmxBECreateResources()</a>, <a class="el" href="dmxextension_8c_source.html#l00677">dmxBECreateScratchGCs()</a>, <a class="el" href="dmxextension_8c_source.html#l00918">dmxBECreateWindowTree()</a>, <a class="el" href="dmxfont_8c_source.html#l00252">dmxBELoadFont()</a>, <a class="el" href="dmxextension_8c_source.html#l00775">dmxBERestorePixmap()</a>, <a class="el" href="dmxextension_8c_source.html#l01085">dmxBERestoreRenderGlyph()</a>, <a class="el" href="dmxextension_8c_source.html#l01062">dmxBERestoreRenderPict()</a>, <a class="el" href="dmxscrinit_8c_source.html#l00090">dmxBEScreenInit()</a>, <a class="el" href="dmxinit_8c_source.html#l00476">dmxCheckForWM()</a>, <a class="el" href="dmxextension_8c_source.html#l01010">dmxCompareScreens()</a>, <a class="el" href="dmxextension_8h.html#a63c06d493f7fbe70e235c97a622efca9">dmxConfigureScreenWindows()</a>, <a class="el" href="dmxextension_8c_source.html#l00986">dmxForceExposures()</a>, <a class="el" href="dmxinit_8c_source.html#l00412">dmxGetColormaps()</a>, <a class="el" href="dmxinit_8c_source.html#l00433">dmxGetPixmapFormats()</a>, <a class="el" href="dmxinit_8c_source.html#l00285">dmxGetScreenAttribs()</a>, <a class="el" href="dmxinit_8c_source.html#l00362">dmxGetVisualInfo()</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxlog_8c_source.html#l00183">dmxLogOutput()</a>, <a class="el" href="dmxinit_8c_source.html#l00195">dmxOpenDisplay()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxinit_8c_source.html#l00204">dmxSetErrorHandler()</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, and <a class="el" href="dmx_8h_source.html#l00094">_DMXScreenInfo::name</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00462">ProcDMXAddScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a6ce8486d2aa17ed2ca5375b127b6189f"></a><!-- doxytag: member="dmxextension.c::dmxBECreateResources" ref="a6ce8486d2aa17ed2ca5375b127b6189f" args="(pointer value, XID id, RESTYPE type, pointer n)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBECreateResources </td>
<td>(</td>
<td class="paramtype">pointer </td>
<td class="paramname"> <em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XID </td>
<td class="paramname"> <em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">RESTYPE </td>
<td class="paramname"> <em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">pointer </td>
<td class="paramname"> <em>n</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create resources on the back-end server. This function is called from <a class="el" href="dmxextension_8c.html#a3962840388f9bcf96fb17294a413d8cb">dmxAttachScreen()</a> via the dix layer's FindAllResources function. It walks all resources, compares them to the screen number passed in as <em>n</em> and calls the appropriate DMX function to create the associated resource on the back-end server. </p>
<p>References <a class="el" href="dmxextension_8c.html#a7decb269dc8674114f44964a88a68063">defaultFont</a>, <a class="el" href="dmxcmap_8c_source.html#l00064">dmxBECreateColormap()</a>, <a class="el" href="dmxcursor_8c_source.html#l00578">dmxBECreateCursor()</a>, <a class="el" href="dmxgc_8c_source.html#l00094">dmxBECreateGC()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00059">dmxBECreatePixmap()</a>, <a class="el" href="dmxpict_8c_source.html#l00210">dmxBEFreeGlyphSet()</a>, <a class="el" href="dmxfont_8c_source.html#l00252">dmxBELoadFont()</a>, <a class="el" href="dmxextension_8c_source.html#l00775">dmxBERestorePixmap()</a>, and <a class="el" href="dmxgc_8c_source.html#l00190">dmxChangeGC()</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a335fb276d4398515aa93ed1b3652dfd5"></a><!-- doxytag: member="dmxextension.c::dmxBECreateScratchGCs" ref="a335fb276d4398515aa93ed1b3652dfd5" args="(int scrnNum)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBECreateScratchGCs </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>scrnNum</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create the scratch GCs per depth. </p>
<p>References <a class="el" href="dmxgc_8c_source.html#l00094">dmxBECreateGC()</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a3d9d96382bf12f21023b8983412073ac"></a><!-- doxytag: member="dmxextension.c::dmxBECreateWindowTree" ref="a3d9d96382bf12f21023b8983412073ac" args="(int idx)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBECreateWindowTree </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>idx</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create window hierachy on back-end server. The window tree is created in a special order (bottom most subwindow first) so that the <a class="el" href="dmxwindow_8c.html#a85749ac991a90590437409977222d827">dmxCreateNonRootWindow()</a> function does not need to recursively call itself to create each window's parents. This is required so that we have the opportunity to create each window's border and background pixmaps (where appropriate) before the window is created. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxwindow_8h_source.html#l00049">_dmxWinPriv::cmap</a>, <a class="el" href="dmxwindow_8h_source.html#l00105">DMX_GET_WINDOW_PRIV</a>, <a class="el" href="dmxpixmap_8c_source.html#l00059">dmxBECreatePixmap()</a>, <a class="el" href="dmxextension_8c_source.html#l00775">dmxBERestorePixmap()</a>, <a class="el" href="dmxwindow_8c_source.html#l00280">dmxCreateAndRealizeWindow()</a>, <a class="el" href="dmxwindow_8c_source.html#l00072">dmxCreateRootWindow()</a>, <a class="el" href="dmxwindow_8c_source.html#l00178">dmxGetDefaultWindowAttributes()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxwindow_8h_source.html#l00046">_dmxWinPriv::mapped</a>, <a class="el" href="dmxwindow_8h_source.html#l00045">_dmxWinPriv::offscreen</a>, <a class="el" href="dmx_8h_source.html#l00141">_DMXScreenInfo::rootWin</a>, <a class="el" href="dmxwindow_8h_source.html#l00050">_dmxWinPriv::visual</a>, and <a class="el" href="dmxwindow_8h_source.html#l00044">_dmxWinPriv::window</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="aaf05373ce6271205b865799a1c2a588f"></a><!-- doxytag: member="dmxextension.c::dmxBEDestroyResources" ref="aaf05373ce6271205b865799a1c2a588f" args="(pointer value, XID id, RESTYPE type, pointer n)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBEDestroyResources </td>
<td>(</td>
<td class="paramtype">pointer </td>
<td class="paramname"> <em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XID </td>
<td class="paramname"> <em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">RESTYPE </td>
<td class="paramname"> <em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">pointer </td>
<td class="paramname"> <em>n</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy resources on the back-end server. This function is called from <a class="el" href="dmxextension_8c.html#a027f2cb3fe32b06f3ca3b04df8336299">dmxDetachScreen()</a> via the dix layer's FindAllResources function. It walks all resources, compares them to the screen number passed in as <em>n</em> and calls the appropriate DMX function to free the associated resource on the back-end server. </p>
<p>References <a class="el" href="dmxcmap_8c_source.html#l00111">dmxBEFreeColormap()</a>, <a class="el" href="dmxcursor_8c_source.html#l00681">dmxBEFreeCursor()</a>, <a class="el" href="dmxfont_8c_source.html#l00469">dmxBEFreeFont()</a>, <a class="el" href="dmxgc_8c_source.html#l00312">dmxBEFreeGC()</a>, <a class="el" href="dmxpict_8c_source.html#l00210">dmxBEFreeGlyphSet()</a>, <a class="el" href="dmxpict_8c_source.html#l00797">dmxBEFreePicture()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00138">dmxBEFreePixmap()</a>, and <a class="el" href="dmxextension_8c_source.html#l01406">dmxBESavePixmap()</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01567">dmxDetachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="ada568e54996488fca996405eb68c1b8b"></a><!-- doxytag: member="dmxextension.c::dmxBEDestroyScratchGCs" ref="ada568e54996488fca996405eb68c1b8b" args="(int scrnNum)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBEDestroyScratchGCs </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>scrnNum</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy the scratch GCs that are created per depth. </p>
<p>References <a class="el" href="dmxgc_8c_source.html#l00312">dmxBEFreeGC()</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01567">dmxDetachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a30620fb306cff3ee44d6de43aa97346a"></a><!-- doxytag: member="dmxextension.c::dmxBEDestroyWindowTree" ref="a30620fb306cff3ee44d6de43aa97346a" args="(int idx)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBEDestroyWindowTree </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>idx</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy window hierachy on back-end server. To ensure that all XDestroyWindow() calls succeed, they must be performed in a bottom up order so that windows are not destroyed before their children. XDestroyWindow(), which is called from <a class="el" href="dmxwindow_8c.html#a978ad158f0c814ca10dc965c5f7b74c2">dmxBEDestroyWindow()</a>, will destroy a window as well as all of it's children. </p>
<p>References <a class="el" href="dmxwindow_8c_source.html#l00379">dmxBEDestroyWindow()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00138">dmxBEFreePixmap()</a>, and <a class="el" href="dmxextension_8c_source.html#l01406">dmxBESavePixmap()</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01567">dmxDetachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a8c94ba784e540d8a5fba70373f1167f4"></a><!-- doxytag: member="dmxextension.c::dmxBERestorePixmap" ref="a8c94ba784e540d8a5fba70373f1167f4" args="(PixmapPtr pPixmap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBERestorePixmap </td>
<td>(</td>
<td class="paramtype">PixmapPtr </td>
<td class="paramname"> <em>pPixmap</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Restore the pixmap image either from another screen or from an image that was saved when the screen was previously detached. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmx_8h_source.html#l00110">_DMXScreenInfo::beNumPixmapFormats</a>, <a class="el" href="dmx_8h_source.html#l00111">_DMXScreenInfo::bePixmapFormats</a>, <a class="el" href="dmxpixmap_8h_source.html#l00045">_dmxPixPriv::detachedImage</a>, <a class="el" href="dmxpixmap_8h_source.html#l00064">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, <a class="el" href="dmxpixmap_8h_source.html#l00044">_dmxPixPriv::pixmap</a>, and <a class="el" href="dmx_8h_source.html#l00134">_DMXScreenInfo::scrnDefDrawables</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>, <a class="el" href="dmxextension_8c_source.html#l00856">dmxBECreateResources()</a>, <a class="el" href="dmxextension_8c_source.html#l00918">dmxBECreateWindowTree()</a>, and <a class="el" href="dmxextension_8c_source.html#l01062">dmxBERestoreRenderPict()</a>.</p>
</div>
</div>
<a class="anchor" id="a8b7fceafa86db60728ce58fd33f2a646"></a><!-- doxytag: member="dmxextension.c::dmxBERestoreRenderGlyph" ref="a8b7fceafa86db60728ce58fd33f2a646" args="(pointer value, XID id, pointer n)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBERestoreRenderGlyph </td>
<td>(</td>
<td class="paramtype">pointer </td>
<td class="paramname"> <em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XID </td>
<td class="paramname"> <em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">pointer </td>
<td class="paramname"> <em>n</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Restore Render's glyphs </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpict_8h_source.html#l00131">DMX_GET_GLYPH_PRIV</a>, <a class="el" href="dmxpict_8c_source.html#l00226">dmxBECreateGlyphSet()</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, <a class="el" href="dmxpict_8h_source.html#l00054">_dmxGlyphPriv::glyphSets</a>, and <a class="el" href="dmxprint_8c_source.html#l00057">pos</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a83d7548ed24086d9fb08866ec94735e2"></a><!-- doxytag: member="dmxextension.c::dmxBERestoreRenderPict" ref="a83d7548ed24086d9fb08866ec94735e2" args="(pointer value, XID id, pointer n)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBERestoreRenderPict </td>
<td>(</td>
<td class="paramtype">pointer </td>
<td class="paramname"> <em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XID </td>
<td class="paramname"> <em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">pointer </td>
<td class="paramname"> <em>n</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Restore Render's picture </p>
<p>References <a class="el" href="dmxpict_8c_source.html#l00757">dmxBECreatePicture()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00059">dmxBECreatePixmap()</a>, and <a class="el" href="dmxextension_8c_source.html#l00775">dmxBERestorePixmap()</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a3dee225e6bc7fa7f8684ebc5b4f96884"></a><!-- doxytag: member="dmxextension.c::dmxBESavePixmap" ref="a3dee225e6bc7fa7f8684ebc5b4f96884" args="(PixmapPtr pPixmap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxBESavePixmap </td>
<td>(</td>
<td class="paramtype">PixmapPtr </td>
<td class="paramname"> <em>pPixmap</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Save the pixmap image only when there is not another screen with that pixmap from which the image can be read when the screen is reattached. To do this, we first try to find a pixmap on another screen corresponding to the one we are trying to save. If we find one, then we do not need to save the image data since during reattachment, the image data can be read from that other pixmap. However, if we do not find one, then we need to save the image data. The common case for these are for the default stipple and root tile. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h_source.html#l00045">_dmxPixPriv::detachedImage</a>, <a class="el" href="dmxpixmap_8h_source.html#l00064">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, and <a class="el" href="dmxpixmap_8h_source.html#l00044">_dmxPixPriv::pixmap</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01459">dmxBEDestroyResources()</a>, <a class="el" href="dmxextension_8c_source.html#l01521">dmxBEDestroyWindowTree()</a>, and <a class="el" href="dmxextension_8c_source.html#l01567">dmxDetachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="abeb7f9d39d2cfa3b57c7ab9942fcea69"></a><!-- doxytag: member="dmxextension.c::dmxCompareScreens" ref="abeb7f9d39d2cfa3b57c7ab9942fcea69" args="(DMXScreenInfo *new, DMXScreenInfo *old)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static Bool dmxCompareScreens </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
<td class="paramname"> <em>new</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
<td class="paramname"> <em>old</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Compare the new and old screens to see if they are compatible. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00103">_DMXScreenInfo::beBPP</a>, <a class="el" href="dmx_8h_source.html#l00115">_DMXScreenInfo::beDefVisualIndex</a>, <a class="el" href="dmx_8h_source.html#l00102">_DMXScreenInfo::beDepth</a>, <a class="el" href="dmx_8h_source.html#l00108">_DMXScreenInfo::beDepths</a>, <a class="el" href="dmx_8h_source.html#l00101">_DMXScreenInfo::beHeight</a>, <a class="el" href="dmx_8h_source.html#l00107">_DMXScreenInfo::beNumDepths</a>, <a class="el" href="dmx_8h_source.html#l00110">_DMXScreenInfo::beNumPixmapFormats</a>, <a class="el" href="dmx_8h_source.html#l00113">_DMXScreenInfo::beNumVisuals</a>, <a class="el" href="dmx_8h_source.html#l00111">_DMXScreenInfo::bePixmapFormats</a>, <a class="el" href="dmx_8h_source.html#l00114">_DMXScreenInfo::beVisuals</a>, and <a class="el" href="dmx_8h_source.html#l00100">_DMXScreenInfo::beWidth</a>.</p>
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a027f2cb3fe32b06f3ca3b04df8336299"></a><!-- doxytag: member="dmxextension.c::dmxDetachScreen" ref="a027f2cb3fe32b06f3ca3b04df8336299" args="(int idx)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dmxDetachScreen </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>idx</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Detach back-end screen. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxinit_8c_source.html#l00120">dmxAddRemoveScreens</a>, <a class="el" href="dmxextension_8c_source.html#l00225">dmxAdjustCursorBoundaries()</a>, <a class="el" href="dmxscrinit_8c_source.html#l00365">dmxBECloseScreen()</a>, <a class="el" href="dmxextension_8c_source.html#l01459">dmxBEDestroyResources()</a>, <a class="el" href="dmxextension_8c_source.html#l01506">dmxBEDestroyScratchGCs()</a>, <a class="el" href="dmxextension_8c_source.html#l01521">dmxBEDestroyWindowTree()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00138">dmxBEFreePixmap()</a>, <a class="el" href="dmxextension_8c_source.html#l01406">dmxBESavePixmap()</a>, <a class="el" href="dmxinputinit_8c_source.html#l01198">dmxInputDetachAll()</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxlog_8c_source.html#l00183">dmxLogOutput()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, and <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00513">ProcDMXRemoveScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="af7927d9de14425779c5de40312407203"></a><!-- doxytag: member="dmxextension.c::dmxFlushPendingSyncs" ref="af7927d9de14425779c5de40312407203" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxFlushPendingSyncs </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Flush pending syncs for all screens. </p>
<p>References <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00263">ProcDMXForceWindowCreation()</a>, <a class="el" href="dmx_8c_source.html#l00602">ProcDMXGetWindowAttributes()</a>, and <a class="el" href="dmx_8c_source.html#l00241">ProcDMXSync()</a>.</p>
</div>
</div>
<a class="anchor" id="afa9f0ee11cd56a66fe5925a283c18188"></a><!-- doxytag: member="dmxextension.c::dmxForceExposures" ref="afa9f0ee11cd56a66fe5925a283c18188" args="(int idx)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void dmxForceExposures </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>idx</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>.</p>
</div>
</div>
<a class="anchor" id="a1780283a6dd8f6d66e802b0c9b916f48"></a><!-- doxytag: member="dmxextension.c::dmxForceWindowCreation" ref="a1780283a6dd8f6d66e802b0c9b916f48" args="(WindowPtr pWindow)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxForceWindowCreation </td>
<td>(</td>
<td class="paramtype">WindowPtr </td>
<td class="paramname"> <em>pWindow</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Make sure that <a class="el" href="dmxwindow_8h.html#afefa2121a2898700d285e77730a52c4d">dmxCreateAndRealizeWindow</a> has been called for <em>pWindow</em>. </p>
<p>References <a class="el" href="dmxwindow_8h_source.html#l00105">DMX_GET_WINDOW_PRIV</a>, <a class="el" href="dmxwindow_8c_source.html#l00280">dmxCreateAndRealizeWindow()</a>, and <a class="el" href="dmxwindow_8h_source.html#l00044">_dmxWinPriv::window</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00263">ProcDMXForceWindowCreation()</a>.</p>
</div>
</div>
<a class="anchor" id="a314e23c5608a9bdaa5f8b8846f7458fc"></a><!-- doxytag: member="dmxextension.c::dmxGetDesktopAttributes" ref="a314e23c5608a9bdaa5f8b8846f7458fc" args="(DMXDesktopAttributesPtr attr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxGetDesktopAttributes </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structDMXDesktopAttributesRec.html">DMXDesktopAttributesPtr</a> </td>
<td class="paramname"> <em>attr</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>References <a class="el" href="dmxcb_8c_source.html#l00054">dmxGlobalHeight</a>, <a class="el" href="dmxcb_8c_source.html#l00054">dmxGlobalWidth</a>, <a class="el" href="dmxextension_8h_source.html#l00074">DMXDesktopAttributesRec::height</a>, <a class="el" href="dmxextension_8h_source.html#l00075">DMXDesktopAttributesRec::shiftX</a>, <a class="el" href="dmxextension_8h_source.html#l00076">DMXDesktopAttributesRec::shiftY</a>, and <a class="el" href="dmxextension_8h_source.html#l00073">DMXDesktopAttributesRec::width</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00714">ProcDMXChangeDesktopAttributes()</a>, and <a class="el" href="dmx_8c_source.html#l00683">ProcDMXGetDesktopAttributes()</a>.</p>
</div>
</div>
<a class="anchor" id="a3bde3bbb52470b5eb185805d861e6216"></a><!-- doxytag: member="dmxextension.c::dmxGetInputAttributes" ref="a3bde3bbb52470b5eb185805d861e6216" args="(int deviceId, DMXInputAttributesPtr attr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dmxGetInputAttributes </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>deviceId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structDMXInputAttributesRec.html">DMXInputAttributesPtr</a> </td>
<td class="paramname"> <em>attr</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return information about the device with id = <em>deviceId</em>. This information is primarily for the <a class="el" href="dmx_8c.html#accc76dc52a070ec95d7330357645d175">ProcDMXGetInputAttributes()</a> function, which does not have access to the appropriate data structure. </p>
<p>References <a class="el" href="dmxinput_8h_source.html#l00089">_DMXInputInfo::detached</a>, <a class="el" href="dmxextension_8h_source.html#l00087">DMXInputAttributesRec::detached</a>, <a class="el" href="dmxinputinit_8h_source.html#l00262">_DMXLocalInputInfo::deviceId</a>, <a class="el" href="dmxinput_8h_source.html#l00125">_DMXInputInfo::devs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00071">DMX_LOCAL_TYPE_BACKEND</a>, <a class="el" href="dmxinputinit_8h_source.html#l00072">DMX_LOCAL_TYPE_COMMON</a>, <a class="el" href="dmxinputinit_8h_source.html#l00070">DMX_LOCAL_TYPE_CONSOLE</a>, <a class="el" href="dmxinputinit_8h_source.html#l00069">DMX_LOCAL_TYPE_LOCAL</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00185">_DMXLocalInputInfo::extType</a>, <a class="el" href="dmxextension_8h_source.html#l00082">DMXInputAttributesRec::inputType</a>, <a class="el" href="dmxinputinit_8h_source.html#l00230">_DMXLocalInputInfo::isCore</a>, <a class="el" href="dmxextension_8h_source.html#l00085">DMXInputAttributesRec::isCore</a>, <a class="el" href="dmxinput_8h_source.html#l00085">_DMXInputInfo::name</a>, <a class="el" href="dmxextension_8h_source.html#l00081">DMXInputAttributesRec::name</a>, <a class="el" href="dmxinput_8h_source.html#l00119">_DMXInputInfo::numDevs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00235">_DMXLocalInputInfo::pDevice</a>, <a class="el" href="dmxextension_8h_source.html#l00084">DMXInputAttributesRec::physicalId</a>, <a class="el" href="dmxextension_8h_source.html#l00083">DMXInputAttributesRec::physicalScreen</a>, <a class="el" href="dmxinput_8h_source.html#l00091">_DMXInputInfo::scrnIdx</a>, <a class="el" href="dmxinputinit_8h_source.html#l00231">_DMXLocalInputInfo::sendsCore</a>, and <a class="el" href="dmxextension_8h_source.html#l00086">DMXInputAttributesRec::sendsCore</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00777">ProcDMXGetInputAttributes()</a>.</p>
</div>
</div>
<a class="anchor" id="a7e2b64de1aef77d43ee78d3a8187f651"></a><!-- doxytag: member="dmxextension.c::dmxGetInputCount" ref="a7e2b64de1aef77d43ee78d3a8187f651" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dmxGetInputCount </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the total number of devices, not just <a class="el" href="dmxinput_8h.html#a7c8f7f00098aec51d56c188a26747d9f">dmxNumInputs</a>. The number returned should be the same as that returned by XListInputDevices. </p>
<p>References <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, and <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>.</p>
<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l01120">dmxInputLogDevices()</a>, and <a class="el" href="dmx_8c_source.html#l00757">ProcDMXGetInputCount()</a>.</p>
</div>
</div>
<a class="anchor" id="a1317039ecdb6f4eca7c1e5cea884657e"></a><!-- doxytag: member="dmxextension.c::dmxGetNumScreens" ref="a1317039ecdb6f4eca7c1e5cea884657e" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned long dmxGetNumScreens </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the value of <a class="el" href="dmxinit_8c.html#a5a881109fe1e32c74cda4a280b09a7c4">dmxNumScreens</a> -- the total number of backend screens in use (these are logical screens and may be larger than the number of backend displays). </p>
<p>References <a class="el" href="dmxinit_8c_source.html#l00083">dmxNumScreens</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00332">ProcDMXGetScreenAttributes()</a>, and <a class="el" href="dmx_8c_source.html#l00312">ProcDMXGetScreenCount()</a>.</p>
</div>
</div>
<a class="anchor" id="ab4180bb82b058d071e2f72c2e18534b7"></a><!-- doxytag: member="dmxextension.c::dmxGetScreenAttributes" ref="ab4180bb82b058d071e2f72c2e18534b7" args="(int physical, DMXScreenAttributesPtr attr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bool dmxGetScreenAttributes </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>physical</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structDMXScreenAttributesRec.html">DMXScreenAttributesPtr</a> </td>
<td class="paramname"> <em>attr</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This routine provides information to the DMX protocol extension about a particular screen. </p>
<p>References <a class="el" href="dmxextension_8h_source.html#l00045">DMXScreenAttributesRec::displayName</a>, <a class="el" href="dmxinit_8c_source.html#l00083">dmxNumScreens</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmx_8h_source.html#l00095">_DMXScreenInfo::index</a>, <a class="el" href="dmxextension_8h_source.html#l00046">DMXScreenAttributesRec::logicalScreen</a>, <a class="el" href="dmx_8h_source.html#l00094">_DMXScreenInfo::name</a>, <a class="el" href="dmx_8h_source.html#l00145">_DMXScreenInfo::rootHeight</a>, <a class="el" href="dmx_8h_source.html#l00144">_DMXScreenInfo::rootWidth</a>, <a class="el" href="dmxextension_8h_source.html#l00054">DMXScreenAttributesRec::rootWindowHeight</a>, <a class="el" href="dmxextension_8h_source.html#l00053">DMXScreenAttributesRec::rootWindowWidth</a>, <a class="el" href="dmxextension_8h_source.html#l00055">DMXScreenAttributesRec::rootWindowXoffset</a>, <a class="el" href="dmxextension_8h_source.html#l00058">DMXScreenAttributesRec::rootWindowXorigin</a>, <a class="el" href="dmxextension_8h_source.html#l00056">DMXScreenAttributesRec::rootWindowYoffset</a>, <a class="el" href="dmxextension_8h_source.html#l00059">DMXScreenAttributesRec::rootWindowYorigin</a>, <a class="el" href="dmx_8h_source.html#l00142">_DMXScreenInfo::rootX</a>, <a class="el" href="dmx_8h_source.html#l00147">_DMXScreenInfo::rootXOrigin</a>, <a class="el" href="dmx_8h_source.html#l00143">_DMXScreenInfo::rootY</a>, <a class="el" href="dmx_8h_source.html#l00148">_DMXScreenInfo::rootYOrigin</a>, <a class="el" href="dmxextension_8h_source.html#l00049">DMXScreenAttributesRec::screenWindowHeight</a>, <a class="el" href="dmxextension_8h_source.html#l00048">DMXScreenAttributesRec::screenWindowWidth</a>, <a class="el" href="dmxextension_8h_source.html#l00050">DMXScreenAttributesRec::screenWindowXoffset</a>, <a class="el" href="dmxextension_8h_source.html#l00051">DMXScreenAttributesRec::screenWindowYoffset</a>, <a class="el" href="dmx_8h_source.html#l00129">_DMXScreenInfo::scrnHeight</a>, <a class="el" href="dmx_8h_source.html#l00128">_DMXScreenInfo::scrnWidth</a>, <a class="el" href="dmx_8h_source.html#l00126">_DMXScreenInfo::scrnX</a>, and <a class="el" href="dmx_8h_source.html#l00127">_DMXScreenInfo::scrnY</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00462">ProcDMXAddScreen()</a>, <a class="el" href="dmx_8c_source.html#l00389">ProcDMXChangeScreensAttributes()</a>, and <a class="el" href="dmx_8c_source.html#l00332">ProcDMXGetScreenAttributes()</a>.</p>
</div>
</div>
<a class="anchor" id="a81cd222e07016da8ee5c87c44a03312a"></a><!-- doxytag: member="dmxextension.c::dmxGetWindowAttributes" ref="a81cd222e07016da8ee5c87c44a03312a" args="(WindowPtr pWindow, DMXWindowAttributesPtr attr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bool dmxGetWindowAttributes </td>
<td>(</td>
<td class="paramtype">WindowPtr </td>
<td class="paramname"> <em>pWindow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structDMXWindowAttributesRec.html">DMXWindowAttributesPtr</a> </td>
<td class="paramname"> <em>attr</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This routine provides information to the DMX protocol extension about a particular window. </p>
<p>References <a class="el" href="dmxwindow_8h_source.html#l00105">DMX_GET_WINDOW_PRIV</a>, <a class="el" href="dmxwindow_8h_source.html#l00045">_dmxWinPriv::offscreen</a>, <a class="el" href="dmxextension_8h_source.html#l00066">DMXWindowAttributesRec::pos</a>, <a class="el" href="dmxextension_8h_source.html#l00064">DMXWindowAttributesRec::screen</a>, <a class="el" href="dmxextension_8h_source.html#l00067">DMXWindowAttributesRec::vis</a>, <a class="el" href="dmxwindow_8h_source.html#l00044">_dmxWinPriv::window</a>, and <a class="el" href="dmxextension_8h_source.html#l00065">DMXWindowAttributesRec::window</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00571">dmxPopulate()</a>.</p>
</div>
</div>
<a class="anchor" id="a6125541332383040aa07fa1ef310d38d"></a><!-- doxytag: member="dmxextension.c::dmxRemoveInput" ref="a6125541332383040aa07fa1ef310d38d" args="(int id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dmxRemoveInput </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>id</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Remove the input with physical id <em>id</em>. </p>
<p>References <a class="el" href="dmxinputinit_8c_source.html#l01209">dmxInputDetachId()</a>.</p>
<p>Referenced by <a class="el" href="dmx_8c_source.html#l00866">ProcDMXRemoveInput()</a>.</p>
</div>
</div>
<a class="anchor" id="a602b3c05cd619a8b00d91315009ebc5d"></a><!-- doxytag: member="dmxextension.c::dmxUpdateScreenResources" ref="a602b3c05cd619a8b00d91315009ebc5d" args="(ScreenPtr pScreen, int x, int y, int w, int h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxUpdateScreenResources </td>
<td>(</td>
<td class="paramtype">ScreenPtr </td>
<td class="paramname"> <em>pScreen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>h</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Update DMX's screen resources to match those of the newly moved and/or resized "root" window. </p>
<p>References <a class="el" href="dmx_8h_source.html#l00104">_DMXScreenInfo::beXDPI</a>, <a class="el" href="dmx_8h_source.html#l00105">_DMXScreenInfo::beYDPI</a>, and <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>.</p>
<p>Referenced by <a class="el" href="dmxwindow_8c_source.html#l00303">dmxCreateWindow()</a>.</p>
</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a7decb269dc8674114f44964a88a68063"></a><!-- doxytag: member="dmxextension.c::defaultFont" ref="a7decb269dc8674114f44964a88a68063" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FontPtr <a class="el" href="dmxextension_8c.html#a7decb269dc8674114f44964a88a68063">defaultFont</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>, and <a class="el" href="dmxextension_8c_source.html#l00856">dmxBECreateResources()</a>.</p>
</div>
</div>
</div>
<hr>
<address>
<small>
Generated June 29, 2004 for <a
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
<a href="http://www.doxygen.org/index.html">doxygen</a>
1.3.4.
</small>
</addres>
</hr>
</body>
</html>
|