1
diff -bpcBNC 5 Xmt310/Xmt/All.c Xmt310.ge/Xmt/All.c
2
*** Xmt310/Xmt/All.c Sun Feb 4 22:20:22 2001
3
--- Xmt310.ge/Xmt/All.c Tue Jun 12 18:11:32 2001
7
* Motif Tools Library, Version 3.1
10
* Written by David Flanagan.
11
* Copyright (c) 1992-2001 by David Flanagan.
12
* All Rights Reserved. See the file COPYRIGHT for details.
13
* This is open source software. See the file LICENSE for details.
14
* There is no warranty for this software. See NO_WARRANTY for details.
17
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
20
! * Revision 1.1 2001/06/21 17:47:46 andre
21
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
22
! * kerberos compilation support
28
#include <Xmt/WidgetType.h>
31
* Motif Tools Library, Version 3.1
34
* Written by David Flanagan.
35
* Copyright (c) 1992-2001 by David Flanagan.
36
* All Rights Reserved. See the file COPYRIGHT for details.
37
* This is open source software. See the file LICENSE for details.
38
* There is no warranty for this software. See NO_WARRANTY for details.
41
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
44
! * Revision 1.1 2001/06/21 17:47:46 andre
45
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
46
! * kerberos compilation support
48
! * Revision 1.1 2001/06/12 15:00:21 andre
49
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
50
! * (http://sourceforge.net/projects/motiftools) with
51
! * our xmt212 patches applied
57
#include <Xmt/WidgetType.h>
58
diff -bpcBNC 5 Xmt310/Xmt/All.h Xmt310.ge/Xmt/All.h
59
*** Xmt310/Xmt/All.h Sun Feb 4 22:19:48 2001
60
--- Xmt310.ge/Xmt/All.h Tue Jun 12 18:11:32 2001
64
* Motif Tools Library, Version 3.1
67
* Written by David Flanagan.
68
* Copyright (c) 1992-2001 by David Flanagan.
69
* All Rights Reserved. See the file COPYRIGHT for details.
70
* This is open source software. See the file LICENSE for details.
71
* There is no warranty for this software. See NO_WARRANTY for details.
74
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
77
! * Revision 1.1 2001/06/21 17:47:46 andre
78
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
79
! * kerberos compilation support
88
* Motif Tools Library, Version 3.1
91
* Written by David Flanagan.
92
* Copyright (c) 1992-2001 by David Flanagan.
93
* All Rights Reserved. See the file COPYRIGHT for details.
94
* This is open source software. See the file LICENSE for details.
95
* There is no warranty for this software. See NO_WARRANTY for details.
98
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
101
! * Revision 1.1 2001/06/21 17:47:46 andre
102
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
103
! * kerberos compilation support
105
! * Revision 1.1 2001/06/12 15:00:21 andre
106
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
107
! * (http://sourceforge.net/projects/motiftools) with
108
! * our xmt212 patches applied
115
diff -bpcBNC 5 Xmt310/Xmt/AppRes.c Xmt310.ge/Xmt/AppRes.c
116
*** Xmt310/Xmt/AppRes.c Sun Feb 4 22:31:28 2001
117
--- Xmt310.ge/Xmt/AppRes.c Tue Jun 12 18:11:32 2001
121
* Motif Tools Library, Version 3.1
124
* Written by David Flanagan.
125
* Copyright (c) 1992-2001 by David Flanagan.
126
* All Rights Reserved. See the file COPYRIGHT for details.
127
* This is open source software. See the file LICENSE for details.
128
* There is no warranty for this software. See NO_WARRANTY for details.
131
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
134
! * Revision 1.1 2001/06/21 17:47:46 andre
135
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
136
! * kerberos compilation support
142
#include <Xmt/AppResP.h>
145
* Motif Tools Library, Version 3.1
148
* Written by David Flanagan.
149
* Copyright (c) 1992-2001 by David Flanagan.
150
* All Rights Reserved. See the file COPYRIGHT for details.
151
* This is open source software. See the file LICENSE for details.
152
* There is no warranty for this software. See NO_WARRANTY for details.
155
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
158
! * Revision 1.1 2001/06/21 17:47:46 andre
159
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
160
! * kerberos compilation support
162
! * Revision 1.1 2001/06/12 15:00:21 andre
163
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
164
! * (http://sourceforge.net/projects/motiftools) with
165
! * our xmt212 patches applied
171
#include <Xmt/AppResP.h>
172
diff -bpcBNC 5 Xmt310/Xmt/AppRes.h Xmt310.ge/Xmt/AppRes.h
173
*** Xmt310/Xmt/AppRes.h Sun Feb 4 22:31:50 2001
174
--- Xmt310.ge/Xmt/AppRes.h Tue Jun 12 18:11:32 2001
178
* Motif Tools Library, Version 3.1
181
* Written by David Flanagan.
182
* Copyright (c) 1992-2001 by David Flanagan.
183
* All Rights Reserved. See the file COPYRIGHT for details.
184
* This is open source software. See the file LICENSE for details.
185
* There is no warranty for this software. See NO_WARRANTY for details.
188
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
191
! * Revision 1.1 2001/06/21 17:47:46 andre
192
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
193
! * kerberos compilation support
202
* Motif Tools Library, Version 3.1
205
* Written by David Flanagan.
206
* Copyright (c) 1992-2001 by David Flanagan.
207
* All Rights Reserved. See the file COPYRIGHT for details.
208
* This is open source software. See the file LICENSE for details.
209
* There is no warranty for this software. See NO_WARRANTY for details.
212
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
215
! * Revision 1.1 2001/06/21 17:47:46 andre
216
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
217
! * kerberos compilation support
219
! * Revision 1.1 2001/06/12 15:00:21 andre
220
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
221
! * (http://sourceforge.net/projects/motiftools) with
222
! * our xmt212 patches applied
229
diff -bpcBNC 5 Xmt310/Xmt/AppResP.h Xmt310.ge/Xmt/AppResP.h
230
*** Xmt310/Xmt/AppResP.h Sun Feb 4 22:32:46 2001
231
--- Xmt310.ge/Xmt/AppResP.h Tue Jun 12 18:11:32 2001
235
* Motif Tools Library, Version 3.1
238
* Written by David Flanagan.
239
* Copyright (c) 1992-2001 by David Flanagan.
240
* All Rights Reserved. See the file COPYRIGHT for details.
241
* This is open source software. See the file LICENSE for details.
242
* There is no warranty for this software. See NO_WARRANTY for details.
245
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
248
! * Revision 1.1 2001/06/21 17:47:46 andre
249
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
250
! * kerberos compilation support
255
#ifndef _XmtAppResP_h
256
#define _XmtAppResP_h
259
* Motif Tools Library, Version 3.1
262
* Written by David Flanagan.
263
* Copyright (c) 1992-2001 by David Flanagan.
264
* All Rights Reserved. See the file COPYRIGHT for details.
265
* This is open source software. See the file LICENSE for details.
266
* There is no warranty for this software. See NO_WARRANTY for details.
269
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
272
! * Revision 1.1 2001/06/21 17:47:46 andre
273
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
274
! * kerberos compilation support
276
! * Revision 1.1 2001/06/12 15:00:21 andre
277
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
278
! * (http://sourceforge.net/projects/motiftools) with
279
! * our xmt212 patches applied
284
#ifndef _XmtAppResP_h
285
#define _XmtAppResP_h
286
diff -bpcBNC 5 Xmt310/Xmt/AskForBool.c Xmt310.ge/Xmt/AskForBool.c
287
*** Xmt310/Xmt/AskForBool.c Sun Feb 4 22:33:02 2001
288
--- Xmt310.ge/Xmt/AskForBool.c Tue Jun 12 18:11:32 2001
292
* Motif Tools Library, Version 3.1
295
* Written by David Flanagan.
296
* Copyright (c) 1992-2001 by David Flanagan.
297
* All Rights Reserved. See the file COPYRIGHT for details.
298
* This is open source software. See the file LICENSE for details.
299
* There is no warranty for this software. See NO_WARRANTY for details.
302
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
305
! * Revision 1.1 2001/06/21 17:47:46 andre
306
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
307
! * kerberos compilation support
312
#include <X11/IntrinsicP.h>
316
* Motif Tools Library, Version 3.1
319
* Written by David Flanagan.
320
* Copyright (c) 1992-2001 by David Flanagan.
321
* All Rights Reserved. See the file COPYRIGHT for details.
322
* This is open source software. See the file LICENSE for details.
323
* There is no warranty for this software. See NO_WARRANTY for details.
326
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
329
! * Revision 1.1 2001/06/21 17:47:46 andre
330
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
331
! * kerberos compilation support
333
! * Revision 1.1 2001/06/12 15:00:21 andre
334
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
335
! * (http://sourceforge.net/projects/motiftools) with
336
! * our xmt212 patches applied
341
#include <X11/IntrinsicP.h>
343
*************** static String button_names[] = {
345
"Done", "DoneButton", "Help", "HelpButton",
346
"No", "NoButton", "Ok", "OkButton", "Okay", "OkayButton",
347
"Reset", "ResetButton", "Stop", "StopButton",
350
! static int button_values[] = {
351
XmtApplyButton, XmtApplyButton, XmtCancelButton, XmtCancelButton,
352
XmtDoneButton, XmtDoneButton, XmtHelpButton, XmtHelpButton,
353
XmtNoButton, XmtNoButton, XmtOkButton, XmtOkButton,
354
XmtOkButton, XmtOkButton, XmtResetButton, XmtResetButton,
355
XmtStopButton, XmtStopButton, XmtYesButton, XmtYesButton,
357
"Done", "DoneButton", "Help", "HelpButton",
358
"No", "NoButton", "Ok", "OkButton", "Okay", "OkayButton",
359
"Reset", "ResetButton", "Stop", "StopButton",
362
! static Cardinal button_values[] = {
363
XmtApplyButton, XmtApplyButton, XmtCancelButton, XmtCancelButton,
364
XmtDoneButton, XmtDoneButton, XmtHelpButton, XmtHelpButton,
365
XmtNoButton, XmtNoButton, XmtOkButton, XmtOkButton,
366
XmtOkButton, XmtOkButton, XmtResetButton, XmtResetButton,
367
XmtStopButton, XmtStopButton, XmtYesButton, XmtYesButton,
368
*************** StringConst help_text_default;
370
data.icon_type = (unsigned char) icon_type_default;
371
data.help_text = (String) help_text_default;
374
/* create the XmStrings */
375
! title = XmtCreateXmString(data.title);
376
! yes_label = XmtCreateXmString(data.yes_label);
377
! no_label = XmtCreateXmString(data.no_label);
378
! cancel_label = XmtCreateXmString(data.cancel_label);
380
/* set icon pixmap and message */
381
XtVaSetValues(info->boolean_internals.icon,
382
XmtNpixmap, GetPixmap(info->boolean_dialog, data.icon_type),
385
data.icon_type = (unsigned char) icon_type_default;
386
data.help_text = (String) help_text_default;
389
/* create the XmStrings */
390
! title = XmtCreateLocalizedXmString(w, data.title);
391
! yes_label = XmtCreateLocalizedXmString(w, data.yes_label);
392
! no_label = XmtCreateLocalizedXmString(w, data.no_label);
393
! cancel_label = XmtCreateLocalizedXmString(w, data.cancel_label);
395
/* set icon pixmap and message */
396
XtVaSetValues(info->boolean_internals.icon,
397
XmtNpixmap, GetPixmap(info->boolean_dialog, data.icon_type),
399
diff -bpcBNC 5 Xmt310/Xmt/AskForFile.c Xmt310.ge/Xmt/AskForFile.c
400
*** Xmt310/Xmt/AskForFile.c Sun Feb 4 22:06:32 2001
401
--- Xmt310.ge/Xmt/AskForFile.c Tue Jun 12 18:11:32 2001
405
* Motif Tools Library, Version 3.1
408
* Written by David Flanagan.
409
* Copyright (c) 1992-2001 by David Flanagan.
410
* All Rights Reserved. See the file COPYRIGHT for details.
411
* This is open source software. See the file LICENSE for details.
412
* There is no warranty for this software. See NO_WARRANTY for details.
415
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
418
! * Revision 1.1 2001/06/21 17:47:46 andre
419
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
420
! * kerberos compilation support
429
* Motif Tools Library, Version 3.1
432
* Written by David Flanagan.
433
* Copyright (c) 1992-2001 by David Flanagan.
434
* All Rights Reserved. See the file COPYRIGHT for details.
435
* This is open source software. See the file LICENSE for details.
436
* There is no warranty for this software. See NO_WARRANTY for details.
439
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
442
! * Revision 1.1 2001/06/21 17:47:46 andre
443
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
444
! * kerberos compilation support
446
! * Revision 1.1 2001/06/12 15:00:21 andre
447
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
448
! * (http://sourceforge.net/projects/motiftools) with
449
! * our xmt212 patches applied
459
#include <Xmt/ScreenP.h>
460
#include <Xmt/DialogsP.h>
461
#include <Xm/DialogS.h>
462
#include <Xm/FileSB.h>
464
+ #include <Xm/List.h>
467
#if NeedFunctionPrototypes
468
static void OpenFileCallback(Widget w, XtPointer tag, XtPointer call_data)
470
*************** Boolean open_file;
472
/* if the directory and pattern are from buffers, use them to override */
473
if (!lookup_directory) data.directory = directory_buffer;
474
if (!lookup_pattern) data.pattern = pattern_buffer;
476
/* create XmStrings */
477
! message = XmtCreateXmString(data.message);
478
! title = XmtCreateXmString(data.title);
479
! directory = XmtCreateXmString(data.directory);
480
! pattern = XmtCreateXmString(data.pattern);
483
* Set XmNdirectory to NULL, so that the next call changes it
484
* and forces the XmFileSelectionBox to re-selected the current dir.
487
/* if the directory and pattern are from buffers, use them to override */
488
if (!lookup_directory) data.directory = directory_buffer;
489
if (!lookup_pattern) data.pattern = pattern_buffer;
491
/* create XmStrings */
492
! message = XmtCreateLocalizedXmString(w, data.message);
493
! title = XmtCreateLocalizedXmString(w, data.title);
494
! directory = XmtCreateLocalizedXmString(w, data.directory);
495
! pattern = XmtCreateLocalizedXmString(w, data.pattern);
498
* Set XmNdirectory to NULL, so that the next call changes it
499
* and forces the XmFileSelectionBox to re-selected the current dir.
501
diff -bpcBNC 5 Xmt310/Xmt/AskForItem.c Xmt310.ge/Xmt/AskForItem.c
502
*** Xmt310/Xmt/AskForItem.c Sun Feb 4 22:33:22 2001
503
--- Xmt310.ge/Xmt/AskForItem.c Tue Jun 12 18:11:32 2001
507
* Motif Tools Library, Version 3.1
510
* Written by David Flanagan.
511
* Copyright (c) 1992-2001 by David Flanagan.
512
* All Rights Reserved. See the file COPYRIGHT for details.
513
* This is open source software. See the file LICENSE for details.
514
* There is no warranty for this software. See NO_WARRANTY for details.
517
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
520
! * Revision 1.1 2001/06/21 17:47:46 andre
521
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
522
! * kerberos compilation support
528
#include <Xmt/ScreenP.h>
529
#include <Xmt/DialogsP.h>
530
#include <Xmt/Converters.h>
531
#include <Xm/DialogS.h>
532
#include <Xm/SelectioB.h>
536
#if NeedFunctionPrototypes
537
static void NoMatchCallback(Widget w, XtPointer tag, XtPointer data)
541
* Motif Tools Library, Version 3.1
544
* Written by David Flanagan.
545
* Copyright (c) 1992-2001 by David Flanagan.
546
* All Rights Reserved. See the file COPYRIGHT for details.
547
* This is open source software. See the file LICENSE for details.
548
* There is no warranty for this software. See NO_WARRANTY for details.
551
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
554
! * Revision 1.1 2001/06/21 17:47:46 andre
555
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
556
! * kerberos compilation support
558
! * Revision 1.1 2001/06/12 15:00:21 andre
559
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
560
! * (http://sourceforge.net/projects/motiftools) with
561
! * our xmt212 patches applied
567
#include <Xmt/ScreenP.h>
568
#include <Xmt/DialogsP.h>
569
#include <Xmt/Converters.h>
570
#include <Xm/DialogS.h>
571
#include <Xm/SelectioB.h>
573
+ #include <Xm/List.h>
576
#if NeedFunctionPrototypes
577
static void NoMatchCallback(Widget w, XtPointer tag, XtPointer data)
579
*************** Boolean return_number;
581
data.help_text = (String) help_text_default;
582
data.visible_items = 8; /* no argument for this one */
585
/* create the XmStrings */
586
! message = XmtCreateXmString(data.message);
587
! title = XmtCreateXmString(data.title);
588
! list_title = XmtCreateXmString(data.list_title);
591
* If we got an items string from the resource db,
592
* it is NULL-terminated, and we need to count the number
593
* of items. Otherwise we can just use num_items_default.
595
data.help_text = (String) help_text_default;
596
data.visible_items = 8; /* no argument for this one */
599
/* create the XmStrings */
600
! message = XmtCreateLocalizedXmString(w, data.message);
601
! title = XmtCreateLocalizedXmString(w, data.title);
602
! list_title = XmtCreateLocalizedXmString(w, data.list_title);
605
* If we got an items string from the resource db,
606
* it is NULL-terminated, and we need to count the number
607
* of items. Otherwise we can just use num_items_default.
608
*************** Boolean return_number;
612
/* convert the list items to XmStrings */
613
item_labels = (XmString *) XtMalloc(num_items * sizeof(XmString));
614
for(i = 0; i < num_items; i++)
615
! item_labels[i] = XmtCreateXmString(data.items[i]);
618
default_item_label = item_labels[*int_return];
619
else if (buffer_return && *buffer_return)
620
! default_item_label = XmtCreateXmString(buffer_return);
622
default_item_label = item_labels[0];
624
/* set resources on the dialog */
625
XtVaSetValues(info->item_dialog,
629
/* convert the list items to XmStrings */
630
item_labels = (XmString *) XtMalloc(num_items * sizeof(XmString));
631
for(i = 0; i < num_items; i++)
632
! item_labels[i] = XmtCreateLocalizedXmString(w, data.items[i]);
635
default_item_label = item_labels[*int_return];
636
else if (buffer_return && *buffer_return)
637
! default_item_label = XmtCreateLocalizedXmString(w, buffer_return);
639
default_item_label = item_labels[0];
641
/* set resources on the dialog */
642
XtVaSetValues(info->item_dialog,
643
diff -bpcBNC 5 Xmt310/Xmt/AskForString.c Xmt310.ge/Xmt/AskForString.c
644
*** Xmt310/Xmt/AskForString.c Sun Feb 4 22:33:28 2001
645
--- Xmt310.ge/Xmt/AskForString.c Tue Jun 12 18:11:32 2001
649
* Motif Tools Library, Version 3.1
652
* Written by David Flanagan.
653
* Copyright (c) 1992-2001 by David Flanagan.
654
* All Rights Reserved. See the file COPYRIGHT for details.
655
* This is open source software. See the file LICENSE for details.
656
* There is no warranty for this software. See NO_WARRANTY for details.
659
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
662
! * Revision 1.1 2001/06/21 17:47:46 andre
663
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
664
! * kerberos compilation support
673
* Motif Tools Library, Version 3.1
676
* Written by David Flanagan.
677
* Copyright (c) 1992-2001 by David Flanagan.
678
* All Rights Reserved. See the file COPYRIGHT for details.
679
* This is open source software. See the file LICENSE for details.
680
* There is no warranty for this software. See NO_WARRANTY for details.
683
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
686
! * Revision 1.1 2001/06/21 17:47:46 andre
687
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
688
! * kerberos compilation support
690
! * Revision 1.1 2001/06/12 15:00:21 andre
691
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
692
! * (http://sourceforge.net/projects/motiftools) with
693
! * our xmt212 patches applied
700
*************** int type;
702
VerifyCallbackStruct client_data_struct;
704
XmString message, title;
707
- Widget text_widget;
708
static String default_string_title;
709
static String default_int_title;
710
static String default_double_title;
712
/* make sure the shell we pop up over is not a menu shell! */
714
*************** int type;
720
/* set resources on the dialog box and the text widget within it. */
721
! message = XmtCreateXmString(data.message);
722
! title = XmtCreateXmString(data.title);
724
XtSetArg(args[i], XmNselectionLabelString, message); i++;
725
XtSetArg(args[i], XmNdialogTitle, title); i++;
726
XtSetValues(info->string_dialog, args, i);
727
XmStringFree(message);
733
/* set resources on the dialog box and the text widget within it. */
734
! message = XmtCreateLocalizedXmString(w, data.message);
735
! title = XmtCreateLocalizedXmString(w, data.title);
737
XtSetArg(args[i], XmNselectionLabelString, message); i++;
738
XtSetArg(args[i], XmNdialogTitle, title); i++;
739
XtSetValues(info->string_dialog, args, i);
740
XmStringFree(message);
741
diff -bpcBNC 5 Xmt310/Xmt/AssertClass.c Xmt310.ge/Xmt/AssertClass.c
742
*** Xmt310/Xmt/AssertClass.c Sun Feb 4 22:33:36 2001
743
--- Xmt310.ge/Xmt/AssertClass.c Tue Jun 12 18:11:32 2001
747
* Motif Tools Library, Version 3.1
750
* Written by David Flanagan.
751
* Copyright (c) 1992-2001 by David Flanagan.
752
* All Rights Reserved. See the file COPYRIGHT for details.
753
* This is open source software. See the file LICENSE for details.
754
* There is no warranty for this software. See NO_WARRANTY for details.
757
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
760
! * Revision 1.1 2001/06/21 17:47:46 andre
761
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
762
! * kerberos compilation support
768
#include <X11/IntrinsicP.h>
771
* Motif Tools Library, Version 3.1
774
* Written by David Flanagan.
775
* Copyright (c) 1992-2001 by David Flanagan.
776
* All Rights Reserved. See the file COPYRIGHT for details.
777
* This is open source software. See the file LICENSE for details.
778
* There is no warranty for this software. See NO_WARRANTY for details.
781
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
784
! * Revision 1.1 2001/06/21 17:47:46 andre
785
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
786
! * kerberos compilation support
788
! * Revision 1.1 2001/06/12 15:00:21 andre
789
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
790
! * (http://sourceforge.net/projects/motiftools) with
791
! * our xmt212 patches applied
797
#include <X11/IntrinsicP.h>
798
*************** void XmtAssertWidgetClass(w, c, procname
805
- extern void abort();
807
if (!XtIsSubclass(w, c)) {
808
XmtWarningMsg("XmtAssertWidgetClass", "typeMismatch",
809
"\n\tA widget of class %s was passed to procedure %s.\n\tA widget of class %s was expected.\n\tAborting.",
810
XtClass(w)->core_class.class_name,
813
diff -bpcBNC 5 Xmt310/Xmt/BSearch.c Xmt310.ge/Xmt/BSearch.c
814
*** Xmt310/Xmt/BSearch.c Sun Feb 4 22:33:52 2001
815
--- Xmt310.ge/Xmt/BSearch.c Tue Jun 12 18:11:32 2001
819
* Motif Tools Library, Version 3.1
822
* Written by David Flanagan.
823
* Copyright (c) 1992-2001 by David Flanagan.
824
* All Rights Reserved. See the file COPYRIGHT for details.
825
* This is open source software. See the file LICENSE for details.
826
* There is no warranty for this software. See NO_WARRANTY for details.
829
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
832
! * Revision 1.1 2001/06/21 17:47:46 andre
833
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
834
! * kerberos compilation support
843
* Motif Tools Library, Version 3.1
846
* Written by David Flanagan.
847
* Copyright (c) 1992-2001 by David Flanagan.
848
* All Rights Reserved. See the file COPYRIGHT for details.
849
* This is open source software. See the file LICENSE for details.
850
* There is no warranty for this software. See NO_WARRANTY for details.
853
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
856
! * Revision 1.1 2001/06/21 17:47:46 andre
857
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
858
! * kerberos compilation support
860
! * Revision 1.1 2001/06/12 15:00:21 andre
861
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
862
! * (http://sourceforge.net/projects/motiftools) with
863
! * our xmt212 patches applied
870
diff -bpcBNC 5 Xmt310/Xmt/BitmapCvt.c Xmt310.ge/Xmt/BitmapCvt.c
871
*** Xmt310/Xmt/BitmapCvt.c Sun Feb 4 22:34:04 2001
872
--- Xmt310.ge/Xmt/BitmapCvt.c Tue Jun 12 18:11:32 2001
876
* Motif Tools Library, Version 3.1
879
* Written by David Flanagan.
880
* Copyright (c) 1992-2001 by David Flanagan.
881
* All Rights Reserved. See the file COPYRIGHT for details.
882
* This is open source software. See the file LICENSE for details.
883
* There is no warranty for this software. See NO_WARRANTY for details.
886
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
889
! * Revision 1.1 2001/06/21 17:47:46 andre
890
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
891
! * kerberos compilation support
897
#include <Xmt/Pixmap.h>
900
* Motif Tools Library, Version 3.1
903
* Written by David Flanagan.
904
* Copyright (c) 1992-2001 by David Flanagan.
905
* All Rights Reserved. See the file COPYRIGHT for details.
906
* This is open source software. See the file LICENSE for details.
907
* There is no warranty for this software. See NO_WARRANTY for details.
910
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
913
! * Revision 1.1 2001/06/21 17:47:46 andre
914
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
915
! * kerberos compilation support
917
! * Revision 1.1 2001/06/12 15:00:21 andre
918
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
919
! * (http://sourceforge.net/projects/motiftools) with
920
! * our xmt212 patches applied
926
#include <Xmt/Pixmap.h>
927
diff -bpcBNC 5 Xmt310/Xmt/Block.c Xmt310.ge/Xmt/Block.c
928
*** Xmt310/Xmt/Block.c Sun Feb 4 22:34:10 2001
929
--- Xmt310.ge/Xmt/Block.c Tue Jun 12 18:11:32 2001
933
* Motif Tools Library, Version 3.1
936
* Written by David Flanagan.
937
* Copyright (c) 1992-2001 by David Flanagan.
938
* All Rights Reserved. See the file COPYRIGHT for details.
939
* This is open source software. See the file LICENSE for details.
940
* There is no warranty for this software. See NO_WARRANTY for details.
943
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
946
! * Revision 1.1 2001/06/21 17:47:46 andre
947
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
948
! * kerberos compilation support
957
* Motif Tools Library, Version 3.1
960
* Written by David Flanagan.
961
* Copyright (c) 1992-2001 by David Flanagan.
962
* All Rights Reserved. See the file COPYRIGHT for details.
963
* This is open source software. See the file LICENSE for details.
964
* There is no warranty for this software. See NO_WARRANTY for details.
967
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
970
! * Revision 1.1 2001/06/21 17:47:46 andre
971
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
972
! * kerberos compilation support
974
! * Revision 1.1 2001/06/12 15:00:21 andre
975
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
976
! * (http://sourceforge.net/projects/motiftools) with
977
! * our xmt212 patches applied
984
Common subdirectories: Xmt310/Xmt/CVS and Xmt310.ge/Xmt/CVS
985
diff -bpcBNC 5 Xmt310/Xmt/CallbackCvt.c Xmt310.ge/Xmt/CallbackCvt.c
986
*** Xmt310/Xmt/CallbackCvt.c Sun Feb 4 22:34:24 2001
987
--- Xmt310.ge/Xmt/CallbackCvt.c Tue Jun 12 18:11:32 2001
991
* Motif Tools Library, Version 3.1
994
* Written by David Flanagan.
995
* Copyright (c) 1992-2001 by David Flanagan.
996
* All Rights Reserved. See the file COPYRIGHT for details.
997
* This is open source software. See the file LICENSE for details.
998
* There is no warranty for this software. See NO_WARRANTY for details.
1001
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1002
! * Initial checkin.
1004
! * Revision 1.1 2001/06/21 17:47:46 andre
1005
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1006
! * kerberos compilation support
1011
#include <Xmt/Xmt.h>
1012
#include <Xmt/ProceduresP.h>
1015
* Motif Tools Library, Version 3.1
1018
* Written by David Flanagan.
1019
* Copyright (c) 1992-2001 by David Flanagan.
1020
* All Rights Reserved. See the file COPYRIGHT for details.
1021
* This is open source software. See the file LICENSE for details.
1022
* There is no warranty for this software. See NO_WARRANTY for details.
1025
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1026
! * Initial checkin.
1028
! * Revision 1.1 2001/06/21 17:47:46 andre
1029
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1030
! * kerberos compilation support
1032
! * Revision 1.1 2001/06/12 15:00:21 andre
1033
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
1034
! * (http://sourceforge.net/projects/motiftools) with
1035
! * our xmt212 patches applied
1040
#include <Xmt/Xmt.h>
1041
#include <Xmt/ProceduresP.h>
1042
diff -bpcBNC 5 Xmt310/Xmt/CheckFormat.c Xmt310.ge/Xmt/CheckFormat.c
1043
*** Xmt310/Xmt/CheckFormat.c Sun Feb 4 22:34:30 2001
1044
--- Xmt310.ge/Xmt/CheckFormat.c Tue Jun 12 18:11:32 2001
1048
* Motif Tools Library, Version 3.1
1051
* Written by David Flanagan.
1052
* Copyright (c) 1992-2001 by David Flanagan.
1053
* All Rights Reserved. See the file COPYRIGHT for details.
1054
* This is open source software. See the file LICENSE for details.
1055
* There is no warranty for this software. See NO_WARRANTY for details.
1058
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1059
! * Initial checkin.
1061
! * Revision 1.1 2001/06/21 17:47:46 andre
1062
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1063
! * kerberos compilation support
1068
#include <Xmt/Xmt.h>
1072
* Motif Tools Library, Version 3.1
1075
* Written by David Flanagan.
1076
* Copyright (c) 1992-2001 by David Flanagan.
1077
* All Rights Reserved. See the file COPYRIGHT for details.
1078
* This is open source software. See the file LICENSE for details.
1079
* There is no warranty for this software. See NO_WARRANTY for details.
1082
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1083
! * Initial checkin.
1085
! * Revision 1.1 2001/06/21 17:47:46 andre
1086
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1087
! * kerberos compilation support
1089
! * Revision 1.1 2001/06/12 15:00:21 andre
1090
! * AA-2001-06-12-0: replaced Xmt212 by Xmt310
1091
! * (http://sourceforge.net/projects/motiftools) with
1092
! * our xmt212 patches applied
1097
#include <Xmt/Xmt.h>
1099
diff -bpcBNC 5 Xmt310/Xmt/Chooser.c Xmt310.ge/Xmt/Chooser.c
1100
*** Xmt310/Xmt/Chooser.c Sun Feb 4 22:34:50 2001
1101
--- Xmt310.ge/Xmt/Chooser.c Tue Jun 12 18:25:28 2001
1105
* Motif Tools Library, Version 3.1
1108
* Written by David Flanagan.
1109
* Copyright (c) 1992-2001 by David Flanagan.
1110
* All Rights Reserved. See the file COPYRIGHT for details.
1111
* This is open source software. See the file LICENSE for details.
1112
* There is no warranty for this software. See NO_WARRANTY for details.
1115
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1116
! * Initial checkin.
1118
! * Revision 1.1 2001/06/21 17:47:46 andre
1119
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1120
! * kerberos compilation support
1129
* Motif Tools Library, Version 3.1
1132
* Written by David Flanagan.
1133
* Copyright (c) 1992-2001 by David Flanagan.
1134
* All Rights Reserved. See the file COPYRIGHT for details.
1135
* This is open source software. See the file LICENSE for details.
1136
* There is no warranty for this software. See NO_WARRANTY for details.
1139
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1140
! * Initial checkin.
1142
! * Revision 1.1 2001/06/21 17:47:46 andre
1143
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1144
! * kerberos compilation support
1146
! * Revision 1.2 2001/06/12 16:25:28 andre
1147
! * *** empty log message ***
1154
*************** static void CopyValues(XmtChooserWidget
1156
static void CopyValues(cw)
1157
XmtChooserWidget cw;
1161
! int size = cw->chooser.num_items * cw->chooser.value_size;
1163
/* if XmtNvalues is set, be sure to ignore XmtNvalueStrings */
1164
cw->chooser.value_strings = NULL;
1166
values = XtMalloc(size);
1168
static void CopyValues(cw)
1169
XmtChooserWidget cw;
1173
! size_t size = cw->chooser.num_items * cw->chooser.value_size;
1175
/* if XmtNvalues is set, be sure to ignore XmtNvalueStrings */
1176
cw->chooser.value_strings = NULL;
1178
values = XtMalloc(size);
1179
*************** static void ClassInitialize()
1181
#if XmVersion >= 2000
1184
"Option", "RadioBox", "RadioList", "RadioPalette"
1186
! static int values[] = {
1187
XmtChooserButtonBox, XmtChooserCheckBox, XmtChooserCheckList,
1188
XmtChooserCheckPalette,
1189
#if XmVersion >= 2000
1193
#if XmVersion >= 2000
1196
"Option", "RadioBox", "RadioList", "RadioPalette"
1198
! static Cardinal values[] = {
1199
XmtChooserButtonBox, XmtChooserCheckBox, XmtChooserCheckList,
1200
XmtChooserCheckPalette,
1201
#if XmVersion >= 2000
1204
*************** Cardinal *num_args;
1206
/* create the label XmStrings in string mode */
1207
if (nw->chooser.label_type == XmSTRING) {
1208
item_labels = (XmString *)
1209
XtMalloc(nw->chooser.num_items*sizeof(XmString));
1210
for(i = 0; i < nw->chooser.num_items; i++)
1211
! item_labels[i] = XmtCreateXmString(nw->chooser.strings[i]);
1215
* Create the widgets. Option menus are handled separately.
1218
/* create the label XmStrings in string mode */
1219
if (nw->chooser.label_type == XmSTRING) {
1220
item_labels = (XmString *)
1221
XtMalloc(nw->chooser.num_items*sizeof(XmString));
1222
for(i = 0; i < nw->chooser.num_items; i++)
1223
! item_labels[i] = XmtCreateLocalizedXmString((Widget) nw, nw->chooser.strings[i]);
1227
* Create the widgets. Option menus are handled separately.
1229
diff -bpcBNC 5 Xmt310/Xmt/Chooser.h Xmt310.ge/Xmt/Chooser.h
1230
*** Xmt310/Xmt/Chooser.h Sun Feb 4 22:34:56 2001
1231
--- Xmt310.ge/Xmt/Chooser.h Tue Jun 12 18:25:28 2001
1235
* Motif Tools Library, Version 3.1
1238
* Written by David Flanagan.
1239
* Copyright (c) 1992-2001 by David Flanagan.
1240
* All Rights Reserved. See the file COPYRIGHT for details.
1241
* This is open source software. See the file LICENSE for details.
1242
* There is no warranty for this software. See NO_WARRANTY for details.
1245
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1246
! * Initial checkin.
1248
! * Revision 1.1 2001/06/21 17:47:46 andre
1249
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1250
! * kerberos compilation support
1255
#ifndef _XmtChooser_h
1256
#define _XmtChooser_h
1259
* Motif Tools Library, Version 3.1
1262
* Written by David Flanagan.
1263
* Copyright (c) 1992-2001 by David Flanagan.
1264
* All Rights Reserved. See the file COPYRIGHT for details.
1265
* This is open source software. See the file LICENSE for details.
1266
* There is no warranty for this software. See NO_WARRANTY for details.
1269
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1270
! * Initial checkin.
1272
! * Revision 1.1 2001/06/21 17:47:46 andre
1273
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1274
! * kerberos compilation support
1276
! * Revision 1.2 2001/06/12 16:25:28 andre
1277
! * *** empty log message ***
1282
#ifndef _XmtChooser_h
1283
#define _XmtChooser_h
1284
*************** typedef enum {
1290
int state; /* selected item or OR of items */
1291
! int item; /* whichever item just was clicked */
1292
XtPointer valuep; /* address of value from XmtNvalues array */
1293
} XmtChooserCallbackStruct;
1295
externalref WidgetClass xmtChooserWidgetClass;
1296
typedef struct _XmtChooserClassRec *XmtChooserWidgetClass;
1302
int state; /* selected item or OR of items */
1303
! Cardinal item; /* whichever item just was clicked */
1304
XtPointer valuep; /* address of value from XmtNvalues array */
1305
} XmtChooserCallbackStruct;
1307
externalref WidgetClass xmtChooserWidgetClass;
1308
typedef struct _XmtChooserClassRec *XmtChooserWidgetClass;
1309
diff -bpcBNC 5 Xmt310/Xmt/ChooserP.h Xmt310.ge/Xmt/ChooserP.h
1310
*** Xmt310/Xmt/ChooserP.h Sun Feb 4 22:35:02 2001
1311
--- Xmt310.ge/Xmt/ChooserP.h Tue Jun 12 18:25:28 2001
1315
* Motif Tools Library, Version 3.1
1318
* Written by David Flanagan.
1319
* Copyright (c) 1992-2001 by David Flanagan.
1320
* All Rights Reserved. See the file COPYRIGHT for details.
1321
* This is open source software. See the file LICENSE for details.
1322
* There is no warranty for this software. See NO_WARRANTY for details.
1325
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1326
! * Initial checkin.
1328
! * Revision 1.1 2001/06/21 17:47:46 andre
1329
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1330
! * kerberos compilation support
1335
#ifndef _XmtChooserP_h
1336
#define _XmtChooserP_h
1339
* Motif Tools Library, Version 3.1
1342
* Written by David Flanagan.
1343
* Copyright (c) 1992-2001 by David Flanagan.
1344
* All Rights Reserved. See the file COPYRIGHT for details.
1345
* This is open source software. See the file LICENSE for details.
1346
* There is no warranty for this software. See NO_WARRANTY for details.
1349
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1350
! * Initial checkin.
1352
! * Revision 1.1 2001/06/21 17:47:46 andre
1353
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1354
! * kerberos compilation support
1356
! * Revision 1.2 2001/06/12 16:25:28 andre
1357
! * *** empty log message ***
1362
#ifndef _XmtChooserP_h
1363
#define _XmtChooserP_h
1364
*************** typedef struct _XmtChooserClassRec {
1366
externalref XmtChooserClassRec xmtChooserClassRec;
1368
typedef struct _XmtChooserPart {
1370
XmtChooserType type;
1374
Pixmap *select_pixmaps;
1375
Pixmap *insensitive_pixmaps;
1377
String *value_strings;
1380
XmFontList font_list;
1381
#if XmVersion >= 2000
1382
XmRenderTable render_table;
1384
! int visible_items;
1387
unsigned char label_type;
1388
XtCallbackList callback;
1389
Widget *item_widgets;
1391
externalref XmtChooserClassRec xmtChooserClassRec;
1393
typedef struct _XmtChooserPart {
1395
XmtChooserType type;
1396
! Cardinal num_items;
1399
Pixmap *select_pixmaps;
1400
Pixmap *insensitive_pixmaps;
1402
String *value_strings;
1404
! Cardinal value_size;
1405
XmFontList font_list;
1406
#if XmVersion >= 2000
1407
XmRenderTable render_table;
1409
! Cardinal visible_items;
1412
unsigned char label_type;
1413
XtCallbackList callback;
1414
Widget *item_widgets;
1415
diff -bpcBNC 5 Xmt310/Xmt/ChooserS.c Xmt310.ge/Xmt/ChooserS.c
1416
*** Xmt310/Xmt/ChooserS.c Sun Feb 4 22:35:10 2001
1417
--- Xmt310.ge/Xmt/ChooserS.c Tue Jun 12 18:25:28 2001
1421
* Motif Tools Library, Version 3.1
1424
* Written by David Flanagan.
1425
* Copyright (c) 1992-2001 by David Flanagan.
1426
* All Rights Reserved. See the file COPYRIGHT for details.
1427
* This is open source software. See the file LICENSE for details.
1428
* There is no warranty for this software. See NO_WARRANTY for details.
1431
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1432
! * Initial checkin.
1434
! * Revision 1.1 2001/06/21 17:47:46 andre
1435
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1436
! * kerberos compilation support
1440
#include <X11/Intrinsic.h>
1442
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
1445
* Motif Tools Library, Version 3.1
1448
* Written by David Flanagan.
1449
* Copyright (c) 1992-2001 by David Flanagan.
1450
* All Rights Reserved. See the file COPYRIGHT for details.
1451
* This is open source software. See the file LICENSE for details.
1452
* There is no warranty for this software. See NO_WARRANTY for details.
1455
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1456
! * Initial checkin.
1458
! * Revision 1.1 2001/06/21 17:47:46 andre
1459
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1460
! * kerberos compilation support
1462
! * Revision 1.2 2001/06/12 16:25:28 andre
1463
! * *** empty log message ***
1467
#include <X11/Intrinsic.h>
1469
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
1470
diff -bpcBNC 5 Xmt310/Xmt/Cli.c Xmt310.ge/Xmt/Cli.c
1471
*** Xmt310/Xmt/Cli.c Sun Feb 4 22:35:22 2001
1472
--- Xmt310.ge/Xmt/Cli.c Tue Jun 12 18:25:28 2001
1476
* Motif Tools Library, Version 3.1
1479
* Written by David Flanagan.
1480
* Copyright (c) 1992-2001 by David Flanagan.
1481
* All Rights Reserved. See the file COPYRIGHT for details.
1482
* This is open source software. See the file LICENSE for details.
1483
* There is no warranty for this software. See NO_WARRANTY for details.
1486
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1487
! * Initial checkin.
1489
! * Revision 1.1 2001/06/21 17:47:46 andre
1490
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1491
! * kerberos compilation support
1497
* Portions of this file are based upon work done by David Flanagan while
1500
* Motif Tools Library, Version 3.1
1503
* Written by David Flanagan.
1504
* Copyright (c) 1992-2001 by David Flanagan.
1505
* All Rights Reserved. See the file COPYRIGHT for details.
1506
* This is open source software. See the file LICENSE for details.
1507
* There is no warranty for this software. See NO_WARRANTY for details.
1510
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1511
! * Initial checkin.
1513
! * Revision 1.1 2001/06/21 17:47:46 andre
1514
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1515
! * kerberos compilation support
1517
! * Revision 1.2 2001/06/12 16:25:28 andre
1518
! * *** empty log message ***
1524
* Portions of this file are based upon work done by David Flanagan while
1525
diff -bpcBNC 5 Xmt310/Xmt/Cli.h Xmt310.ge/Xmt/Cli.h
1526
*** Xmt310/Xmt/Cli.h Sun Feb 4 22:35:32 2001
1527
--- Xmt310.ge/Xmt/Cli.h Tue Jun 12 18:25:28 2001
1531
* Motif Tools Library, Version 3.1
1534
* Written by David Flanagan.
1535
* Copyright (c) 1992-2001 by David Flanagan.
1536
* All Rights Reserved. See the file COPYRIGHT for details.
1537
* This is open source software. See the file LICENSE for details.
1538
* There is no warranty for this software. See NO_WARRANTY for details.
1541
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1542
! * Initial checkin.
1544
! * Revision 1.1 2001/06/21 17:47:46 andre
1545
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1546
! * kerberos compilation support
1555
* Motif Tools Library, Version 3.1
1558
* Written by David Flanagan.
1559
* Copyright (c) 1992-2001 by David Flanagan.
1560
* All Rights Reserved. See the file COPYRIGHT for details.
1561
* This is open source software. See the file LICENSE for details.
1562
* There is no warranty for this software. See NO_WARRANTY for details.
1565
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1566
! * Initial checkin.
1568
! * Revision 1.1 2001/06/21 17:47:46 andre
1569
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1570
! * kerberos compilation support
1572
! * Revision 1.2 2001/06/12 16:25:28 andre
1573
! * *** empty log message ***
1580
diff -bpcBNC 5 Xmt310/Xmt/CliP.h Xmt310.ge/Xmt/CliP.h
1581
*** Xmt310/Xmt/CliP.h Sun Feb 4 22:35:38 2001
1582
--- Xmt310.ge/Xmt/CliP.h Tue Jun 12 18:25:28 2001
1586
* Motif Tools Library, Version 3.1
1589
* Written by David Flanagan.
1590
* Copyright (c) 1992-2001 by David Flanagan.
1591
* All Rights Reserved. See the file COPYRIGHT for details.
1592
* This is open source software. See the file LICENSE for details.
1593
* There is no warranty for this software. See NO_WARRANTY for details.
1596
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1597
! * Initial checkin.
1599
! * Revision 1.1 2001/06/21 17:47:46 andre
1600
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1601
! * kerberos compilation support
1610
* Motif Tools Library, Version 3.1
1613
* Written by David Flanagan.
1614
* Copyright (c) 1992-2001 by David Flanagan.
1615
* All Rights Reserved. See the file COPYRIGHT for details.
1616
* This is open source software. See the file LICENSE for details.
1617
* There is no warranty for this software. See NO_WARRANTY for details.
1620
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1621
! * Initial checkin.
1623
! * Revision 1.1 2001/06/21 17:47:46 andre
1624
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1625
! * kerberos compilation support
1627
! * Revision 1.2 2001/06/12 16:25:28 andre
1628
! * *** empty log message ***
1635
diff -bpcBNC 5 Xmt310/Xmt/CliS.c Xmt310.ge/Xmt/CliS.c
1636
*** Xmt310/Xmt/CliS.c Sun Feb 4 22:35:42 2001
1637
--- Xmt310.ge/Xmt/CliS.c Tue Jun 12 18:25:28 2001
1641
* Motif Tools Library, Version 3.1
1644
* Written by David Flanagan.
1645
* Copyright (c) 1992-2001 by David Flanagan.
1646
* All Rights Reserved. See the file COPYRIGHT for details.
1647
* This is open source software. See the file LICENSE for details.
1648
* There is no warranty for this software. See NO_WARRANTY for details.
1651
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1652
! * Initial checkin.
1654
! * Revision 1.1 2001/06/21 17:47:46 andre
1655
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1656
! * kerberos compilation support
1660
#include <X11/Intrinsic.h>
1662
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
1665
* Motif Tools Library, Version 3.1
1668
* Written by David Flanagan.
1669
* Copyright (c) 1992-2001 by David Flanagan.
1670
* All Rights Reserved. See the file COPYRIGHT for details.
1671
* This is open source software. See the file LICENSE for details.
1672
* There is no warranty for this software. See NO_WARRANTY for details.
1675
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1676
! * Initial checkin.
1678
! * Revision 1.1 2001/06/21 17:47:46 andre
1679
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1680
! * kerberos compilation support
1682
! * Revision 1.2 2001/06/12 16:25:28 andre
1683
! * *** empty log message ***
1687
#include <X11/Intrinsic.h>
1689
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
1690
diff -bpcBNC 5 Xmt310/Xmt/Color.c Xmt310.ge/Xmt/Color.c
1691
*** Xmt310/Xmt/Color.c Sun Feb 4 22:35:58 2001
1692
--- Xmt310.ge/Xmt/Color.c Tue Jun 12 18:25:28 2001
1696
* Motif Tools Library, Version 3.1
1699
* Written by David Flanagan.
1700
* Copyright (c) 1992-2001 by David Flanagan.
1701
* All Rights Reserved. See the file COPYRIGHT for details.
1702
* This is open source software. See the file LICENSE for details.
1703
* There is no warranty for this software. See NO_WARRANTY for details.
1706
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1707
! * Initial checkin.
1709
! * Revision 1.1 2001/06/21 17:47:46 andre
1710
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1711
! * kerberos compilation support
1717
#include <Xmt/Xmt.h>
1720
* Motif Tools Library, Version 3.1
1723
* Written by David Flanagan.
1724
* Copyright (c) 1992-2001 by David Flanagan.
1725
* All Rights Reserved. See the file COPYRIGHT for details.
1726
* This is open source software. See the file LICENSE for details.
1727
* There is no warranty for this software. See NO_WARRANTY for details.
1730
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1731
! * Initial checkin.
1733
! * Revision 1.1 2001/06/21 17:47:46 andre
1734
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1735
! * kerberos compilation support
1737
! * Revision 1.2 2001/06/12 16:25:28 andre
1738
! * *** empty log message ***
1744
#include <Xmt/Xmt.h>
1749
extern long int strtol();
1753
+ ** undefine if you don't want the full colormap fix
1754
+ ** contributed by Glenn Carr
1756
+ #define CLOSEST_COLOR
1760
* HSL color syntax: H / S / L, where H, S, and L are integers
1761
* with an optional leading '+' or '-'. Whitespace is okay.
1763
#if NeedFunctionPrototypes
1764
static Boolean ParseHSLColor(StringConst name, XColor *c,
1765
*************** Boolean is_foreground;
1769
c->flags = DoRed | DoGreen | DoBlue;
1773
+ #ifdef CLOSEST_COLOR
1775
+ /* Legal Garbage: I borrowed the basis of this code from the...
1778
+ * by John Ousterhout (and many others at Sun Microsystems and elsewhere)
1779
+ * john.ousterhout@eng.sun.com
1781
+ * This software is copyrighted by the Regents of the University of
1782
+ * California, Sun Microsystems, Inc., and other parties. The following
1783
+ * terms apply to all files associated with the software unless explicitly
1784
+ * disclaimed in individual files.
1786
+ * The authors hereby grant permission to use, copy, modify, distribute,
1787
+ * and license this software and its documentation for any purpose, provided
1788
+ * that existing copyright notices are retained in all copies and that this
1789
+ * notice is included verbatim in any distributions. No written agreement,
1790
+ * license, or royalty fee is required for any of the authorized uses.
1791
+ * Modifications to this software may be copyrighted by their authors
1792
+ * and need not follow the licensing terms described here, provided that
1793
+ * the new terms are clearly indicated on the first page of each file where
1796
+ * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
1797
+ * FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
1798
+ * ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
1799
+ * DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
1800
+ * POSSIBILITY OF SUCH DAMAGE.
1802
+ * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
1803
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
1804
+ * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
1805
+ * IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
1806
+ * NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
1809
+ * RESTRICTED RIGHTS: Use, duplication or disclosure by the government
1810
+ * is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
1811
+ * of the Rights in Technical Data and Computer Software Clause as DFARS
1812
+ * 252.227-7013 and FAR 52.227-19.
1815
+ #if NeedFunctionPrototypes
1817
+ FindClosestColor(Screen * screen,
1818
+ Colormap colormap,
1819
+ XColor * pxcolorDesired,
1820
+ XColor * pxcolorActual)
1823
+ FindClosestColor(screen, colormap, pxcolorDesired, pxcolorActual)
1825
+ Colormap colormap;
1826
+ XColor * pxcolorDesired;
1827
+ XColor * pxcolorActual;
1830
+ float closestDistance, distance, tmp;
1831
+ Display *dpy = DisplayOfScreen(screen);
1832
+ XtAppContext appContext = XtDisplayToApplicationContext(dpy);
1833
+ Visual *pvisual = XDefaultVisualOfScreen(screen);
1834
+ static XColor *pxcolors;
1836
+ int nColors = pvisual->map_entries;
1839
+ * Get all the colors from the colormap. These should all be
1840
+ * allocated, otherwise we wouldn't be here.
1842
+ if (NULL == pxcolors) {
1843
+ pxcolors = calloc(nColors, sizeof(*pxcolors));
1844
+ for (i = 0; i < nColors; i++)
1845
+ pxcolors[i].pixel = i;
1847
+ XQueryColors(dpy, colormap, pxcolors, pvisual->map_entries);
1849
+ while (nColors > 0) {
1850
+ closestDistance = 1e30;
1852
+ for (i = 0; i < nColors; i++) {
1854
+ * Use Euclidean distance in RGB space, weighted by Y (of YIQ)
1855
+ * as the objective function; this accounts for differences
1856
+ * in the color sensitivity of the eye.
1858
+ tmp = .30 * (((int) pxcolorDesired->red) - (int) pxcolors[i].red);
1859
+ distance = tmp * tmp;
1860
+ tmp = .61 * (((int) pxcolorDesired->green) - (int) pxcolors[i].green);
1861
+ distance += tmp * tmp;
1862
+ tmp = .11 * (((int) pxcolorDesired->blue) - (int) pxcolors[i].blue);
1863
+ distance += tmp * tmp;
1864
+ if (distance < closestDistance) {
1866
+ closestDistance = distance;
1869
+ if (XAllocColor(dpy, colormap, &pxcolors[closest])) {
1870
+ *pxcolorActual = pxcolors[closest];
1873
+ pxcolors[closest] = pxcolors[nColors - 1];
1878
+ * Should never get here, but just in case...
1882
+ Cardinal num_params = 1;
1885
+ params[0] = szColor;
1887
+ sprintf(szColor, "#%04x%04x%04x",
1888
+ pxcolorDesired->red,
1889
+ pxcolorDesired->green,
1890
+ pxcolorDesired->blue);
1892
+ XtAppWarningMsg(appContext, "badValue", "cvtStringToPixel",
1893
+ "FindClosestColor",
1894
+ "Can't find approximation for color \"%s\"",
1895
+ params, &num_params);
1898
+ } /* FindClosestColor */
1902
* This function allocates the named color, using the specified
1903
* colormap, visual, and color table. The widget argument is
1904
* used only to obtain the display, and application resoruces.
1905
* If the colormap, visual, or color table are unspecified, the
1906
*************** Pixel *pixel_return;
1909
Colormap root_colormap = shell->core.colormap;
1910
XmtAppResources *appres = XmtGetApplicationResources(shell);
1911
Boolean is_foreground = (name[0] == '+');
1914
+ #ifdef CLOSEST_COLOR
1915
+ Screen* screen = XtScreen(w);
1919
/* get default values for unspecified values */
1920
while(!XtIsWidget(w)) w = XtParent(w);
1921
if (cmap == None) cmap = w->core.colormap;
1922
if (visual == NULL) visual = XmtGetVisual(w);
1923
if (ctable == NULL) ctable = appres->colortable;
1924
*************** Pixel *pixel_return;
1927
* Otherwise, it is a color name, or and Xcms color specification,
1928
* and is converted with XAllocNamedColor()
1930
if (name[0] == '#') {
1931
if (XParseColor(dpy, cmap, name, &c1) == 0) return 1;
1932
+ #ifdef CLOSEST_COLOR
1933
+ if (XAllocColor(dpy, cmap, &c1) == 0)
1934
+ FindClosestColor(screen, cmap, &c1, &c1);
1936
if (XAllocColor(dpy, cmap, &c1) == 0) return 2;
1938
*pixel_return = c1.pixel;
1941
else if (name[0] == '%') {
1942
if (ParseHSLColor(&name[1], &c1, appres, is_foreground) == False)
1944
+ #ifdef CLOSEST_COLOR
1945
+ if (XAllocColor(dpy, cmap, &c1) == 0)
1946
+ FindClosestColor(screen, cmap, &c1, &c1);
1948
if (XAllocColor(dpy, cmap, &c1) == 0) return 2;
1950
*pixel_return = c1.pixel;
1953
else if (name[0] == '$') { /* lookup symbolic colors by recursing */
1955
*************** Pixel *pixel_return;
1958
if (XAllocNamedColor(dpy, cmap, name, &c1, &c2)) {
1959
*pixel_return = c1.pixel;
1963
+ #ifdef CLOSEST_COLOR
1964
+ if (XLookupColor(dpy, cmap, name, &c1, &c2)) {
1965
+ FindClosestColor(screen, cmap, &c2, &c2);
1966
+ *pixel_return = c2.pixel;
1970
if (XLookupColor(dpy, cmap, name, &c1, &c2)) return 2;
1977
diff -bpcBNC 5 Xmt310/Xmt/Color.h Xmt310.ge/Xmt/Color.h
1978
*** Xmt310/Xmt/Color.h Sun Feb 4 22:36:12 2001
1979
--- Xmt310.ge/Xmt/Color.h Tue Jun 12 18:25:28 2001
1983
* Motif Tools Library, Version 3.1
1986
* Written by David Flanagan.
1987
* Copyright (c) 1992-2001 by David Flanagan.
1988
* All Rights Reserved. See the file COPYRIGHT for details.
1989
* This is open source software. See the file LICENSE for details.
1990
* There is no warranty for this software. See NO_WARRANTY for details.
1993
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1994
! * Initial checkin.
1996
! * Revision 1.1 2001/06/21 17:47:46 andre
1997
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
1998
! * kerberos compilation support
2007
* Motif Tools Library, Version 3.1
2010
* Written by David Flanagan.
2011
* Copyright (c) 1992-2001 by David Flanagan.
2012
* All Rights Reserved. See the file COPYRIGHT for details.
2013
* This is open source software. See the file LICENSE for details.
2014
* There is no warranty for this software. See NO_WARRANTY for details.
2017
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2018
! * Initial checkin.
2020
! * Revision 1.1 2001/06/21 17:47:46 andre
2021
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2022
! * kerberos compilation support
2024
! * Revision 1.2 2001/06/12 16:25:28 andre
2025
! * *** empty log message ***
2032
diff -bpcBNC 5 Xmt310/Xmt/ColorTable.c Xmt310.ge/Xmt/ColorTable.c
2033
*** Xmt310/Xmt/ColorTable.c Sun Feb 4 22:36:20 2001
2034
--- Xmt310.ge/Xmt/ColorTable.c Tue Jun 12 18:25:28 2001
2038
* Motif Tools Library, Version 3.1
2041
* Written by David Flanagan.
2042
* Copyright (c) 1992-2001 by David Flanagan.
2043
* All Rights Reserved. See the file COPYRIGHT for details.
2044
* This is open source software. See the file LICENSE for details.
2045
* There is no warranty for this software. See NO_WARRANTY for details.
2048
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2049
! * Initial checkin.
2051
! * Revision 1.1 2001/06/21 17:47:46 andre
2052
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2053
! * kerberos compilation support
2058
#include <Xmt/Xmt.h>
2059
#include <Xmt/Hash.h>
2062
* Motif Tools Library, Version 3.1
2065
* Written by David Flanagan.
2066
* Copyright (c) 1992-2001 by David Flanagan.
2067
* All Rights Reserved. See the file COPYRIGHT for details.
2068
* This is open source software. See the file LICENSE for details.
2069
* There is no warranty for this software. See NO_WARRANTY for details.
2072
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2073
! * Initial checkin.
2075
! * Revision 1.1 2001/06/21 17:47:46 andre
2076
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2077
! * kerberos compilation support
2079
! * Revision 1.2 2001/06/12 16:25:28 andre
2080
! * *** empty log message ***
2085
#include <Xmt/Xmt.h>
2086
#include <Xmt/Hash.h>
2087
diff -bpcBNC 5 Xmt310/Xmt/ColorTblCvt.c Xmt310.ge/Xmt/ColorTblCvt.c
2088
*** Xmt310/Xmt/ColorTblCvt.c Sun Feb 4 22:36:24 2001
2089
--- Xmt310.ge/Xmt/ColorTblCvt.c Tue Jun 12 18:25:28 2001
2093
* Motif Tools Library, Version 3.1
2096
* Written by David Flanagan.
2097
* Copyright (c) 1992-2001 by David Flanagan.
2098
* All Rights Reserved. See the file COPYRIGHT for details.
2099
* This is open source software. See the file LICENSE for details.
2100
* There is no warranty for this software. See NO_WARRANTY for details.
2103
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2104
! * Initial checkin.
2106
! * Revision 1.1 2001/06/21 17:47:46 andre
2107
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2108
! * kerberos compilation support
2114
#include <Xmt/Xmt.h>
2117
* Motif Tools Library, Version 3.1
2120
* Written by David Flanagan.
2121
* Copyright (c) 1992-2001 by David Flanagan.
2122
* All Rights Reserved. See the file COPYRIGHT for details.
2123
* This is open source software. See the file LICENSE for details.
2124
* There is no warranty for this software. See NO_WARRANTY for details.
2127
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2128
! * Initial checkin.
2130
! * Revision 1.1 2001/06/21 17:47:46 andre
2131
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2132
! * kerberos compilation support
2134
! * Revision 1.2 2001/06/12 16:25:28 andre
2135
! * *** empty log message ***
2141
#include <Xmt/Xmt.h>
2142
diff -bpcBNC 5 Xmt310/Xmt/ContextHelp.c Xmt310.ge/Xmt/ContextHelp.c
2143
*** Xmt310/Xmt/ContextHelp.c Sun Feb 4 22:36:30 2001
2144
--- Xmt310.ge/Xmt/ContextHelp.c Tue Jun 12 18:25:28 2001
2148
* Motif Tools Library, Version 3.1
2151
* Written by David Flanagan.
2152
* Copyright (c) 1992-2001 by David Flanagan.
2153
* All Rights Reserved. See the file COPYRIGHT for details.
2154
* This is open source software. See the file LICENSE for details.
2155
* There is no warranty for this software. See NO_WARRANTY for details.
2158
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2159
! * Initial checkin.
2161
! * Revision 1.1 2001/06/21 17:47:46 andre
2162
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2163
! * kerberos compilation support
2168
#include <Xmt/Xmt.h>
2169
#include <Xmt/Help.h>
2172
* Motif Tools Library, Version 3.1
2175
* Written by David Flanagan.
2176
* Copyright (c) 1992-2001 by David Flanagan.
2177
* All Rights Reserved. See the file COPYRIGHT for details.
2178
* This is open source software. See the file LICENSE for details.
2179
* There is no warranty for this software. See NO_WARRANTY for details.
2182
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2183
! * Initial checkin.
2185
! * Revision 1.1 2001/06/21 17:47:46 andre
2186
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2187
! * kerberos compilation support
2189
! * Revision 1.2 2001/06/12 16:25:28 andre
2190
! * *** empty log message ***
2195
#include <Xmt/Xmt.h>
2196
#include <Xmt/Help.h>
2197
diff -bpcBNC 5 Xmt310/Xmt/ConvertData.c Xmt310.ge/Xmt/ConvertData.c
2198
*** Xmt310/Xmt/ConvertData.c Sun Feb 4 22:36:34 2001
2199
--- Xmt310.ge/Xmt/ConvertData.c Tue Jun 12 18:25:28 2001
2203
* Motif Tools Library, Version 3.1
2206
* Written by David Flanagan.
2207
* Copyright (c) 1992-2001 by David Flanagan.
2208
* All Rights Reserved. See the file COPYRIGHT for details.
2209
* This is open source software. See the file LICENSE for details.
2210
* There is no warranty for this software. See NO_WARRANTY for details.
2213
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2214
! * Initial checkin.
2216
! * Revision 1.1 2001/06/21 17:47:46 andre
2217
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2218
! * kerberos compilation support
2223
#include <Xmt/Xmt.h>
2224
#include <Xmt/Converters.h>
2227
* Motif Tools Library, Version 3.1
2230
* Written by David Flanagan.
2231
* Copyright (c) 1992-2001 by David Flanagan.
2232
* All Rights Reserved. See the file COPYRIGHT for details.
2233
* This is open source software. See the file LICENSE for details.
2234
* There is no warranty for this software. See NO_WARRANTY for details.
2237
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2238
! * Initial checkin.
2240
! * Revision 1.1 2001/06/21 17:47:46 andre
2241
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2242
! * kerberos compilation support
2244
! * Revision 1.2 2001/06/12 16:25:28 andre
2245
! * *** empty log message ***
2250
#include <Xmt/Xmt.h>
2251
#include <Xmt/Converters.h>
2252
diff -bpcBNC 5 Xmt310/Xmt/Converters.h Xmt310.ge/Xmt/Converters.h
2253
*** Xmt310/Xmt/Converters.h Sun Feb 4 22:36:42 2001
2254
--- Xmt310.ge/Xmt/Converters.h Tue Jun 12 18:25:28 2001
2258
* Motif Tools Library, Version 3.1
2261
* Written by David Flanagan.
2262
* Copyright (c) 1992-2001 by David Flanagan.
2263
* All Rights Reserved. See the file COPYRIGHT for details.
2264
* This is open source software. See the file LICENSE for details.
2265
* There is no warranty for this software. See NO_WARRANTY for details.
2268
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2269
! * Initial checkin.
2271
! * Revision 1.1 2001/06/21 17:47:46 andre
2272
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2273
! * kerberos compilation support
2277
#ifndef _XmtConverters_h
2278
#define _XmtConverters_h
2282
* Motif Tools Library, Version 3.1
2285
* Written by David Flanagan.
2286
* Copyright (c) 1992-2001 by David Flanagan.
2287
* All Rights Reserved. See the file COPYRIGHT for details.
2288
* This is open source software. See the file LICENSE for details.
2289
* There is no warranty for this software. See NO_WARRANTY for details.
2292
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2293
! * Initial checkin.
2295
! * Revision 1.1 2001/06/21 17:47:46 andre
2296
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2297
! * kerberos compilation support
2299
! * Revision 1.2 2001/06/12 16:25:28 andre
2300
! * *** empty log message ***
2304
#ifndef _XmtConverters_h
2305
#define _XmtConverters_h
2307
*************** externalref _Xconst char XmtConverterStr
2309
#define XmtRBitmask ((char*)&XmtConverterStrings[50])
2313
#if NeedFunctionPrototypes
2314
! extern void XmtRegisterEnumConverter(StringConst, String *, int *,
2316
extern void XmtRegisterWidgetConverter(void);
2317
extern void XmtRegisterCallbackConverter(void);
2318
extern void XmtRegisterXmStringConverter(void);
2319
extern void XmtRegisterStringListConverter(void);
2320
extern void XmtRegisterMenuItemsConverter(void);
2322
#define XmtRBitmask ((char*)&XmtConverterStrings[50])
2326
#if NeedFunctionPrototypes
2327
! extern void XmtRegisterEnumConverter(StringConst, String *, Cardinal *,
2328
! Cardinal, String *);
2329
extern void XmtRegisterWidgetConverter(void);
2330
extern void XmtRegisterCallbackConverter(void);
2331
extern void XmtRegisterXmStringConverter(void);
2332
extern void XmtRegisterStringListConverter(void);
2333
extern void XmtRegisterMenuItemsConverter(void);
2334
diff -bpcBNC 5 Xmt310/Xmt/ConvertersP.h Xmt310.ge/Xmt/ConvertersP.h
2335
*** Xmt310/Xmt/ConvertersP.h Sun Feb 4 22:36:46 2001
2336
--- Xmt310.ge/Xmt/ConvertersP.h Tue Jun 12 18:25:28 2001
2340
* Motif Tools Library, Version 3.1
2343
* Written by David Flanagan.
2344
* Copyright (c) 1992-2001 by David Flanagan.
2345
* All Rights Reserved. See the file COPYRIGHT for details.
2346
* This is open source software. See the file LICENSE for details.
2347
* There is no warranty for this software. See NO_WARRANTY for details.
2350
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2351
! * Initial checkin.
2353
! * Revision 1.1 2001/06/21 17:47:46 andre
2354
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2355
! * kerberos compilation support
2360
#ifndef _XmtConvertersP_h
2361
#define _XmtConvertersP_h
2364
* Motif Tools Library, Version 3.1
2367
* Written by David Flanagan.
2368
* Copyright (c) 1992-2001 by David Flanagan.
2369
* All Rights Reserved. See the file COPYRIGHT for details.
2370
* This is open source software. See the file LICENSE for details.
2371
* There is no warranty for this software. See NO_WARRANTY for details.
2374
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2375
! * Initial checkin.
2377
! * Revision 1.1 2001/06/21 17:47:46 andre
2378
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2379
! * kerberos compilation support
2381
! * Revision 1.2 2001/06/12 16:25:28 andre
2382
! * *** empty log message ***
2387
#ifndef _XmtConvertersP_h
2388
#define _XmtConvertersP_h
2389
diff -bpcBNC 5 Xmt310/Xmt/Create.c Xmt310.ge/Xmt/Create.c
2390
*** Xmt310/Xmt/Create.c Sun Feb 4 22:36:52 2001
2391
--- Xmt310.ge/Xmt/Create.c Tue Jun 12 18:25:28 2001
2395
* Motif Tools Library, Version 3.1
2398
* Written by David Flanagan.
2399
* Copyright (c) 1992-2001 by David Flanagan.
2400
* All Rights Reserved. See the file COPYRIGHT for details.
2401
* This is open source software. See the file LICENSE for details.
2402
* There is no warranty for this software. See NO_WARRANTY for details.
2405
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2406
! * Initial checkin.
2408
! * Revision 1.1 2001/06/21 17:47:46 andre
2409
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2410
! * kerberos compilation support
2415
#include <Xmt/Xmt.h>
2416
#include <Xmt/Create.h>
2419
* Motif Tools Library, Version 3.1
2422
* Written by David Flanagan.
2423
* Copyright (c) 1992-2001 by David Flanagan.
2424
* All Rights Reserved. See the file COPYRIGHT for details.
2425
* This is open source software. See the file LICENSE for details.
2426
* There is no warranty for this software. See NO_WARRANTY for details.
2429
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2430
! * Initial checkin.
2432
! * Revision 1.1 2001/06/21 17:47:46 andre
2433
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2434
! * kerberos compilation support
2436
! * Revision 1.2 2001/06/12 16:25:28 andre
2437
! * *** empty log message ***
2442
#include <Xmt/Xmt.h>
2443
#include <Xmt/Create.h>
2444
*************** Cardinal *num_styles;
2446
template_name = XmtLexerStrValue(l);
2447
XmtLexerConsumeToken(l);
2448
XmtLexerGetArgList(l, args, MAX_TEMPLATE_ARGS, &num_args);
2449
style = XmtTemplateSubstituteArgs(style, args, num_args,
2451
! *styles[*num_styles] = style;
2453
if (num_args > expected_args)
2454
XmtWarningMsg("XmtParseWidgetType", "styleArgs",
2455
"widget '%s':\n\tstyle '%s' expects up to %d args; %d passed.",
2456
name, template_name, expected_args, num_args);
2458
template_name = XmtLexerStrValue(l);
2459
XmtLexerConsumeToken(l);
2460
XmtLexerGetArgList(l, args, MAX_TEMPLATE_ARGS, &num_args);
2461
style = XmtTemplateSubstituteArgs(style, args, num_args,
2463
! (*styles)[*num_styles] = style;
2465
if (num_args > expected_args)
2466
XmtWarningMsg("XmtParseWidgetType", "styleArgs",
2467
"widget '%s':\n\tstyle '%s' expects up to %d args; %d passed.",
2468
name, template_name, expected_args, num_args);
2469
diff -bpcBNC 5 Xmt310/Xmt/Create.h Xmt310.ge/Xmt/Create.h
2470
*** Xmt310/Xmt/Create.h Sun Feb 4 22:37:14 2001
2471
--- Xmt310.ge/Xmt/Create.h Tue Jun 12 18:25:28 2001
2475
* Motif Tools Library, Version 3.1
2478
* Written by David Flanagan.
2479
* Copyright (c) 1992-2001 by David Flanagan.
2480
* All Rights Reserved. See the file COPYRIGHT for details.
2481
* This is open source software. See the file LICENSE for details.
2482
* There is no warranty for this software. See NO_WARRANTY for details.
2485
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2486
! * Initial checkin.
2488
! * Revision 1.1 2001/06/21 17:47:46 andre
2489
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2490
! * kerberos compilation support
2495
#ifndef _XmtCreate_h
2496
#define _XmtCreate_h
2499
* Motif Tools Library, Version 3.1
2502
* Written by David Flanagan.
2503
* Copyright (c) 1992-2001 by David Flanagan.
2504
* All Rights Reserved. See the file COPYRIGHT for details.
2505
* This is open source software. See the file LICENSE for details.
2506
* There is no warranty for this software. See NO_WARRANTY for details.
2509
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2510
! * Initial checkin.
2512
! * Revision 1.1 2001/06/21 17:47:46 andre
2513
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2514
! * kerberos compilation support
2516
! * Revision 1.2 2001/06/12 16:25:28 andre
2517
! * *** empty log message ***
2522
#ifndef _XmtCreate_h
2523
#define _XmtCreate_h
2524
diff -bpcBNC 5 Xmt310/Xmt/Cursor.c Xmt310.ge/Xmt/Cursor.c
2525
*** Xmt310/Xmt/Cursor.c Sun Feb 4 22:37:22 2001
2526
--- Xmt310.ge/Xmt/Cursor.c Tue Jun 12 18:25:28 2001
2530
* Motif Tools Library, Version 3.1
2533
* Written by David Flanagan.
2534
* Copyright (c) 1992-2001 by David Flanagan.
2535
* All Rights Reserved. See the file COPYRIGHT for details.
2536
* This is open source software. See the file LICENSE for details.
2537
* There is no warranty for this software. See NO_WARRANTY for details.
2540
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2541
! * Initial checkin.
2543
! * Revision 1.1 2001/06/21 17:47:46 andre
2544
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2545
! * kerberos compilation support
2550
#include <Xmt/Xmt.h>
2551
#include <Xmt/AppResP.h>
2554
* Motif Tools Library, Version 3.1
2557
* Written by David Flanagan.
2558
* Copyright (c) 1992-2001 by David Flanagan.
2559
* All Rights Reserved. See the file COPYRIGHT for details.
2560
* This is open source software. See the file LICENSE for details.
2561
* There is no warranty for this software. See NO_WARRANTY for details.
2564
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2565
! * Initial checkin.
2567
! * Revision 1.1 2001/06/21 17:47:46 andre
2568
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2569
! * kerberos compilation support
2571
! * Revision 1.2 2001/06/12 16:25:28 andre
2572
! * *** empty log message ***
2577
#include <Xmt/Xmt.h>
2578
#include <Xmt/AppResP.h>
2579
diff -bpcBNC 5 Xmt310/Xmt/DECHack.c Xmt310.ge/Xmt/DECHack.c
2580
*** Xmt310/Xmt/DECHack.c Sun Feb 4 22:37:34 2001
2581
--- Xmt310.ge/Xmt/DECHack.c Tue Jun 12 18:25:28 2001
2585
* Motif Tools Library, Version 3.1
2588
* Written by David Flanagan.
2589
* Copyright (c) 1992-2001 by David Flanagan.
2590
* All Rights Reserved. See the file COPYRIGHT for details.
2591
* This is open source software. See the file LICENSE for details.
2592
* There is no warranty for this software. See NO_WARRANTY for details.
2595
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2596
! * Initial checkin.
2598
! * Revision 1.1 2001/06/21 17:47:46 andre
2599
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2600
! * kerberos compilation support
2606
* The procedures in this file are only needed with DECWindows Xt
2609
* Motif Tools Library, Version 3.1
2612
* Written by David Flanagan.
2613
* Copyright (c) 1992-2001 by David Flanagan.
2614
* All Rights Reserved. See the file COPYRIGHT for details.
2615
* This is open source software. See the file LICENSE for details.
2616
* There is no warranty for this software. See NO_WARRANTY for details.
2619
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2620
! * Initial checkin.
2622
! * Revision 1.1 2001/06/21 17:47:46 andre
2623
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2624
! * kerberos compilation support
2626
! * Revision 1.2 2001/06/12 16:25:28 andre
2627
! * *** empty log message ***
2633
* The procedures in this file are only needed with DECWindows Xt
2634
diff -bpcBNC 5 Xmt310/Xmt/Dialog.c Xmt310.ge/Xmt/Dialog.c
2635
*** Xmt310/Xmt/Dialog.c Sun Feb 4 22:37:38 2001
2636
--- Xmt310.ge/Xmt/Dialog.c Tue Jun 12 18:25:28 2001
2640
* Motif Tools Library, Version 3.1
2643
* Written by David Flanagan.
2644
* Copyright (c) 1992-2001 by David Flanagan.
2645
* All Rights Reserved. See the file COPYRIGHT for details.
2646
* This is open source software. See the file LICENSE for details.
2647
* There is no warranty for this software. See NO_WARRANTY for details.
2650
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2651
! * Initial checkin.
2653
! * Revision 1.1 2001/06/21 17:47:46 andre
2654
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2655
! * kerberos compilation support
2660
#include <Xmt/Xmt.h>
2661
#include <Xmt/DialogP.h>
2664
* Motif Tools Library, Version 3.1
2667
* Written by David Flanagan.
2668
* Copyright (c) 1992-2001 by David Flanagan.
2669
* All Rights Reserved. See the file COPYRIGHT for details.
2670
* This is open source software. See the file LICENSE for details.
2671
* There is no warranty for this software. See NO_WARRANTY for details.
2674
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2675
! * Initial checkin.
2677
! * Revision 1.1 2001/06/21 17:47:46 andre
2678
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2679
! * kerberos compilation support
2681
! * Revision 1.2 2001/06/12 16:25:28 andre
2682
! * *** empty log message ***
2687
#include <Xmt/Xmt.h>
2688
#include <Xmt/DialogP.h>
2689
diff -bpcBNC 5 Xmt310/Xmt/Dialog.h Xmt310.ge/Xmt/Dialog.h
2690
*** Xmt310/Xmt/Dialog.h Sun Feb 4 22:37:54 2001
2691
--- Xmt310.ge/Xmt/Dialog.h Tue Jun 12 18:25:28 2001
2695
* Motif Tools Library, Version 3.1
2698
* Written by David Flanagan.
2699
* Copyright (c) 1992-2001 by David Flanagan.
2700
* All Rights Reserved. See the file COPYRIGHT for details.
2701
* This is open source software. See the file LICENSE for details.
2702
* There is no warranty for this software. See NO_WARRANTY for details.
2705
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2706
! * Initial checkin.
2708
! * Revision 1.1 2001/06/21 17:47:46 andre
2709
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2710
! * kerberos compilation support
2715
#ifndef _XmtDialog_h
2716
#define _XmtDialog_h
2719
* Motif Tools Library, Version 3.1
2722
* Written by David Flanagan.
2723
* Copyright (c) 1992-2001 by David Flanagan.
2724
* All Rights Reserved. See the file COPYRIGHT for details.
2725
* This is open source software. See the file LICENSE for details.
2726
* There is no warranty for this software. See NO_WARRANTY for details.
2729
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2730
! * Initial checkin.
2732
! * Revision 1.1 2001/06/21 17:47:46 andre
2733
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2734
! * kerberos compilation support
2736
! * Revision 1.2 2001/06/12 16:25:28 andre
2737
! * *** empty log message ***
2742
#ifndef _XmtDialog_h
2743
#define _XmtDialog_h
2744
diff -bpcBNC 5 Xmt310/Xmt/DialogP.h Xmt310.ge/Xmt/DialogP.h
2745
*** Xmt310/Xmt/DialogP.h Sun Feb 4 22:38:04 2001
2746
--- Xmt310.ge/Xmt/DialogP.h Tue Jun 12 18:25:28 2001
2750
* Motif Tools Library, Version 3.1
2753
* Written by David Flanagan.
2754
* Copyright (c) 1992-2001 by David Flanagan.
2755
* All Rights Reserved. See the file COPYRIGHT for details.
2756
* This is open source software. See the file LICENSE for details.
2757
* There is no warranty for this software. See NO_WARRANTY for details.
2760
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2761
! * Initial checkin.
2763
! * Revision 1.1 2001/06/21 17:47:46 andre
2764
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2765
! * kerberos compilation support
2770
#ifndef _XmtDialogP_h
2771
#define _XmtDialogP_h
2774
* Motif Tools Library, Version 3.1
2777
* Written by David Flanagan.
2778
* Copyright (c) 1992-2001 by David Flanagan.
2779
* All Rights Reserved. See the file COPYRIGHT for details.
2780
* This is open source software. See the file LICENSE for details.
2781
* There is no warranty for this software. See NO_WARRANTY for details.
2784
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2785
! * Initial checkin.
2787
! * Revision 1.1 2001/06/21 17:47:46 andre
2788
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2789
! * kerberos compilation support
2791
! * Revision 1.2 2001/06/12 16:25:28 andre
2792
! * *** empty log message ***
2797
#ifndef _XmtDialogP_h
2798
#define _XmtDialogP_h
2799
diff -bpcBNC 5 Xmt310/Xmt/DialogPos.c Xmt310.ge/Xmt/DialogPos.c
2800
*** Xmt310/Xmt/DialogPos.c Sun Feb 4 22:38:18 2001
2801
--- Xmt310.ge/Xmt/DialogPos.c Tue Jun 12 18:25:28 2001
2805
* Motif Tools Library, Version 3.1
2808
* Written by David Flanagan.
2809
* Copyright (c) 1992-2001 by David Flanagan.
2810
* All Rights Reserved. See the file COPYRIGHT for details.
2811
* This is open source software. See the file LICENSE for details.
2812
* There is no warranty for this software. See NO_WARRANTY for details.
2815
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2816
! * Initial checkin.
2818
! * Revision 1.1 2001/06/21 17:47:46 andre
2819
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2820
! * kerberos compilation support
2825
#include <Xmt/Xmt.h>
2826
#include <Xmt/Dialogs.h>
2829
* Motif Tools Library, Version 3.1
2832
* Written by David Flanagan.
2833
* Copyright (c) 1992-2001 by David Flanagan.
2834
* All Rights Reserved. See the file COPYRIGHT for details.
2835
* This is open source software. See the file LICENSE for details.
2836
* There is no warranty for this software. See NO_WARRANTY for details.
2839
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2840
! * Initial checkin.
2842
! * Revision 1.1 2001/06/21 17:47:46 andre
2843
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2844
! * kerberos compilation support
2846
! * Revision 1.2 2001/06/12 16:25:28 andre
2847
! * *** empty log message ***
2852
#include <Xmt/Xmt.h>
2853
#include <Xmt/Dialogs.h>
2854
diff -bpcBNC 5 Xmt310/Xmt/Dialogs.c Xmt310.ge/Xmt/Dialogs.c
2855
*** Xmt310/Xmt/Dialogs.c Sun Feb 4 22:38:24 2001
2856
--- Xmt310.ge/Xmt/Dialogs.c Tue Jun 12 18:25:28 2001
2860
* Motif Tools Library, Version 3.1
2863
* Written by David Flanagan.
2864
* Copyright (c) 1992-2001 by David Flanagan.
2865
* All Rights Reserved. See the file COPYRIGHT for details.
2866
* This is open source software. See the file LICENSE for details.
2867
* There is no warranty for this software. See NO_WARRANTY for details.
2870
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2871
! * Initial checkin.
2873
! * Revision 1.1 2001/06/21 17:47:46 andre
2874
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2875
! * kerberos compilation support
2880
#include <Xmt/Xmt.h>
2881
#include <Xmt/ScreenP.h>
2884
* Motif Tools Library, Version 3.1
2887
* Written by David Flanagan.
2888
* Copyright (c) 1992-2001 by David Flanagan.
2889
* All Rights Reserved. See the file COPYRIGHT for details.
2890
* This is open source software. See the file LICENSE for details.
2891
* There is no warranty for this software. See NO_WARRANTY for details.
2894
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2895
! * Initial checkin.
2897
! * Revision 1.1 2001/06/21 17:47:46 andre
2898
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2899
! * kerberos compilation support
2901
! * Revision 1.2 2001/06/12 16:25:28 andre
2902
! * *** empty log message ***
2907
#include <Xmt/Xmt.h>
2908
#include <Xmt/ScreenP.h>
2909
diff -bpcBNC 5 Xmt310/Xmt/Dialogs.h Xmt310.ge/Xmt/Dialogs.h
2910
*** Xmt310/Xmt/Dialogs.h Sun Feb 4 22:38:30 2001
2911
--- Xmt310.ge/Xmt/Dialogs.h Tue Jun 12 18:25:28 2001
2915
* Motif Tools Library, Version 3.1
2918
* Written by David Flanagan.
2919
* Copyright (c) 1992-2001 by David Flanagan.
2920
* All Rights Reserved. See the file COPYRIGHT for details.
2921
* This is open source software. See the file LICENSE for details.
2922
* There is no warranty for this software. See NO_WARRANTY for details.
2925
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2926
! * Initial checkin.
2928
! * Revision 1.1 2001/06/21 17:47:46 andre
2929
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2930
! * kerberos compilation support
2935
#ifndef _XmtDialogs_h
2936
#define _XmtDialogs_h
2939
* Motif Tools Library, Version 3.1
2942
* Written by David Flanagan.
2943
* Copyright (c) 1992-2001 by David Flanagan.
2944
* All Rights Reserved. See the file COPYRIGHT for details.
2945
* This is open source software. See the file LICENSE for details.
2946
* There is no warranty for this software. See NO_WARRANTY for details.
2949
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2950
! * Initial checkin.
2952
! * Revision 1.1 2001/06/21 17:47:46 andre
2953
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2954
! * kerberos compilation support
2956
! * Revision 1.2 2001/06/12 16:25:28 andre
2957
! * *** empty log message ***
2962
#ifndef _XmtDialogs_h
2963
#define _XmtDialogs_h
2964
diff -bpcBNC 5 Xmt310/Xmt/DialogsP.h Xmt310.ge/Xmt/DialogsP.h
2965
*** Xmt310/Xmt/DialogsP.h Sun Feb 4 22:38:40 2001
2966
--- Xmt310.ge/Xmt/DialogsP.h Tue Jun 12 18:25:28 2001
2970
* Motif Tools Library, Version 3.1
2973
* Written by David Flanagan.
2974
* Copyright (c) 1992-2001 by David Flanagan.
2975
* All Rights Reserved. See the file COPYRIGHT for details.
2976
* This is open source software. See the file LICENSE for details.
2977
* There is no warranty for this software. See NO_WARRANTY for details.
2980
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2981
! * Initial checkin.
2983
! * Revision 1.1 2001/06/21 17:47:46 andre
2984
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
2985
! * kerberos compilation support
2990
#ifndef _XmtDialogsP_h
2991
#define _XmtDialogsP_h
2994
* Motif Tools Library, Version 3.1
2997
* Written by David Flanagan.
2998
* Copyright (c) 1992-2001 by David Flanagan.
2999
* All Rights Reserved. See the file COPYRIGHT for details.
3000
* This is open source software. See the file LICENSE for details.
3001
* There is no warranty for this software. See NO_WARRANTY for details.
3004
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3005
! * Initial checkin.
3007
! * Revision 1.1 2001/06/21 17:47:46 andre
3008
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3009
! * kerberos compilation support
3011
! * Revision 1.2 2001/06/12 16:25:28 andre
3012
! * *** empty log message ***
3017
#ifndef _XmtDialogsP_h
3018
#define _XmtDialogsP_h
3019
diff -bpcBNC 5 Xmt310/Xmt/Discard.c Xmt310.ge/Xmt/Discard.c
3020
*** Xmt310/Xmt/Discard.c Sun Feb 4 22:38:48 2001
3021
--- Xmt310.ge/Xmt/Discard.c Tue Jun 12 18:25:28 2001
3025
* Motif Tools Library, Version 3.1
3028
* Written by David Flanagan.
3029
* Copyright (c) 1992-2001 by David Flanagan.
3030
* All Rights Reserved. See the file COPYRIGHT for details.
3031
* This is open source software. See the file LICENSE for details.
3032
* There is no warranty for this software. See NO_WARRANTY for details.
3035
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3036
! * Initial checkin.
3038
! * Revision 1.1 2001/06/21 17:47:46 andre
3039
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3040
! * kerberos compilation support
3045
#include <Xmt/Xmt.h>
3046
#include <Xmt/Util.h>
3049
* Motif Tools Library, Version 3.1
3052
* Written by David Flanagan.
3053
* Copyright (c) 1992-2001 by David Flanagan.
3054
* All Rights Reserved. See the file COPYRIGHT for details.
3055
* This is open source software. See the file LICENSE for details.
3056
* There is no warranty for this software. See NO_WARRANTY for details.
3059
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3060
! * Initial checkin.
3062
! * Revision 1.1 2001/06/21 17:47:46 andre
3063
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3064
! * kerberos compilation support
3066
! * Revision 1.2 2001/06/12 16:25:28 andre
3067
! * *** empty log message ***
3072
#include <Xmt/Xmt.h>
3073
#include <Xmt/Util.h>
3074
diff -bpcBNC 5 Xmt310/Xmt/EnumCvt.c Xmt310.ge/Xmt/EnumCvt.c
3075
*** Xmt310/Xmt/EnumCvt.c Sun Feb 4 22:38:54 2001
3076
--- Xmt310.ge/Xmt/EnumCvt.c Tue Jun 12 18:25:28 2001
3080
* Motif Tools Library, Version 3.1
3083
* Written by David Flanagan.
3084
* Copyright (c) 1992-2001 by David Flanagan.
3085
* All Rights Reserved. See the file COPYRIGHT for details.
3086
* This is open source software. See the file LICENSE for details.
3087
* There is no warranty for this software. See NO_WARRANTY for details.
3090
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3091
! * Initial checkin.
3093
! * Revision 1.1 2001/06/21 17:47:46 andre
3094
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3095
! * kerberos compilation support
3100
#include <Xmt/Xmt.h>
3101
#include <Xmt/ConvertersP.h>
3104
#if NeedFunctionPrototypes
3105
Boolean XmtConvertStringToEnum(Display *dpy,
3106
! XrmValue *args, Cardinal *num_args,
3107
! XrmValue *from, XrmValue *to, XtPointer *data)
3109
Boolean XmtConvertStringToEnum(dpy, args, num_args, from, to, data)
3118
String type = *(String *)args[0].addr;
3119
String *names = *(String **)args[1].addr;
3120
! int *values = *(int **)args[2].addr;
3121
! int num = *(int *)args[3].addr;
3122
String *prefixes = *(String **)args[4].addr;
3123
String target = (String) from->addr;
3126
! static int value; /* static for converter return */
3129
* First, strip any of the listed prefixes off of target.
3130
* All of the prefixes are optional, but they must occur in the
3131
* order that they appear in the array in.
3134
* Motif Tools Library, Version 3.1
3137
* Written by David Flanagan.
3138
* Copyright (c) 1992-2001 by David Flanagan.
3139
* All Rights Reserved. See the file COPYRIGHT for details.
3140
* This is open source software. See the file LICENSE for details.
3141
* There is no warranty for this software. See NO_WARRANTY for details.
3144
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3145
! * Initial checkin.
3147
! * Revision 1.1 2001/06/21 17:47:46 andre
3148
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3149
! * kerberos compilation support
3151
! * Revision 1.2 2001/06/12 16:25:28 andre
3152
! * *** empty log message ***
3157
#include <Xmt/Xmt.h>
3158
#include <Xmt/ConvertersP.h>
3161
#if NeedFunctionPrototypes
3162
Boolean XmtConvertStringToEnum(Display *dpy,
3163
! XrmValuePtr args, Cardinal *num_args,
3164
! XrmValuePtr from, XrmValuePtr to, XtPointer *data)
3166
Boolean XmtConvertStringToEnum(dpy, args, num_args, from, to, data)
3175
String type = *(String *)args[0].addr;
3176
String *names = *(String **)args[1].addr;
3177
! /* Cardinal *values = *(Cardinal**)args[2].addr; */
3178
! /* Cardinal num = (Cardinal)*(XtPointer*)args[3].addr; */
3179
! Cardinal *values = (Cardinal*)*(XtPointer*)args[2].addr;
3180
! Cardinal num = (Cardinal)*(XtPointer*)args[3].addr;
3181
String *prefixes = *(String **)args[4].addr;
3182
String target = (String) from->addr;
3185
! static Cardinal value; /* static for converter return */
3188
* First, strip any of the listed prefixes off of target.
3189
* All of the prefixes are optional, but they must occur in the
3190
* order that they appear in the array in.
3191
*************** XtPointer *data;
3195
* now see if the target appears in the names array.
3196
* If not, print a warning and fail.
3198
i = XmtBSearch(target, names, num);
3200
+ /* printf("XmtBSearch(target, names, num) => %d\n", i); */
3203
XtDisplayStringConversionWarning(dpy, (String)from->addr, type);
3207
*************** XtPointer *data;
3209
if (to->addr != NULL) {
3212
*(char *)to->addr = value;
3215
*(short *)to->addr = value;
3218
! *(int *)to->addr = value;
3221
! if (to->size > sizeof(int)) {
3222
! to->size = sizeof(int);
3223
! *(int *)to->addr = value;
3226
! to->size = sizeof(int);
3233
if (to->addr != NULL) {
3236
*(char *)to->addr = value;
3238
+ #ifdef CRAY /* short and int are the same size (8 bytes) on the Cray */
3240
+ *(int *)to->addr = value;
3244
*(short *)to->addr = value;
3246
! case sizeof(Cardinal):
3247
! *(Cardinal *)to->addr = value;
3251
! if (to->size > sizeof(Cardinal)) {
3252
! to->size = sizeof(Cardinal);
3253
! *(Cardinal *)to->addr = value;
3256
! to->size = sizeof(Cardinal);
3262
*************** XtPointer *data;
3268
#if NeedFunctionPrototypes
3269
! void XmtRegisterEnumConverter(StringConst type, String *names, int *values,
3270
! int num, String *prefixes)
3272
void XmtRegisterEnumConverter(type, names, values, num, prefixes)
3280
XtConvertArgRec args[5];
3287
#if NeedFunctionPrototypes
3288
! void XmtRegisterEnumConverter(StringConst type, String *names, Cardinal *values,
3289
! Cardinal num, String *prefixes)
3291
void XmtRegisterEnumConverter(type, names, values, num, prefixes)
3299
XtConvertArgRec args[5];
3301
diff -bpcBNC 5 Xmt310/Xmt/FindFile.c Xmt310.ge/Xmt/FindFile.c
3302
*** Xmt310/Xmt/FindFile.c Sun Feb 4 22:39:06 2001
3303
--- Xmt310.ge/Xmt/FindFile.c Tue Jun 12 18:25:28 2001
3307
* Motif Tools Library, Version 3.1
3310
* Written by David Flanagan.
3311
* Copyright (c) 1992-2001 by David Flanagan.
3312
* All Rights Reserved. See the file COPYRIGHT for details.
3313
* This is open source software. See the file LICENSE for details.
3314
* There is no warranty for this software. See NO_WARRANTY for details.
3317
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3318
! * Initial checkin.
3320
! * Revision 1.1 2001/06/21 17:47:46 andre
3321
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3322
! * kerberos compilation support
3328
* Portions of this file are derived from the Xt source code.
3331
* Motif Tools Library, Version 3.1
3334
* Written by David Flanagan.
3335
* Copyright (c) 1992-2001 by David Flanagan.
3336
* All Rights Reserved. See the file COPYRIGHT for details.
3337
* This is open source software. See the file LICENSE for details.
3338
* There is no warranty for this software. See NO_WARRANTY for details.
3341
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3342
! * Initial checkin.
3344
! * Revision 1.1 2001/06/21 17:47:46 andre
3345
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3346
! * kerberos compilation support
3348
! * Revision 1.2 2001/06/12 16:25:28 andre
3349
! * *** empty log message ***
3355
* Portions of this file are derived from the Xt source code.
3359
extern struct passwd *getpwuid(), *getpwnam();
3362
#ifndef X_NOT_STDC_ENV
3364
+ #include <unistd.h>
3366
extern char *getenv();
3369
#if NeedFunctionPrototypes
3370
diff -bpcBNC 5 Xmt310/Xmt/FontListCvt.c Xmt310.ge/Xmt/FontListCvt.c
3371
*** Xmt310/Xmt/FontListCvt.c Sun Feb 4 22:39:10 2001
3372
--- Xmt310.ge/Xmt/FontListCvt.c Tue Jun 12 18:25:28 2001
3376
* Motif Tools Library, Version 3.1
3379
* Written by David Flanagan.
3380
* Copyright (c) 1992-2001 by David Flanagan.
3381
* All Rights Reserved. See the file COPYRIGHT for details.
3382
* This is open source software. See the file LICENSE for details.
3383
* There is no warranty for this software. See NO_WARRANTY for details.
3386
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3387
! * Initial checkin.
3389
! * Revision 1.1 2001/06/21 17:47:46 andre
3390
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3391
! * kerberos compilation support
3397
#include <Xmt/Xmt.h>
3400
* Motif Tools Library, Version 3.1
3403
* Written by David Flanagan.
3404
* Copyright (c) 1992-2001 by David Flanagan.
3405
* All Rights Reserved. See the file COPYRIGHT for details.
3406
* This is open source software. See the file LICENSE for details.
3407
* There is no warranty for this software. See NO_WARRANTY for details.
3410
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3411
! * Initial checkin.
3413
! * Revision 1.1 2001/06/21 17:47:46 andre
3414
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3415
! * kerberos compilation support
3417
! * Revision 1.2 2001/06/12 16:25:28 andre
3418
! * *** empty log message ***
3424
#include <Xmt/Xmt.h>
3425
*************** XtPointer *converter_data;
3428
String copy = XtNewString((String) from->addr);
3436
+ char **missing_list;
3437
+ int missing_count;
3439
+ char *def_string = NULL;
3441
+ XmFontListEntry entry;
3442
XmFontList fontlist = NULL;
3445
* This XmFontList converter does not handle XFontSets defined in
3446
* X11R5 and Motif 1.2. This is to make it easier to write, and
3447
*************** XtPointer *converter_data;
3450
while(isspace(*s)) s++;
3453
/* isolate the first entry, and remember start of next entry */
3454
next_entry = strchr(s, ',');
3455
+ if (next_entry == NULL)
3456
+ next_entry = strchr(s, ':');
3462
*************** XtPointer *converter_data;
3465
/* remove any whitespace from the end of the font name */
3466
tmp = s + strlen(s) - 1;
3467
while (isspace(*tmp)) tmp--;
3472
+ ** fontset support it is a bit tricky, but needed for multibyte chars
3473
+ ** FIXME: figure out how to do it
3476
+ fontset = XCreateFontSet(dpy, s, &missing_list, &missing_count,
3478
+ for (i=0; i<missing_count; i++) {
3479
+ printf("missing_list[%d]: '%s'\n", i, missing_list[i]);
3480
+ XtFree(missing_list[i]);
3482
+ XtFree((char *)missing_list);
3484
+ #if !defined(SOLARIS) && !defined(SOLARIS64)
3485
+ entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONT, tag);
3487
+ entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONTSET, tag);
3492
+ ** FIXME: replace the following line with the correct version
3493
+ ** for multibyte chars and fontsets
3495
+ entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONT, tag);
3497
+ fontlist = XmFontListAppendEntry(fontlist, entry);
3498
+ XmFontListEntryFree(&entry);
3502
font = XLoadQueryFont(dpy, s);
3504
XmtWarningMsg("XmtConvertStringToFontList", "badfont",
3505
"unknown font '%s'.\n\tUsing default.",
3507
*************** XtPointer *converter_data;
3510
/* and use this font and tag to create or append to the font list */
3512
fontlist = XmFontListCreate(font, tag);
3514
fontlist = XmFontListAdd(fontlist, font, tag);
3518
/* finally, move on to the next entry, and start the loop over */
3522
diff -bpcBNC 5 Xmt310/Xmt/GetPixmap.c Xmt310.ge/Xmt/GetPixmap.c
3523
*** Xmt310/Xmt/GetPixmap.c Sun Feb 4 22:39:16 2001
3524
--- Xmt310.ge/Xmt/GetPixmap.c Tue Jun 12 18:25:28 2001
3528
* Motif Tools Library, Version 3.1
3531
* Written by David Flanagan.
3532
* Copyright (c) 1992-2001 by David Flanagan.
3533
* All Rights Reserved. See the file COPYRIGHT for details.
3534
* This is open source software. See the file LICENSE for details.
3535
* There is no warranty for this software. See NO_WARRANTY for details.
3538
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3539
! * Initial checkin.
3541
! * Revision 1.1 2001/06/21 17:47:46 andre
3542
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3543
! * kerberos compilation support
3550
#include <Xmt/Xmt.h>
3551
#include <Xmt/Pixmap.h>
3552
#include <Xmt/Xpm.h>
3553
#include <Xmt/Xbm.h>
3554
#include <Xmt/Color.h>
3557
* Motif Tools Library, Version 3.1
3560
* Written by David Flanagan.
3561
* Copyright (c) 1992-2001 by David Flanagan.
3562
* All Rights Reserved. See the file COPYRIGHT for details.
3563
* This is open source software. See the file LICENSE for details.
3564
* There is no warranty for this software. See NO_WARRANTY for details.
3567
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3568
! * Initial checkin.
3570
! * Revision 1.1 2001/06/21 17:47:46 andre
3571
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3572
! * kerberos compilation support
3574
! * Revision 1.2 2001/06/12 16:25:28 andre
3575
! * *** empty log message ***
3582
+ #include <unistd.h>
3583
+ #include <stdlib.h>
3585
#include <Xmt/Xmt.h>
3586
#include <Xmt/Pixmap.h>
3587
#include <Xmt/Xpm.h>
3588
#include <Xmt/Xbm.h>
3589
#include <Xmt/Color.h>
3590
*************** Boolean get_bitmap;
3592
Boolean bitmap_file = False;
3593
XtCacheRef color_table_cache_ref;
3595
Boolean free_color_table = False;
3596
static int unique_image_number;
3597
- extern char *getenv();
3599
for(w=object; !XtIsWidget(w); w = XtParent(w));
3600
shell = XmtGetShell(w);
3602
app = XmtGetApplicationResources(shell);
3604
diff -bpcBNC 5 Xmt310/Xmt/HSLtoRGB.c Xmt310.ge/Xmt/HSLtoRGB.c
3605
*** Xmt310/Xmt/HSLtoRGB.c Sun Feb 4 22:39:20 2001
3606
--- Xmt310.ge/Xmt/HSLtoRGB.c Tue Jun 12 18:25:28 2001
3610
* Motif Tools Library, Version 3.1
3613
* Written by David Flanagan.
3614
* Copyright (c) 1992-2001 by David Flanagan.
3615
* All Rights Reserved. See the file COPYRIGHT for details.
3616
* This is open source software. See the file LICENSE for details.
3617
* There is no warranty for this software. See NO_WARRANTY for details.
3620
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3621
! * Initial checkin.
3623
! * Revision 1.1 2001/06/21 17:47:46 andre
3624
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3625
! * kerberos compilation support
3631
* RGB <--> HSL conversions were modified from code with the
3632
* following attributions;
3636
* Motif Tools Library, Version 3.1
3639
* Written by David Flanagan.
3640
* Copyright (c) 1992-2001 by David Flanagan.
3641
* All Rights Reserved. See the file COPYRIGHT for details.
3642
* This is open source software. See the file LICENSE for details.
3643
* There is no warranty for this software. See NO_WARRANTY for details.
3646
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3647
! * Initial checkin.
3649
! * Revision 1.1 2001/06/21 17:47:46 andre
3650
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3651
! * kerberos compilation support
3653
! * Revision 1.2 2001/06/12 16:25:28 andre
3654
! * *** empty log message ***
3659
+ #include <Xmt/Xmt.h>
3662
* RGB <--> HSL conversions were modified from code with the
3663
* following attributions;
3665
diff -bpcBNC 5 Xmt310/Xmt/Hash.c Xmt310.ge/Xmt/Hash.c
3666
*** Xmt310/Xmt/Hash.c Sun Feb 4 22:39:26 2001
3667
--- Xmt310.ge/Xmt/Hash.c Tue Jun 12 18:25:28 2001
3671
* Motif Tools Library, Version 3.1
3674
* Written by David Flanagan.
3675
* Copyright (c) 1992-2001 by David Flanagan.
3676
* All Rights Reserved. See the file COPYRIGHT for details.
3677
* This is open source software. See the file LICENSE for details.
3678
* There is no warranty for this software. See NO_WARRANTY for details.
3681
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3682
! * Initial checkin.
3684
! * Revision 1.1 2001/06/21 17:47:46 andre
3685
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3686
! * kerberos compilation support
3692
* This file is derived from the X11R5 source code.
3695
* Motif Tools Library, Version 3.1
3698
* Written by David Flanagan.
3699
* Copyright (c) 1992-2001 by David Flanagan.
3700
* All Rights Reserved. See the file COPYRIGHT for details.
3701
* This is open source software. See the file LICENSE for details.
3702
* There is no warranty for this software. See NO_WARRANTY for details.
3705
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3706
! * Initial checkin.
3708
! * Revision 1.1 2001/06/21 17:47:46 andre
3709
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3710
! * kerberos compilation support
3712
! * Revision 1.2 2001/06/12 16:25:28 andre
3713
! * *** empty log message ***
3719
* This file is derived from the X11R5 source code.
3720
*************** typedef struct _Bucket { /* Stores one e
3722
struct _Bucket *next;
3725
typedef struct _XmtHashTableRec {
3726
Bucket **table; /* Pointer to array of hash entries. */
3727
! int size; /* log2 of the size */
3728
! int mask; /* Current size of hash table minus 1. */
3729
! int numentries; /* Number of entries currently in table. */
3733
#define Hash(ht,key) \
3734
! (ht)->table[(((int)(key)) >> 2) & (ht)->mask]
3736
#if NeedFunctionPrototypes
3737
static void ResizeTable(register XmtHashTable ht, Boolean grow)
3739
static void ResizeTable(ht, grow)
3740
register XmtHashTable ht;
3746
register Bucket *bucket, *next, **head;
3750
otablesize = 1 << ht->size;
3752
if (grow) ht->size++;
3754
struct _Bucket *next;
3757
typedef struct _XmtHashTableRec {
3758
Bucket **table; /* Pointer to array of hash entries. */
3759
! long size; /* log2 of the size */
3760
! long mask; /* Current size of hash table minus 1. */
3761
! long numentries; /* Number of entries currently in table. */
3765
#define Hash(ht,key) \
3766
! (ht)->table[(((long)(key)) >> 2) & (ht)->mask]
3768
#if NeedFunctionPrototypes
3769
static void ResizeTable(register XmtHashTable ht, Boolean grow)
3771
static void ResizeTable(ht, grow)
3772
register XmtHashTable ht;
3778
register Bucket *bucket, *next, **head;
3782
otablesize = 1 << ht->size;
3784
if (grow) ht->size++;
3785
*************** void XmtHashTableDestroy(XmtHashTable ht
3788
void XmtHashTableDestroy(ht)
3793
register Bucket *bucket, *next;
3795
for(i=0; i < ht->mask+1; i++) {
3796
for (bucket = ht->table[i]; bucket; bucket = next) {
3797
next = bucket->next;
3800
void XmtHashTableDestroy(ht)
3805
register Bucket *bucket, *next;
3807
for(i=0; i < ht->mask+1; i++) {
3808
for (bucket = ht->table[i]; bucket; bucket = next) {
3809
next = bucket->next;
3810
*************** void XmtHashTableForEach(XmtHashTable ta
3812
void XmtHashTableForEach(table, proc)
3814
XmtHashTableForEachProc proc;
3818
register Bucket *bucket;
3820
for(i=0; i < table->mask+1; i++) {
3821
for (bucket = table->table[i]; bucket; bucket = bucket->next)
3822
(*proc)(table, bucket->key, &bucket->data);
3824
void XmtHashTableForEach(table, proc)
3826
XmtHashTableForEachProc proc;
3830
register Bucket *bucket;
3832
for(i=0; i < table->mask+1; i++) {
3833
for (bucket = table->table[i]; bucket; bucket = bucket->next)
3834
(*proc)(table, bucket->key, &bucket->data);
3835
diff -bpcBNC 5 Xmt310/Xmt/Hash.h Xmt310.ge/Xmt/Hash.h
3836
*** Xmt310/Xmt/Hash.h Sun Feb 4 22:39:30 2001
3837
--- Xmt310.ge/Xmt/Hash.h Tue Jun 12 18:25:28 2001
3841
* Motif Tools Library, Version 3.1
3844
* Written by David Flanagan.
3845
* Copyright (c) 1992-2001 by David Flanagan.
3846
* All Rights Reserved. See the file COPYRIGHT for details.
3847
* This is open source software. See the file LICENSE for details.
3848
* There is no warranty for this software. See NO_WARRANTY for details.
3851
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3852
! * Initial checkin.
3854
! * Revision 1.1 2001/06/21 17:47:46 andre
3855
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3856
! * kerberos compilation support
3865
* Motif Tools Library, Version 3.1
3868
* Written by David Flanagan.
3869
* Copyright (c) 1992-2001 by David Flanagan.
3870
* All Rights Reserved. See the file COPYRIGHT for details.
3871
* This is open source software. See the file LICENSE for details.
3872
* There is no warranty for this software. See NO_WARRANTY for details.
3875
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3876
! * Initial checkin.
3878
! * Revision 1.1 2001/06/21 17:47:46 andre
3879
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3880
! * kerberos compilation support
3882
! * Revision 1.2 2001/06/12 16:25:28 andre
3883
! * *** empty log message ***
3890
diff -bpcBNC 5 Xmt310/Xmt/Help.h Xmt310.ge/Xmt/Help.h
3891
*** Xmt310/Xmt/Help.h Sun Feb 4 22:39:38 2001
3892
--- Xmt310.ge/Xmt/Help.h Tue Jun 12 18:25:28 2001
3896
* Motif Tools Library, Version 3.1
3899
* Written by David Flanagan.
3900
* Copyright (c) 1992-2001 by David Flanagan.
3901
* All Rights Reserved. See the file COPYRIGHT for details.
3902
* This is open source software. See the file LICENSE for details.
3903
* There is no warranty for this software. See NO_WARRANTY for details.
3906
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3907
! * Initial checkin.
3909
! * Revision 1.1 2001/06/21 17:47:46 andre
3910
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3911
! * kerberos compilation support
3920
* Motif Tools Library, Version 3.1
3923
* Written by David Flanagan.
3924
* Copyright (c) 1992-2001 by David Flanagan.
3925
* All Rights Reserved. See the file COPYRIGHT for details.
3926
* This is open source software. See the file LICENSE for details.
3927
* There is no warranty for this software. See NO_WARRANTY for details.
3930
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3931
! * Initial checkin.
3933
! * Revision 1.1 2001/06/21 17:47:46 andre
3934
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3935
! * kerberos compilation support
3937
! * Revision 1.2 2001/06/12 16:25:28 andre
3938
! * *** empty log message ***
3945
diff -bpcBNC 5 Xmt310/Xmt/HelpBox.c Xmt310.ge/Xmt/HelpBox.c
3946
*** Xmt310/Xmt/HelpBox.c Sun Feb 4 22:39:42 2001
3947
--- Xmt310.ge/Xmt/HelpBox.c Tue Jun 12 18:25:28 2001
3951
* Motif Tools Library, Version 3.1
3954
* Written by David Flanagan.
3955
* Copyright (c) 1992-2001 by David Flanagan.
3956
* All Rights Reserved. See the file COPYRIGHT for details.
3957
* This is open source software. See the file LICENSE for details.
3958
* There is no warranty for this software. See NO_WARRANTY for details.
3961
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3962
! * Initial checkin.
3964
! * Revision 1.1 2001/06/21 17:47:46 andre
3965
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3966
! * kerberos compilation support
3972
#include <Xmt/XmtP.h>
3975
* Motif Tools Library, Version 3.1
3978
* Written by David Flanagan.
3979
* Copyright (c) 1992-2001 by David Flanagan.
3980
* All Rights Reserved. See the file COPYRIGHT for details.
3981
* This is open source software. See the file LICENSE for details.
3982
* There is no warranty for this software. See NO_WARRANTY for details.
3985
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3986
! * Initial checkin.
3988
! * Revision 1.1 2001/06/21 17:47:46 andre
3989
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
3990
! * kerberos compilation support
3992
! * Revision 1.2 2001/06/12 16:25:28 andre
3993
! * *** empty log message ***
3999
#include <Xmt/XmtP.h>
4000
diff -bpcBNC 5 Xmt310/Xmt/HelpBox.h Xmt310.ge/Xmt/HelpBox.h
4001
*** Xmt310/Xmt/HelpBox.h Sun Feb 4 22:39:46 2001
4002
--- Xmt310.ge/Xmt/HelpBox.h Tue Jun 12 18:25:28 2001
4006
* Motif Tools Library, Version 3.1
4009
* Written by David Flanagan.
4010
* Copyright (c) 1992-2001 by David Flanagan.
4011
* All Rights Reserved. See the file COPYRIGHT for details.
4012
* This is open source software. See the file LICENSE for details.
4013
* There is no warranty for this software. See NO_WARRANTY for details.
4016
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4017
! * Initial checkin.
4019
! * Revision 1.1 2001/06/21 17:47:46 andre
4020
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4021
! * kerberos compilation support
4026
#ifndef _XmtHelpBox_h
4027
#define _XmtHelpBox_h
4030
* Motif Tools Library, Version 3.1
4033
* Written by David Flanagan.
4034
* Copyright (c) 1992-2001 by David Flanagan.
4035
* All Rights Reserved. See the file COPYRIGHT for details.
4036
* This is open source software. See the file LICENSE for details.
4037
* There is no warranty for this software. See NO_WARRANTY for details.
4040
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4041
! * Initial checkin.
4043
! * Revision 1.1 2001/06/21 17:47:46 andre
4044
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4045
! * kerberos compilation support
4047
! * Revision 1.2 2001/06/12 16:25:28 andre
4048
! * *** empty log message ***
4053
#ifndef _XmtHelpBox_h
4054
#define _XmtHelpBox_h
4055
diff -bpcBNC 5 Xmt310/Xmt/HelpBoxP.h Xmt310.ge/Xmt/HelpBoxP.h
4056
*** Xmt310/Xmt/HelpBoxP.h Sun Feb 4 22:39:50 2001
4057
--- Xmt310.ge/Xmt/HelpBoxP.h Tue Jun 12 18:25:28 2001
4061
* Motif Tools Library, Version 3.1
4064
* Written by David Flanagan.
4065
* Copyright (c) 1992-2001 by David Flanagan.
4066
* All Rights Reserved. See the file COPYRIGHT for details.
4067
* This is open source software. See the file LICENSE for details.
4068
* There is no warranty for this software. See NO_WARRANTY for details.
4071
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4072
! * Initial checkin.
4074
! * Revision 1.1 2001/06/21 17:47:46 andre
4075
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4076
! * kerberos compilation support
4081
#ifndef _XmtHelpBoxP_h
4082
#define _XmtHelpBoxP_h
4085
* Motif Tools Library, Version 3.1
4088
* Written by David Flanagan.
4089
* Copyright (c) 1992-2001 by David Flanagan.
4090
* All Rights Reserved. See the file COPYRIGHT for details.
4091
* This is open source software. See the file LICENSE for details.
4092
* There is no warranty for this software. See NO_WARRANTY for details.
4095
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4096
! * Initial checkin.
4098
! * Revision 1.1 2001/06/21 17:47:46 andre
4099
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4100
! * kerberos compilation support
4102
! * Revision 1.2 2001/06/12 16:25:28 andre
4103
! * *** empty log message ***
4108
#ifndef _XmtHelpBoxP_h
4109
#define _XmtHelpBoxP_h
4110
diff -bpcBNC 5 Xmt310/Xmt/HelpBoxS.c Xmt310.ge/Xmt/HelpBoxS.c
4111
*** Xmt310/Xmt/HelpBoxS.c Sun Feb 4 22:39:56 2001
4112
--- Xmt310.ge/Xmt/HelpBoxS.c Tue Jun 12 18:25:28 2001
4116
* Motif Tools Library, Version 3.1
4119
* Written by David Flanagan.
4120
* Copyright (c) 1992-2001 by David Flanagan.
4121
* All Rights Reserved. See the file COPYRIGHT for details.
4122
* This is open source software. See the file LICENSE for details.
4123
* There is no warranty for this software. See NO_WARRANTY for details.
4126
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4127
! * Initial checkin.
4129
! * Revision 1.1 2001/06/21 17:47:46 andre
4130
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4131
! * kerberos compilation support
4135
#include <X11/Intrinsic.h>
4137
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
4140
* Motif Tools Library, Version 3.1
4143
* Written by David Flanagan.
4144
* Copyright (c) 1992-2001 by David Flanagan.
4145
* All Rights Reserved. See the file COPYRIGHT for details.
4146
* This is open source software. See the file LICENSE for details.
4147
* There is no warranty for this software. See NO_WARRANTY for details.
4150
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4151
! * Initial checkin.
4153
! * Revision 1.1 2001/06/21 17:47:46 andre
4154
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4155
! * kerberos compilation support
4157
! * Revision 1.2 2001/06/12 16:25:28 andre
4158
! * *** empty log message ***
4162
#include <X11/Intrinsic.h>
4164
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
4165
diff -bpcBNC 5 Xmt310/Xmt/HelpBrowser.c Xmt310.ge/Xmt/HelpBrowser.c
4166
*** Xmt310/Xmt/HelpBrowser.c Sun Feb 4 22:40:00 2001
4167
--- Xmt310.ge/Xmt/HelpBrowser.c Tue Jun 12 18:25:28 2001
4171
* Motif Tools Library, Version 3.1
4174
* Written by David Flanagan.
4175
* Copyright (c) 1992-2001 by David Flanagan.
4176
* All Rights Reserved. See the file COPYRIGHT for details.
4177
* This is open source software. See the file LICENSE for details.
4178
* There is no warranty for this software. See NO_WARRANTY for details.
4181
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4182
! * Initial checkin.
4184
! * Revision 1.1 2001/06/21 17:47:46 andre
4185
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4186
! * kerberos compilation support
4191
#include <Xmt/XmtP.h>
4192
#include <Xmt/HelpBrowserP.h>
4195
* Motif Tools Library, Version 3.1
4198
* Written by David Flanagan.
4199
* Copyright (c) 1992-2001 by David Flanagan.
4200
* All Rights Reserved. See the file COPYRIGHT for details.
4201
* This is open source software. See the file LICENSE for details.
4202
* There is no warranty for this software. See NO_WARRANTY for details.
4205
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4206
! * Initial checkin.
4208
! * Revision 1.1 2001/06/21 17:47:46 andre
4209
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4210
! * kerberos compilation support
4212
! * Revision 1.2 2001/06/12 16:25:28 andre
4213
! * *** empty log message ***
4218
#include <Xmt/XmtP.h>
4219
#include <Xmt/HelpBrowserP.h>
4220
*************** Widget w;
4223
XtSetArg(args[ac], XmNfontList, hb->help_browser.toc_font_list); ac++;
4224
XtSetArg(args[ac], XmNvisibleItemCount, hb->help_browser.toc_rows); ac++;
4225
XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
4226
hb->help_browser.toc_w = XmCreateScrolledList(w, "toc", args, ac);
4227
! label = XmtCreateXmString(hb->help_browser.toc_label);
4228
XtVaSetValues(XtParent(hb->help_browser.toc_w),
4229
XmtNlayoutCaption, label,
4230
XmtNlayoutCaptionPosition, XmtLayoutTop,
4231
XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
4235
XtSetArg(args[ac], XmNfontList, hb->help_browser.toc_font_list); ac++;
4236
XtSetArg(args[ac], XmNvisibleItemCount, hb->help_browser.toc_rows); ac++;
4237
XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
4238
hb->help_browser.toc_w = XmCreateScrolledList(w, "toc", args, ac);
4239
! label = XmtCreateLocalizedXmString(w, hb->help_browser.toc_label);
4240
XtVaSetValues(XtParent(hb->help_browser.toc_w),
4241
XmtNlayoutCaption, label,
4242
XmtNlayoutCaptionPosition, XmtLayoutTop,
4243
XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
4245
*************** Widget w;
4249
XtSetArg(args[ac], XmNfontList, hb->help_browser.index_font_list); ac++;
4250
XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
4251
hb->help_browser.index_w = XmCreateScrolledList(w, "index", args, ac);
4252
! label = XmtCreateXmString(hb->help_browser.index_label);
4253
XtVaSetValues(XtParent(hb->help_browser.index_w),
4254
XmtNlayoutCaption, label,
4255
XmtNlayoutCaptionPosition, XmtLayoutTop,
4256
XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
4257
XmtNlayoutStretchability, 0,
4261
XtSetArg(args[ac], XmNfontList, hb->help_browser.index_font_list); ac++;
4262
XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
4263
hb->help_browser.index_w = XmCreateScrolledList(w, "index", args, ac);
4264
! label = XmtCreateLocalizedXmString(w, hb->help_browser.index_label);
4265
XtVaSetValues(XtParent(hb->help_browser.index_w),
4266
XmtNlayoutCaption, label,
4267
XmtNlayoutCaptionPosition, XmtLayoutTop,
4268
XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
4269
XmtNlayoutStretchability, 0,
4270
*************** Widget w;
4272
UpCallback, (XtPointer)hb);
4275
XtCreateManagedWidget("", xmSeparatorWidgetClass,
4276
hb->help_browser.text_title_pane, NULL, 0);
4277
! label = XmtCreateXmString(hb->help_browser.crossref_label);
4278
hb->help_browser.see_also_label =
4279
XtVaCreateManagedWidget("", xmLabelWidgetClass,
4280
hb->help_browser.text_title_pane,
4281
XmNlabelString, label,
4282
XmNfontList,hb->help_browser.section_font_list,
4284
UpCallback, (XtPointer)hb);
4287
XtCreateManagedWidget("", xmSeparatorWidgetClass,
4288
hb->help_browser.text_title_pane, NULL, 0);
4289
! label = XmtCreateLocalizedXmString(w, hb->help_browser.crossref_label);
4290
hb->help_browser.see_also_label =
4291
XtVaCreateManagedWidget("", xmLabelWidgetClass,
4292
hb->help_browser.text_title_pane,
4293
XmNlabelString, label,
4294
XmNfontList,hb->help_browser.section_font_list,
4295
*************** Widget w;
4298
XtSetArg(args[ac], XmNlabelString, NULL); ac++;
4299
XtSetArg(args[ac], XmtNlayoutIn, buttonbox); ac++;
4302
! (XtArgVal)XmtCreateXmString(hb->help_browser.next_label);
4303
hb->help_browser.next_w =
4304
XtCreateManagedWidget("next", xmPushButtonWidgetClass, w, args, ac);
4305
XmStringFree((XmString)args[0].value);
4308
! (XtArgVal)XmtCreateXmString(hb->help_browser.prev_label);
4309
hb->help_browser.prev_w =
4310
XtCreateManagedWidget("prev", xmPushButtonWidgetClass, w, args, ac);
4311
XmStringFree((XmString)args[0].value);
4314
! (XtArgVal)XmtCreateXmString(hb->help_browser.done_label);
4315
hb->help_browser.done_w =
4316
XtCreateWidget("done", xmPushButtonWidgetClass, w, args, ac);
4317
/* give this button a large margin to set it off from the others */
4318
XtVaSetValues(hb->help_browser.done_w, XmtNlayoutMarginWidth, 15, NULL);
4319
XtManageChild(hb->help_browser.done_w);
4322
XtSetArg(args[ac], XmNlabelString, NULL); ac++;
4323
XtSetArg(args[ac], XmtNlayoutIn, buttonbox); ac++;
4326
! (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.next_label);
4327
hb->help_browser.next_w =
4328
XtCreateManagedWidget("next", xmPushButtonWidgetClass, w, args, ac);
4329
XmStringFree((XmString)args[0].value);
4332
! (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.prev_label);
4333
hb->help_browser.prev_w =
4334
XtCreateManagedWidget("prev", xmPushButtonWidgetClass, w, args, ac);
4335
XmStringFree((XmString)args[0].value);
4338
! (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.done_label);
4339
hb->help_browser.done_w =
4340
XtCreateWidget("done", xmPushButtonWidgetClass, w, args, ac);
4341
/* give this button a large margin to set it off from the others */
4342
XtVaSetValues(hb->help_browser.done_w, XmtNlayoutMarginWidth, 15, NULL);
4343
XtManageChild(hb->help_browser.done_w);
4344
*************** Cardinal *num_args;
4346
XtVaSetValues(sw->help_browser.index_title_g, XmtNlabel,
4347
sw->help_browser.index_label, NULL);
4348
sw->help_browser.index_label = empty_string;
4350
if (Changed(next_label)) {
4351
! label = XmtCreateXmString(sw->help_browser.next_label);
4352
XtVaSetValues(sw->help_browser.next_w, XmNlabelString, label, NULL);
4353
XmStringFree(label);
4354
sw->help_browser.next_label = empty_string;
4356
if (Changed(prev_label)) {
4357
! label = XmtCreateXmString(sw->help_browser.prev_label);
4358
XtVaSetValues(sw->help_browser.prev_w, XmNlabelString, label, NULL);
4359
XmStringFree(label);
4360
sw->help_browser.prev_label = empty_string;
4362
if (Changed(done_label)) {
4363
! label = XmtCreateXmString(sw->help_browser.done_label);
4364
XtVaSetValues(sw->help_browser.done_w, XmNlabelString, label, NULL);
4365
XmStringFree(label);
4366
sw->help_browser.done_label = empty_string;
4370
XtVaSetValues(sw->help_browser.index_title_g, XmtNlabel,
4371
sw->help_browser.index_label, NULL);
4372
sw->help_browser.index_label = empty_string;
4374
if (Changed(next_label)) {
4375
! label = XmtCreateLocalizedXmString((Widget)sw, sw->help_browser.next_label);
4376
XtVaSetValues(sw->help_browser.next_w, XmNlabelString, label, NULL);
4377
XmStringFree(label);
4378
sw->help_browser.next_label = empty_string;
4380
if (Changed(prev_label)) {
4381
! label = XmtCreateLocalizedXmString((Widget) sw, sw->help_browser.prev_label);
4382
XtVaSetValues(sw->help_browser.prev_w, XmNlabelString, label, NULL);
4383
XmStringFree(label);
4384
sw->help_browser.prev_label = empty_string;
4386
if (Changed(done_label)) {
4387
! label = XmtCreateLocalizedXmString((Widget) sw, sw->help_browser.done_label);
4388
XtVaSetValues(sw->help_browser.done_w, XmNlabelString, label, NULL);
4389
XmStringFree(label);
4390
sw->help_browser.done_label = empty_string;
4393
diff -bpcBNC 5 Xmt310/Xmt/HelpBrowser.h Xmt310.ge/Xmt/HelpBrowser.h
4394
*** Xmt310/Xmt/HelpBrowser.h Sun Feb 4 22:40:04 2001
4395
--- Xmt310.ge/Xmt/HelpBrowser.h Tue Jun 12 18:25:28 2001
4399
* Motif Tools Library, Version 3.1
4402
* Written by David Flanagan.
4403
* Copyright (c) 1992-2001 by David Flanagan.
4404
* All Rights Reserved. See the file COPYRIGHT for details.
4405
* This is open source software. See the file LICENSE for details.
4406
* There is no warranty for this software. See NO_WARRANTY for details.
4409
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4410
! * Initial checkin.
4412
! * Revision 1.1 2001/06/21 17:47:46 andre
4413
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4414
! * kerberos compilation support
4419
#ifndef _XmtHelpBrowser_h
4420
#define _XmtHelpBrowser_h
4423
* Motif Tools Library, Version 3.1
4426
* Written by David Flanagan.
4427
* Copyright (c) 1992-2001 by David Flanagan.
4428
* All Rights Reserved. See the file COPYRIGHT for details.
4429
* This is open source software. See the file LICENSE for details.
4430
* There is no warranty for this software. See NO_WARRANTY for details.
4433
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4434
! * Initial checkin.
4436
! * Revision 1.1 2001/06/21 17:47:46 andre
4437
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4438
! * kerberos compilation support
4440
! * Revision 1.2 2001/06/12 16:25:28 andre
4441
! * *** empty log message ***
4446
#ifndef _XmtHelpBrowser_h
4447
#define _XmtHelpBrowser_h
4448
diff -bpcBNC 5 Xmt310/Xmt/HelpBrowserP.h Xmt310.ge/Xmt/HelpBrowserP.h
4449
*** Xmt310/Xmt/HelpBrowserP.h Sun Feb 4 22:40:08 2001
4450
--- Xmt310.ge/Xmt/HelpBrowserP.h Tue Jun 12 18:25:28 2001
4454
* Motif Tools Library, Version 3.1
4457
* Written by David Flanagan.
4458
* Copyright (c) 1992-2001 by David Flanagan.
4459
* All Rights Reserved. See the file COPYRIGHT for details.
4460
* This is open source software. See the file LICENSE for details.
4461
* There is no warranty for this software. See NO_WARRANTY for details.
4464
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4465
! * Initial checkin.
4467
! * Revision 1.1 2001/06/21 17:47:46 andre
4468
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4469
! * kerberos compilation support
4474
#ifndef _XmtHelpBrowserP_h
4475
#define _XmtHelpBrowserP_h
4478
* Motif Tools Library, Version 3.1
4481
* Written by David Flanagan.
4482
* Copyright (c) 1992-2001 by David Flanagan.
4483
* All Rights Reserved. See the file COPYRIGHT for details.
4484
* This is open source software. See the file LICENSE for details.
4485
* There is no warranty for this software. See NO_WARRANTY for details.
4488
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4489
! * Initial checkin.
4491
! * Revision 1.1 2001/06/21 17:47:46 andre
4492
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4493
! * kerberos compilation support
4495
! * Revision 1.2 2001/06/12 16:25:28 andre
4496
! * *** empty log message ***
4501
#ifndef _XmtHelpBrowserP_h
4502
#define _XmtHelpBrowserP_h
4503
diff -bpcBNC 5 Xmt310/Xmt/HelpBrowserS.c Xmt310.ge/Xmt/HelpBrowserS.c
4504
*** Xmt310/Xmt/HelpBrowserS.c Sun Feb 4 22:40:12 2001
4505
--- Xmt310.ge/Xmt/HelpBrowserS.c Tue Jun 12 18:25:28 2001
4509
* Motif Tools Library, Version 3.1
4512
* Written by David Flanagan.
4513
* Copyright (c) 1992-2001 by David Flanagan.
4514
* All Rights Reserved. See the file COPYRIGHT for details.
4515
* This is open source software. See the file LICENSE for details.
4516
* There is no warranty for this software. See NO_WARRANTY for details.
4519
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4520
! * Initial checkin.
4522
! * Revision 1.1 2001/06/21 17:47:46 andre
4523
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4524
! * kerberos compilation support
4528
#include <X11/Intrinsic.h>
4530
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
4533
* Motif Tools Library, Version 3.1
4536
* Written by David Flanagan.
4537
* Copyright (c) 1992-2001 by David Flanagan.
4538
* All Rights Reserved. See the file COPYRIGHT for details.
4539
* This is open source software. See the file LICENSE for details.
4540
* There is no warranty for this software. See NO_WARRANTY for details.
4543
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4544
! * Initial checkin.
4546
! * Revision 1.1 2001/06/21 17:47:46 andre
4547
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4548
! * kerberos compilation support
4550
! * Revision 1.2 2001/06/12 16:25:28 andre
4551
! * *** empty log message ***
4555
#include <X11/Intrinsic.h>
4557
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
4558
diff -bpcBNC 5 Xmt310/Xmt/HelpNode.c Xmt310.ge/Xmt/HelpNode.c
4559
*** Xmt310/Xmt/HelpNode.c Sun Feb 4 22:40:16 2001
4560
--- Xmt310.ge/Xmt/HelpNode.c Tue Jun 12 18:25:28 2001
4564
* Motif Tools Library, Version 3.1
4567
* Written by David Flanagan.
4568
* Copyright (c) 1992-2001 by David Flanagan.
4569
* All Rights Reserved. See the file COPYRIGHT for details.
4570
* This is open source software. See the file LICENSE for details.
4571
* There is no warranty for this software. See NO_WARRANTY for details.
4574
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4575
! * Initial checkin.
4577
! * Revision 1.1 2001/06/21 17:47:46 andre
4578
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4579
! * kerberos compilation support
4588
* Motif Tools Library, Version 3.1
4591
* Written by David Flanagan.
4592
* Copyright (c) 1992-2001 by David Flanagan.
4593
* All Rights Reserved. See the file COPYRIGHT for details.
4594
* This is open source software. See the file LICENSE for details.
4595
* There is no warranty for this software. See NO_WARRANTY for details.
4598
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4599
! * Initial checkin.
4601
! * Revision 1.1 2001/06/21 17:47:46 andre
4602
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4603
! * kerberos compilation support
4605
! * Revision 1.2 2001/06/12 16:25:28 andre
4606
! * *** empty log message ***
4613
diff -bpcBNC 5 Xmt310/Xmt/IBMManage.c Xmt310.ge/Xmt/IBMManage.c
4614
*** Xmt310/Xmt/IBMManage.c Sun Feb 4 22:40:46 2001
4615
--- Xmt310.ge/Xmt/IBMManage.c Tue Jun 12 18:25:28 2001
4619
* Motif Tools Library, Version 3.1
4622
* Written by David Flanagan.
4623
* Copyright (c) 1992-2001 by David Flanagan.
4624
* All Rights Reserved. See the file COPYRIGHT for details.
4625
* This is open source software. See the file LICENSE for details.
4626
* There is no warranty for this software. See NO_WARRANTY for details.
4629
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4630
! * Initial checkin.
4632
! * Revision 1.1 2001/06/21 17:47:46 andre
4633
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4634
! * kerberos compilation support
4640
* This file is almost directly from the X11R5 distribution.
4643
* Motif Tools Library, Version 3.1
4646
* Written by David Flanagan.
4647
* Copyright (c) 1992-2001 by David Flanagan.
4648
* All Rights Reserved. See the file COPYRIGHT for details.
4649
* This is open source software. See the file LICENSE for details.
4650
* There is no warranty for this software. See NO_WARRANTY for details.
4653
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4654
! * Initial checkin.
4656
! * Revision 1.1 2001/06/21 17:47:46 andre
4657
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4658
! * kerberos compilation support
4660
! * Revision 1.2 2001/06/12 16:25:28 andre
4661
! * *** empty log message ***
4667
* This file is almost directly from the X11R5 distribution.
4668
diff -bpcBNC 5 Xmt310/Xmt/Icon.c Xmt310.ge/Xmt/Icon.c
4669
*** Xmt310/Xmt/Icon.c Sun Feb 4 22:40:52 2001
4670
--- Xmt310.ge/Xmt/Icon.c Tue Jun 12 18:25:28 2001
4674
* Motif Tools Library, Version 3.1
4677
* Written by David Flanagan.
4678
* Copyright (c) 1992-2001 by David Flanagan.
4679
* All Rights Reserved. See the file COPYRIGHT for details.
4680
* This is open source software. See the file LICENSE for details.
4681
* There is no warranty for this software. See NO_WARRANTY for details.
4684
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4685
! * Initial checkin.
4687
! * Revision 1.1 2001/06/21 17:47:46 andre
4688
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4689
! * kerberos compilation support
4694
#include <Xmt/Xmt.h>
4695
#include <Xmt/Icon.h>
4698
* Motif Tools Library, Version 3.1
4701
* Written by David Flanagan.
4702
* Copyright (c) 1992-2001 by David Flanagan.
4703
* All Rights Reserved. See the file COPYRIGHT for details.
4704
* This is open source software. See the file LICENSE for details.
4705
* There is no warranty for this software. See NO_WARRANTY for details.
4708
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4709
! * Initial checkin.
4711
! * Revision 1.1 2001/06/21 17:47:46 andre
4712
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4713
! * kerberos compilation support
4715
! * Revision 1.2 2001/06/12 16:25:28 andre
4716
! * *** empty log message ***
4721
#include <Xmt/Xmt.h>
4722
#include <Xmt/Icon.h>
4723
diff -bpcBNC 5 Xmt310/Xmt/Icon.h Xmt310.ge/Xmt/Icon.h
4724
*** Xmt310/Xmt/Icon.h Sun Feb 4 22:40:56 2001
4725
--- Xmt310.ge/Xmt/Icon.h Tue Jun 12 18:25:28 2001
4729
* Motif Tools Library, Version 3.1
4732
* Written by David Flanagan.
4733
* Copyright (c) 1992-2001 by David Flanagan.
4734
* All Rights Reserved. See the file COPYRIGHT for details.
4735
* This is open source software. See the file LICENSE for details.
4736
* There is no warranty for this software. See NO_WARRANTY for details.
4739
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4740
! * Initial checkin.
4742
! * Revision 1.1 2001/06/21 17:47:46 andre
4743
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4744
! * kerberos compilation support
4753
* Motif Tools Library, Version 3.1
4756
* Written by David Flanagan.
4757
* Copyright (c) 1992-2001 by David Flanagan.
4758
* All Rights Reserved. See the file COPYRIGHT for details.
4759
* This is open source software. See the file LICENSE for details.
4760
* There is no warranty for this software. See NO_WARRANTY for details.
4763
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4764
! * Initial checkin.
4766
! * Revision 1.1 2001/06/21 17:47:46 andre
4767
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4768
! * kerberos compilation support
4770
! * Revision 1.2 2001/06/12 16:25:28 andre
4771
! * *** empty log message ***
4778
diff -bpcBNC 5 Xmt310/Xmt/Icons.c Xmt310.ge/Xmt/Icons.c
4779
*** Xmt310/Xmt/Icons.c Sun Feb 4 22:41:00 2001
4780
--- Xmt310.ge/Xmt/Icons.c Tue Jun 12 18:25:28 2001
4784
* Motif Tools Library, Version 3.1
4787
* Written by David Flanagan.
4788
* Copyright (c) 1992-2001 by David Flanagan.
4789
* All Rights Reserved. See the file COPYRIGHT for details.
4790
* This is open source software. See the file LICENSE for details.
4791
* There is no warranty for this software. See NO_WARRANTY for details.
4794
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4795
! * Initial checkin.
4797
! * Revision 1.1 2001/06/21 17:47:46 andre
4798
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4799
! * kerberos compilation support
4804
#include <Xmt/Xmt.h>
4805
#include <Xmt/Xpm.h>
4808
* Motif Tools Library, Version 3.1
4811
* Written by David Flanagan.
4812
* Copyright (c) 1992-2001 by David Flanagan.
4813
* All Rights Reserved. See the file COPYRIGHT for details.
4814
* This is open source software. See the file LICENSE for details.
4815
* There is no warranty for this software. See NO_WARRANTY for details.
4818
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4819
! * Initial checkin.
4821
! * Revision 1.1 2001/06/21 17:47:46 andre
4822
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4823
! * kerberos compilation support
4825
! * Revision 1.2 2001/06/12 16:25:28 andre
4826
! * *** empty log message ***
4831
#include <Xmt/Xmt.h>
4832
#include <Xmt/Xpm.h>
4833
diff -bpcBNC 5 Xmt310/Xmt/Include.c Xmt310.ge/Xmt/Include.c
4834
*** Xmt310/Xmt/Include.c Sun Feb 4 22:41:56 2001
4835
--- Xmt310.ge/Xmt/Include.c Tue Jun 12 18:25:28 2001
4839
* Motif Tools Library, Version 3.1
4842
* Written by David Flanagan.
4843
* Copyright (c) 1992-2001 by David Flanagan.
4844
* All Rights Reserved. See the file COPYRIGHT for details.
4845
* This is open source software. See the file LICENSE for details.
4846
* There is no warranty for this software. See NO_WARRANTY for details.
4849
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4850
! * Initial checkin.
4852
! * Revision 1.1 2001/06/21 17:47:46 andre
4853
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4854
! * kerberos compilation support
4863
* Motif Tools Library, Version 3.1
4866
* Written by David Flanagan.
4867
* Copyright (c) 1992-2001 by David Flanagan.
4868
* All Rights Reserved. See the file COPYRIGHT for details.
4869
* This is open source software. See the file LICENSE for details.
4870
* There is no warranty for this software. See NO_WARRANTY for details.
4873
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4874
! * Initial checkin.
4876
! * Revision 1.1 2001/06/21 17:47:46 andre
4877
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4878
! * kerberos compilation support
4880
! * Revision 1.2 2001/06/12 16:25:28 andre
4881
! * *** empty log message ***
4888
*************** Boolean user;
4893
static XrmName required_names[2];
4894
static XrmClass required_classes[2];
4895
! static required_quarks_inited = False;
4896
XmtAppResources *app = XmtGetApplicationResources(w);
4897
XrmRepresentation type;
4899
XrmDatabase newdb = NULL;
4900
XrmDatabase userdb = NULL;
4901
String full_filename;
4902
String user_filename;
4903
Boolean found = False;
4907
if (!filename || filename[0] == '\0') return False;
4909
/* find our application shell */
4910
w = XmtGetApplicationShell(w);
4915
static XrmName required_names[2];
4916
static XrmClass required_classes[2];
4917
! static Boolean required_quarks_inited = False;
4918
XmtAppResources *app = XmtGetApplicationResources(w);
4919
XrmRepresentation type;
4921
XrmDatabase newdb = NULL;
4922
XrmDatabase userdb = NULL;
4923
String full_filename;
4924
String user_filename;
4925
Boolean found = False;
4927
! XtPointer dummy = NULL;
4929
if (!filename || filename[0] == '\0') return False;
4931
/* find our application shell */
4932
w = XmtGetApplicationShell(w);
4933
diff -bpcBNC 5 Xmt310/Xmt/Include.h Xmt310.ge/Xmt/Include.h
4934
*** Xmt310/Xmt/Include.h Sun Feb 4 22:42:16 2001
4935
--- Xmt310.ge/Xmt/Include.h Tue Jun 12 18:25:28 2001
4939
* Motif Tools Library, Version 3.1
4942
* Written by David Flanagan.
4943
* Copyright (c) 1992-2001 by David Flanagan.
4944
* All Rights Reserved. See the file COPYRIGHT for details.
4945
* This is open source software. See the file LICENSE for details.
4946
* There is no warranty for this software. See NO_WARRANTY for details.
4949
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4950
! * Initial checkin.
4952
! * Revision 1.1 2001/06/21 17:47:46 andre
4953
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4954
! * kerberos compilation support
4959
#ifndef _XmtInclude_h
4960
#define _XmtInclude_h
4963
* Motif Tools Library, Version 3.1
4966
* Written by David Flanagan.
4967
* Copyright (c) 1992-2001 by David Flanagan.
4968
* All Rights Reserved. See the file COPYRIGHT for details.
4969
* This is open source software. See the file LICENSE for details.
4970
* There is no warranty for this software. See NO_WARRANTY for details.
4973
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4974
! * Initial checkin.
4976
! * Revision 1.1 2001/06/21 17:47:46 andre
4977
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
4978
! * kerberos compilation support
4980
! * Revision 1.2 2001/06/12 16:25:28 andre
4981
! * *** empty log message ***
4986
#ifndef _XmtInclude_h
4987
#define _XmtInclude_h
4988
diff -bpcBNC 5 Xmt310/Xmt/InitFocus.c Xmt310.ge/Xmt/InitFocus.c
4989
*** Xmt310/Xmt/InitFocus.c Sun Feb 4 22:42:22 2001
4990
--- Xmt310.ge/Xmt/InitFocus.c Tue Jun 12 18:25:28 2001
4994
* Motif Tools Library, Version 3.1
4997
* Written by David Flanagan.
4998
* Copyright (c) 1992-2001 by David Flanagan.
4999
* All Rights Reserved. See the file COPYRIGHT for details.
5000
* This is open source software. See the file LICENSE for details.
5001
* There is no warranty for this software. See NO_WARRANTY for details.
5004
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5005
! * Initial checkin.
5007
! * Revision 1.1 2001/06/21 17:47:46 andre
5008
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5009
! * kerberos compilation support
5014
#include <Xmt/Xmt.h>
5015
#include <Xmt/Util.h>
5018
* Motif Tools Library, Version 3.1
5021
* Written by David Flanagan.
5022
* Copyright (c) 1992-2001 by David Flanagan.
5023
* All Rights Reserved. See the file COPYRIGHT for details.
5024
* This is open source software. See the file LICENSE for details.
5025
* There is no warranty for this software. See NO_WARRANTY for details.
5028
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5029
! * Initial checkin.
5031
! * Revision 1.1 2001/06/21 17:47:46 andre
5032
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5033
! * kerberos compilation support
5035
! * Revision 1.2 2001/06/12 16:25:28 andre
5036
! * *** empty log message ***
5041
#include <Xmt/Xmt.h>
5042
#include <Xmt/Util.h>
5043
diff -bpcBNC 5 Xmt310/Xmt/Initialize.c Xmt310.ge/Xmt/Initialize.c
5044
*** Xmt310/Xmt/Initialize.c Sun Feb 4 22:42:28 2001
5045
--- Xmt310.ge/Xmt/Initialize.c Tue Jun 12 18:25:28 2001
5049
* Motif Tools Library, Version 3.1
5052
* Written by David Flanagan.
5053
* Copyright (c) 1992-2001 by David Flanagan.
5054
* All Rights Reserved. See the file COPYRIGHT for details.
5055
* This is open source software. See the file LICENSE for details.
5056
* There is no warranty for this software. See NO_WARRANTY for details.
5059
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5060
! * Initial checkin.
5062
! * Revision 1.1 2001/06/21 17:47:46 andre
5063
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5064
! * kerberos compilation support
5073
* Motif Tools Library, Version 3.1
5076
* Written by David Flanagan.
5077
* Copyright (c) 1992-2001 by David Flanagan.
5078
* All Rights Reserved. See the file COPYRIGHT for details.
5079
* This is open source software. See the file LICENSE for details.
5080
* There is no warranty for this software. See NO_WARRANTY for details.
5083
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5084
! * Initial checkin.
5086
! * Revision 1.1 2001/06/21 17:47:46 andre
5087
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5088
! * kerberos compilation support
5090
! * Revision 1.2 2001/06/12 16:25:28 andre
5091
! * *** empty log message ***
5098
diff -bpcBNC 5 Xmt310/Xmt/InputField.c Xmt310.ge/Xmt/InputField.c
5099
*** Xmt310/Xmt/InputField.c Sun Feb 4 22:42:38 2001
5100
--- Xmt310.ge/Xmt/InputField.c Tue Jun 12 18:25:28 2001
5104
* Motif Tools Library, Version 3.1
5107
* Written by David Flanagan.
5108
* Copyright (c) 1992-2001 by David Flanagan.
5109
* All Rights Reserved. See the file COPYRIGHT for details.
5110
* This is open source software. See the file LICENSE for details.
5111
* There is no warranty for this software. See NO_WARRANTY for details.
5114
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5115
! * Initial checkin.
5117
! * Revision 1.1 2001/06/21 17:47:46 andre
5118
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5119
! * kerberos compilation support
5128
* Motif Tools Library, Version 3.1
5131
* Written by David Flanagan.
5132
* Copyright (c) 1992-2001 by David Flanagan.
5133
* All Rights Reserved. See the file COPYRIGHT for details.
5134
* This is open source software. See the file LICENSE for details.
5135
* There is no warranty for this software. See NO_WARRANTY for details.
5138
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5139
! * Initial checkin.
5141
! * Revision 1.1 2001/06/21 17:47:46 andre
5142
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5143
! * kerberos compilation support
5145
! * Revision 1.2 2001/06/12 16:25:28 andre
5146
! * *** empty log message ***
5153
diff -bpcBNC 5 Xmt310/Xmt/InputField.h Xmt310.ge/Xmt/InputField.h
5154
*** Xmt310/Xmt/InputField.h Sun Feb 4 22:42:42 2001
5155
--- Xmt310.ge/Xmt/InputField.h Tue Jun 12 18:25:28 2001
5159
* Motif Tools Library, Version 3.1
5162
* Written by David Flanagan.
5163
* Copyright (c) 1992-2001 by David Flanagan.
5164
* All Rights Reserved. See the file COPYRIGHT for details.
5165
* This is open source software. See the file LICENSE for details.
5166
* There is no warranty for this software. See NO_WARRANTY for details.
5169
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5170
! * Initial checkin.
5172
! * Revision 1.1 2001/06/21 17:47:46 andre
5173
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5174
! * kerberos compilation support
5179
#ifndef _XmtInputField_h
5180
#define _XmtInputField_h
5183
* Motif Tools Library, Version 3.1
5186
* Written by David Flanagan.
5187
* Copyright (c) 1992-2001 by David Flanagan.
5188
* All Rights Reserved. See the file COPYRIGHT for details.
5189
* This is open source software. See the file LICENSE for details.
5190
* There is no warranty for this software. See NO_WARRANTY for details.
5193
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5194
! * Initial checkin.
5196
! * Revision 1.1 2001/06/21 17:47:46 andre
5197
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5198
! * kerberos compilation support
5200
! * Revision 1.2 2001/06/12 16:25:28 andre
5201
! * *** empty log message ***
5206
#ifndef _XmtInputField_h
5207
#define _XmtInputField_h
5208
diff -bpcBNC 5 Xmt310/Xmt/InputFieldP.h Xmt310.ge/Xmt/InputFieldP.h
5209
*** Xmt310/Xmt/InputFieldP.h Sun Feb 4 22:42:48 2001
5210
--- Xmt310.ge/Xmt/InputFieldP.h Tue Jun 12 18:25:28 2001
5214
* Motif Tools Library, Version 3.1
5217
* Written by David Flanagan.
5218
* Copyright (c) 1992-2001 by David Flanagan.
5219
* All Rights Reserved. See the file COPYRIGHT for details.
5220
* This is open source software. See the file LICENSE for details.
5221
* There is no warranty for this software. See NO_WARRANTY for details.
5224
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5225
! * Initial checkin.
5227
! * Revision 1.1 2001/06/21 17:47:46 andre
5228
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5229
! * kerberos compilation support
5234
#ifndef _XmtInputFieldP_h
5235
#define _XmtInputFieldP_h
5238
* Motif Tools Library, Version 3.1
5241
* Written by David Flanagan.
5242
* Copyright (c) 1992-2001 by David Flanagan.
5243
* All Rights Reserved. See the file COPYRIGHT for details.
5244
* This is open source software. See the file LICENSE for details.
5245
* There is no warranty for this software. See NO_WARRANTY for details.
5248
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5249
! * Initial checkin.
5251
! * Revision 1.1 2001/06/21 17:47:46 andre
5252
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5253
! * kerberos compilation support
5255
! * Revision 1.2 2001/06/12 16:25:28 andre
5256
! * *** empty log message ***
5261
#ifndef _XmtInputFieldP_h
5262
#define _XmtInputFieldP_h
5263
diff -bpcBNC 5 Xmt310/Xmt/InputFieldS.c Xmt310.ge/Xmt/InputFieldS.c
5264
*** Xmt310/Xmt/InputFieldS.c Sun Feb 4 22:42:52 2001
5265
--- Xmt310.ge/Xmt/InputFieldS.c Tue Jun 12 18:25:28 2001
5269
* Motif Tools Library, Version 3.1
5272
* Written by David Flanagan.
5273
* Copyright (c) 1992-2001 by David Flanagan.
5274
* All Rights Reserved. See the file COPYRIGHT for details.
5275
* This is open source software. See the file LICENSE for details.
5276
* There is no warranty for this software. See NO_WARRANTY for details.
5279
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5280
! * Initial checkin.
5282
! * Revision 1.1 2001/06/21 17:47:46 andre
5283
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5284
! * kerberos compilation support
5288
#include <X11/Intrinsic.h>
5290
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
5293
* Motif Tools Library, Version 3.1
5296
* Written by David Flanagan.
5297
* Copyright (c) 1992-2001 by David Flanagan.
5298
* All Rights Reserved. See the file COPYRIGHT for details.
5299
* This is open source software. See the file LICENSE for details.
5300
* There is no warranty for this software. See NO_WARRANTY for details.
5303
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5304
! * Initial checkin.
5306
! * Revision 1.1 2001/06/21 17:47:46 andre
5307
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5308
! * kerberos compilation support
5310
! * Revision 1.2 2001/06/12 16:25:28 andre
5311
! * *** empty log message ***
5315
#include <X11/Intrinsic.h>
5317
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
5318
diff -bpcBNC 5 Xmt310/Xmt/Layout.c Xmt310.ge/Xmt/Layout.c
5319
*** Xmt310/Xmt/Layout.c Sun Feb 4 22:42:54 2001
5320
--- Xmt310.ge/Xmt/Layout.c Tue Jun 12 18:25:28 2001
5324
* Motif Tools Library, Version 3.1
5327
* Written by David Flanagan.
5328
* Copyright (c) 1992-2001 by David Flanagan.
5329
* All Rights Reserved. See the file COPYRIGHT for details.
5330
* This is open source software. See the file LICENSE for details.
5331
* There is no warranty for this software. See NO_WARRANTY for details.
5334
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5335
! * Initial checkin.
5337
! * Revision 1.1 2001/06/21 17:47:46 andre
5338
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5339
! * kerberos compilation support
5345
#include <Xmt/XmtP.h>
5348
* Motif Tools Library, Version 3.1
5351
* Written by David Flanagan.
5352
* Copyright (c) 1992-2001 by David Flanagan.
5353
* All Rights Reserved. See the file COPYRIGHT for details.
5354
* This is open source software. See the file LICENSE for details.
5355
* There is no warranty for this software. See NO_WARRANTY for details.
5358
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5359
! * Initial checkin.
5361
! * Revision 1.1 2001/06/21 17:47:46 andre
5362
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5363
! * kerberos compilation support
5365
! * Revision 1.2 2001/06/12 16:25:28 andre
5366
! * *** empty log message ***
5372
#include <Xmt/XmtP.h>
5373
*************** static void ClassInitialize(void)
5375
static void ClassInitialize()
5378
static String justification_names[] = {
5379
"Bottom", "Center", "Centered", "Filled", "Left", "Right", "Top"};
5380
! static int justification_values[] = {
5381
XmtLayoutFlushBottom, XmtLayoutCentered, XmtLayoutCentered,
5382
XmtLayoutFilled,XmtLayoutFlushLeft,
5383
XmtLayoutFlushRight, XmtLayoutFlushTop};
5384
static String justification_prefixes[] = {"Xmt", "Layout", "Flush", NULL};
5386
static String edge_names[] = {
5387
"Bottom", "Left", "Right", "Top"};
5388
! static int edge_values[] = {
5389
XmtLayoutBottom, XmtLayoutLeft, XmtLayoutRight, XmtLayoutTop
5391
static String edge_prefixes[] = {"Xmt", "Layout", NULL};
5393
static String line_type_names[] = {
5394
"Double", "DoubleLine", "Etched", "EtchedIn", "EtchedOut",
5395
"Shadow", "ShadowIn", "ShadowOut", "Single", "SingleLine",
5397
! static int line_type_values[] = {
5398
XmtLayoutFrameDoubleLine, XmtLayoutFrameDoubleLine,
5399
XmtLayoutFrameEtchedIn, XmtLayoutFrameEtchedIn,
5400
XmtLayoutFrameEtchedOut, XmtLayoutFrameShadowIn,
5401
XmtLayoutFrameShadowIn, XmtLayoutFrameShadowOut,
5402
XmtLayoutFrameSingleLine, XmtLayoutFrameSingleLine
5405
static String frame_type_names[] = {
5406
"Bottom", "Box", "Left", "None", "Right", "Top" };
5407
! static int frame_type_values[] = {
5408
XmtLayoutFrameBottom, XmtLayoutFrameBox, XmtLayoutFrameLeft,
5409
XmtLayoutFrameNone, XmtLayoutFrameRight, XmtLayoutFrameTop
5411
static String frame_type_prefixes[] = {"Xmt", "Layout", "Frame", NULL};
5413
static String position_names[] = { "Inside", "Outside", "Through" };
5414
! static int position_values[] = {
5415
XmtLayoutFrameInside, XmtLayoutFrameOutside, XmtLayoutFrameThrough };
5417
static String space_type_names[] = {
5418
"CTabbed", "Even", "Interval", "LCR",
5419
"LREven", "LTabbed", "None", "RTabbed"
5421
! static int space_type_values[] = {
5422
XmtLayoutSpaceCTabbed, XmtLayoutSpaceEven,
5423
XmtLayoutSpaceInterval, XmtLayoutSpaceLCR,
5424
XmtLayoutSpaceLREven, XmtLayoutSpaceLTabbed,
5425
XmtLayoutSpaceNone, XmtLayoutSpaceRTabbed
5428
static void ClassInitialize()
5431
static String justification_names[] = {
5432
"Bottom", "Center", "Centered", "Filled", "Left", "Right", "Top"};
5433
! static Cardinal justification_values[] = {
5434
XmtLayoutFlushBottom, XmtLayoutCentered, XmtLayoutCentered,
5435
XmtLayoutFilled,XmtLayoutFlushLeft,
5436
XmtLayoutFlushRight, XmtLayoutFlushTop};
5437
static String justification_prefixes[] = {"Xmt", "Layout", "Flush", NULL};
5439
static String edge_names[] = {
5440
"Bottom", "Left", "Right", "Top"};
5441
! static Cardinal edge_values[] = {
5442
XmtLayoutBottom, XmtLayoutLeft, XmtLayoutRight, XmtLayoutTop
5444
static String edge_prefixes[] = {"Xmt", "Layout", NULL};
5446
static String line_type_names[] = {
5447
"Double", "DoubleLine", "Etched", "EtchedIn", "EtchedOut",
5448
"Shadow", "ShadowIn", "ShadowOut", "Single", "SingleLine",
5450
! static Cardinal line_type_values[] = {
5451
XmtLayoutFrameDoubleLine, XmtLayoutFrameDoubleLine,
5452
XmtLayoutFrameEtchedIn, XmtLayoutFrameEtchedIn,
5453
XmtLayoutFrameEtchedOut, XmtLayoutFrameShadowIn,
5454
XmtLayoutFrameShadowIn, XmtLayoutFrameShadowOut,
5455
XmtLayoutFrameSingleLine, XmtLayoutFrameSingleLine
5458
static String frame_type_names[] = {
5459
"Bottom", "Box", "Left", "None", "Right", "Top" };
5460
! static Cardinal frame_type_values[] = {
5461
XmtLayoutFrameBottom, XmtLayoutFrameBox, XmtLayoutFrameLeft,
5462
XmtLayoutFrameNone, XmtLayoutFrameRight, XmtLayoutFrameTop
5464
static String frame_type_prefixes[] = {"Xmt", "Layout", "Frame", NULL};
5466
static String position_names[] = { "Inside", "Outside", "Through" };
5467
! static Cardinal position_values[] = {
5468
XmtLayoutFrameInside, XmtLayoutFrameOutside, XmtLayoutFrameThrough };
5470
static String space_type_names[] = {
5471
"CTabbed", "Even", "Interval", "LCR",
5472
"LREven", "LTabbed", "None", "RTabbed"
5474
! static Cardinal space_type_values[] = {
5475
XmtLayoutSpaceCTabbed, XmtLayoutSpaceEven,
5476
XmtLayoutSpaceInterval, XmtLayoutSpaceLCR,
5477
XmtLayoutSpaceLREven, XmtLayoutSpaceLTabbed,
5478
XmtLayoutSpaceNone, XmtLayoutSpaceRTabbed
5480
*************** Widget c;
5485
XmtLayoutConstraintsPart *cc;
5486
int x, y, w, h; /* coordinates of widget */
5487
! int fx, fy, fw, fh; /* coordinates of outside of frame */
5488
! int cx, cy, cw, ch; /* coordinates of caption bounding box*/
5489
XmtLayoutFrameType frame_type;
5490
XmtLayoutFrameLineType frame_line_type;
5491
int frame_thickness;
5493
XmtLayoutFramePosition frame_position;
5495
! int caption_total_width, caption_total_height;
5496
Boolean frame_redrawn;
5499
* For the specified child widget:
5500
* compute the position of the frame and caption. If the frame intersects
5505
XmtLayoutConstraintsPart *cc;
5506
int x, y, w, h; /* coordinates of widget */
5507
! int fx = 0, fy = 0, fw = 0, fh = 0; /* coordinates of outside of frame */
5508
! int cx = 0, cy = 0, cw = 0, ch = 0; /* coordinates of caption bounding box*/
5509
XmtLayoutFrameType frame_type;
5510
XmtLayoutFrameLineType frame_line_type;
5511
int frame_thickness;
5513
XmtLayoutFramePosition frame_position;
5515
! int caption_total_width = 0, caption_total_height = 0;
5516
Boolean frame_redrawn;
5519
* For the specified child widget:
5520
* compute the position of the frame and caption. If the frame intersects
5521
*************** Widget w;
5523
XtWidgetGeometry *request;
5524
XtWidgetGeometry *reply;
5527
XmtLayoutWidget lw = (XmtLayoutWidget)XtParent(w);
5529
! Dimension width, height, border_width;
5531
/* this is case 2 described above */
5532
if (lw->layout.geometry_okay) {
5533
XtConfigureWidget(w,
5534
(request->request_mode&CWX)?request->x:w->core.x,
5536
XtWidgetGeometry *request;
5537
XtWidgetGeometry *reply;
5540
XmtLayoutWidget lw = (XmtLayoutWidget)XtParent(w);
5541
! Dimension width, height;
5543
/* this is case 2 described above */
5544
if (lw->layout.geometry_okay) {
5545
XtConfigureWidget(w,
5546
(request->request_mode&CWX)?request->x:w->core.x,
5547
*************** XtWidgetGeometry *reply;
5549
reply->width = LayoutConstraints(w->layout.toplevel).pref_w +
5550
2 * w->bulletin_board.margin_width;
5551
reply->height = LayoutConstraints(w->layout.toplevel).pref_h +
5552
2 * w->bulletin_board.margin_height;
5553
reply->request_mode = CWWidth | CWHeight;
5554
! if (request->request_mode & (CWWidth | CWHeight) == (CWWidth | CWHeight)
5555
! && request->width == reply->width
5556
! && request->height == reply->height)
5557
return XtGeometryYes;
5558
! else if (reply->width == w->core.width && reply->height == w->core.height)
5559
return XtGeometryNo;
5561
return XtGeometryAlmost;
5565
reply->width = LayoutConstraints(w->layout.toplevel).pref_w +
5566
2 * w->bulletin_board.margin_width;
5567
reply->height = LayoutConstraints(w->layout.toplevel).pref_h +
5568
2 * w->bulletin_board.margin_height;
5569
reply->request_mode = CWWidth | CWHeight;
5570
! if (((request->request_mode & (CWWidth | CWHeight)) == (CWWidth | CWHeight))
5571
! && (request->width == reply->width)
5572
! && (request->height == reply->height))
5573
return XtGeometryYes;
5574
! else if ((reply->width == w->core.width) && (reply->height == w->core.height))
5575
return XtGeometryNo;
5577
return XtGeometryAlmost;
5580
*************** Cardinal *num_args;
5583
if ((set->core.x != current->core.x) || (set->core.y != current->core.y)) {
5584
set->core.x = current->core.x;
5585
set->core.y = current->core.y;
5586
XmtWarningMsg("XmtLayout", "cantsetpos",
5587
! "Widget %s: can't set XtNx or XtNy resources of a child of\n\tan XmtLayout widget. Changes ignored.");
5595
if ((set->core.x != current->core.x) || (set->core.y != current->core.y)) {
5596
set->core.x = current->core.x;
5597
set->core.y = current->core.y;
5598
XmtWarningMsg("XmtLayout", "cantsetpos",
5599
! "Widget %s: can't set XtNx or XtNy resources of a child of\n\tan XmtLayout widget. Changes ignored.", XtName((Widget)set));
5605
diff -bpcBNC 5 Xmt310/Xmt/Layout.h Xmt310.ge/Xmt/Layout.h
5606
*** Xmt310/Xmt/Layout.h Sun Feb 4 22:42:58 2001
5607
--- Xmt310.ge/Xmt/Layout.h Tue Jun 12 18:25:28 2001
5611
* Motif Tools Library, Version 3.1
5614
* Written by David Flanagan.
5615
* Copyright (c) 1992-2001 by David Flanagan.
5616
* All Rights Reserved. See the file COPYRIGHT for details.
5617
* This is open source software. See the file LICENSE for details.
5618
* There is no warranty for this software. See NO_WARRANTY for details.
5621
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5622
! * Initial checkin.
5624
! * Revision 1.1 2001/06/21 17:47:46 andre
5625
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5626
! * kerberos compilation support
5631
#ifndef _XmtLayout_h
5632
#define _XmtLayout_h
5635
* Motif Tools Library, Version 3.1
5638
* Written by David Flanagan.
5639
* Copyright (c) 1992-2001 by David Flanagan.
5640
* All Rights Reserved. See the file COPYRIGHT for details.
5641
* This is open source software. See the file LICENSE for details.
5642
* There is no warranty for this software. See NO_WARRANTY for details.
5645
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5646
! * Initial checkin.
5648
! * Revision 1.1 2001/06/21 17:47:46 andre
5649
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5650
! * kerberos compilation support
5652
! * Revision 1.2 2001/06/12 16:25:28 andre
5653
! * *** empty log message ***
5658
#ifndef _XmtLayout_h
5659
#define _XmtLayout_h
5660
diff -bpcBNC 5 Xmt310/Xmt/LayoutBox.c Xmt310.ge/Xmt/LayoutBox.c
5661
*** Xmt310/Xmt/LayoutBox.c Sun Feb 4 22:43:02 2001
5662
--- Xmt310.ge/Xmt/LayoutBox.c Tue Jun 12 18:25:28 2001
5666
* Motif Tools Library, Version 3.1
5669
* Written by David Flanagan.
5670
* Copyright (c) 1992-2001 by David Flanagan.
5671
* All Rights Reserved. See the file COPYRIGHT for details.
5672
* This is open source software. See the file LICENSE for details.
5673
* There is no warranty for this software. See NO_WARRANTY for details.
5676
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5677
! * Initial checkin.
5679
! * Revision 1.1 2001/06/21 17:47:46 andre
5680
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5681
! * kerberos compilation support
5686
#include <Xmt/XmtP.h>
5687
#include <Xmt/LayoutGP.h>
5690
* Motif Tools Library, Version 3.1
5693
* Written by David Flanagan.
5694
* Copyright (c) 1992-2001 by David Flanagan.
5695
* All Rights Reserved. See the file COPYRIGHT for details.
5696
* This is open source software. See the file LICENSE for details.
5697
* There is no warranty for this software. See NO_WARRANTY for details.
5700
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5701
! * Initial checkin.
5703
! * Revision 1.1 2001/06/21 17:47:46 andre
5704
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5705
! * kerberos compilation support
5707
! * Revision 1.2 2001/06/12 16:25:28 andre
5708
! * *** empty log message ***
5713
#include <Xmt/XmtP.h>
5714
#include <Xmt/LayoutGP.h>
5715
*************** Widget w;
5717
int *cmajorlen, *cminorlen; /* addresses of child dimensions */
5719
int margin_width, margin_height, top_margin, left_margin;
5720
int *major_margin, *minor_margin;
5722
! int total_space, space, interval;
5724
if (!XtIsManaged(w)) return;
5726
if (lb->layout_box.orientation == XmHORIZONTAL) row = True;
5729
int *cmajorlen, *cminorlen; /* addresses of child dimensions */
5731
int margin_width, margin_height, top_margin, left_margin;
5732
int *major_margin, *minor_margin;
5734
! int total_space, space, interval = 0;
5736
if (!XtIsManaged(w)) return;
5738
if (lb->layout_box.orientation == XmHORIZONTAL) row = True;
5740
diff -bpcBNC 5 Xmt310/Xmt/LayoutCreate.c Xmt310.ge/Xmt/LayoutCreate.c
5741
*** Xmt310/Xmt/LayoutCreate.c Sun Feb 4 22:43:06 2001
5742
--- Xmt310.ge/Xmt/LayoutCreate.c Tue Jun 12 18:25:28 2001
5746
* Motif Tools Library, Version 3.1
5749
* Written by David Flanagan.
5750
* Copyright (c) 1992-2001 by David Flanagan.
5751
* All Rights Reserved. See the file COPYRIGHT for details.
5752
* This is open source software. See the file LICENSE for details.
5753
* There is no warranty for this software. See NO_WARRANTY for details.
5756
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5757
! * Initial checkin.
5759
! * Revision 1.1 2001/06/21 17:47:46 andre
5760
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5761
! * kerberos compilation support
5766
#include <Xmt/XmtP.h>
5767
#include <Xmt/LayoutP.h>
5770
* Motif Tools Library, Version 3.1
5773
* Written by David Flanagan.
5774
* Copyright (c) 1992-2001 by David Flanagan.
5775
* All Rights Reserved. See the file COPYRIGHT for details.
5776
* This is open source software. See the file LICENSE for details.
5777
* There is no warranty for this software. See NO_WARRANTY for details.
5780
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5781
! * Initial checkin.
5783
! * Revision 1.1 2001/06/21 17:47:46 andre
5784
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5785
! * kerberos compilation support
5787
! * Revision 1.2 2001/06/12 16:25:28 andre
5788
! * *** empty log message ***
5793
#include <Xmt/XmtP.h>
5794
#include <Xmt/LayoutP.h>
5795
diff -bpcBNC 5 Xmt310/Xmt/LayoutG.h Xmt310.ge/Xmt/LayoutG.h
5796
*** Xmt310/Xmt/LayoutG.h Sun Feb 4 22:43:10 2001
5797
--- Xmt310.ge/Xmt/LayoutG.h Tue Jun 12 18:25:28 2001
5801
* Motif Tools Library, Version 3.1
5804
* Written by David Flanagan.
5805
* Copyright (c) 1992-2001 by David Flanagan.
5806
* All Rights Reserved. See the file COPYRIGHT for details.
5807
* This is open source software. See the file LICENSE for details.
5808
* There is no warranty for this software. See NO_WARRANTY for details.
5811
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5812
! * Initial checkin.
5814
! * Revision 1.1 2001/06/21 17:47:46 andre
5815
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5816
! * kerberos compilation support
5821
#ifndef _XmtLayoutG_h
5822
#define _XmtLayoutG_h
5825
* Motif Tools Library, Version 3.1
5828
* Written by David Flanagan.
5829
* Copyright (c) 1992-2001 by David Flanagan.
5830
* All Rights Reserved. See the file COPYRIGHT for details.
5831
* This is open source software. See the file LICENSE for details.
5832
* There is no warranty for this software. See NO_WARRANTY for details.
5835
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5836
! * Initial checkin.
5838
! * Revision 1.1 2001/06/21 17:47:46 andre
5839
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5840
! * kerberos compilation support
5842
! * Revision 1.2 2001/06/12 16:25:28 andre
5843
! * *** empty log message ***
5848
#ifndef _XmtLayoutG_h
5849
#define _XmtLayoutG_h
5850
diff -bpcBNC 5 Xmt310/Xmt/LayoutGP.h Xmt310.ge/Xmt/LayoutGP.h
5851
*** Xmt310/Xmt/LayoutGP.h Sun Feb 4 22:43:14 2001
5852
--- Xmt310.ge/Xmt/LayoutGP.h Tue Jun 12 18:25:28 2001
5856
* Motif Tools Library, Version 3.1
5859
* Written by David Flanagan.
5860
* Copyright (c) 1992-2001 by David Flanagan.
5861
* All Rights Reserved. See the file COPYRIGHT for details.
5862
* This is open source software. See the file LICENSE for details.
5863
* There is no warranty for this software. See NO_WARRANTY for details.
5866
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5867
! * Initial checkin.
5869
! * Revision 1.1 2001/06/21 17:47:46 andre
5870
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5871
! * kerberos compilation support
5876
#ifndef _XmtLayoutGP_h
5877
#define _XmtLayoutGP_h
5880
* Motif Tools Library, Version 3.1
5883
* Written by David Flanagan.
5884
* Copyright (c) 1992-2001 by David Flanagan.
5885
* All Rights Reserved. See the file COPYRIGHT for details.
5886
* This is open source software. See the file LICENSE for details.
5887
* There is no warranty for this software. See NO_WARRANTY for details.
5890
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5891
! * Initial checkin.
5893
! * Revision 1.1 2001/06/21 17:47:46 andre
5894
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5895
! * kerberos compilation support
5897
! * Revision 1.2 2001/06/12 16:25:28 andre
5898
! * *** empty log message ***
5903
#ifndef _XmtLayoutGP_h
5904
#define _XmtLayoutGP_h
5905
diff -bpcBNC 5 Xmt310/Xmt/LayoutGadget.c Xmt310.ge/Xmt/LayoutGadget.c
5906
*** Xmt310/Xmt/LayoutGadget.c Sun Feb 4 22:43:18 2001
5907
--- Xmt310.ge/Xmt/LayoutGadget.c Tue Jun 12 18:25:28 2001
5911
* Motif Tools Library, Version 3.1
5914
* Written by David Flanagan.
5915
* Copyright (c) 1992-2001 by David Flanagan.
5916
* All Rights Reserved. See the file COPYRIGHT for details.
5917
* This is open source software. See the file LICENSE for details.
5918
* There is no warranty for this software. See NO_WARRANTY for details.
5921
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5922
! * Initial checkin.
5924
! * Revision 1.1 2001/06/21 17:47:46 andre
5925
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5926
! * kerberos compilation support
5931
#include <Xmt/Xmt.h>
5932
#include <Xmt/LayoutGP.h>
5935
* Motif Tools Library, Version 3.1
5938
* Written by David Flanagan.
5939
* Copyright (c) 1992-2001 by David Flanagan.
5940
* All Rights Reserved. See the file COPYRIGHT for details.
5941
* This is open source software. See the file LICENSE for details.
5942
* There is no warranty for this software. See NO_WARRANTY for details.
5945
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5946
! * Initial checkin.
5948
! * Revision 1.1 2001/06/21 17:47:46 andre
5949
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5950
! * kerberos compilation support
5952
! * Revision 1.2 2001/06/12 16:25:28 andre
5953
! * *** empty log message ***
5958
#include <Xmt/Xmt.h>
5959
#include <Xmt/LayoutGP.h>
5960
diff -bpcBNC 5 Xmt310/Xmt/LayoutP.h Xmt310.ge/Xmt/LayoutP.h
5961
*** Xmt310/Xmt/LayoutP.h Sun Feb 4 22:43:22 2001
5962
--- Xmt310.ge/Xmt/LayoutP.h Tue Jun 12 18:25:28 2001
5966
* Motif Tools Library, Version 3.1
5969
* Written by David Flanagan.
5970
* Copyright (c) 1992-2001 by David Flanagan.
5971
* All Rights Reserved. See the file COPYRIGHT for details.
5972
* This is open source software. See the file LICENSE for details.
5973
* There is no warranty for this software. See NO_WARRANTY for details.
5976
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5977
! * Initial checkin.
5979
! * Revision 1.1 2001/06/21 17:47:46 andre
5980
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
5981
! * kerberos compilation support
5986
#ifndef _XmtLayoutP_h
5987
#define _XmtLayoutP_h
5990
* Motif Tools Library, Version 3.1
5993
* Written by David Flanagan.
5994
* Copyright (c) 1992-2001 by David Flanagan.
5995
* All Rights Reserved. See the file COPYRIGHT for details.
5996
* This is open source software. See the file LICENSE for details.
5997
* There is no warranty for this software. See NO_WARRANTY for details.
6000
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6001
! * Initial checkin.
6003
! * Revision 1.1 2001/06/21 17:47:46 andre
6004
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6005
! * kerberos compilation support
6007
! * Revision 1.2 2001/06/12 16:25:28 andre
6008
! * *** empty log message ***
6013
#ifndef _XmtLayoutP_h
6014
#define _XmtLayoutP_h
6015
diff -bpcBNC 5 Xmt310/Xmt/LayoutParse.c Xmt310.ge/Xmt/LayoutParse.c
6016
*** Xmt310/Xmt/LayoutParse.c Sun Feb 4 22:43:26 2001
6017
--- Xmt310.ge/Xmt/LayoutParse.c Tue Jun 12 18:25:28 2001
6021
* Motif Tools Library, Version 3.1
6024
* Written by David Flanagan.
6025
* Copyright (c) 1992-2001 by David Flanagan.
6026
* All Rights Reserved. See the file COPYRIGHT for details.
6027
* This is open source software. See the file LICENSE for details.
6028
* There is no warranty for this software. See NO_WARRANTY for details.
6031
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6032
! * Initial checkin.
6034
! * Revision 1.1 2001/06/21 17:47:46 andre
6035
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6036
! * kerberos compilation support
6041
#include <Xmt/Xmt.h>
6042
#include <Xmt/ConvertersP.h>
6045
* Motif Tools Library, Version 3.1
6048
* Written by David Flanagan.
6049
* Copyright (c) 1992-2001 by David Flanagan.
6050
* All Rights Reserved. See the file COPYRIGHT for details.
6051
* This is open source software. See the file LICENSE for details.
6052
* There is no warranty for this software. See NO_WARRANTY for details.
6055
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6056
! * Initial checkin.
6058
! * Revision 1.1 2001/06/21 17:47:46 andre
6059
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6060
! * kerberos compilation support
6062
! * Revision 1.2 2001/06/12 16:25:28 andre
6063
! * *** empty log message ***
6068
#include <Xmt/Xmt.h>
6069
#include <Xmt/ConvertersP.h>
6070
*************** XmtLayoutInfo *i;
6075
if (GetToken() == XmtLexerString) {
6076
i->dummy_constraints.caption = (XmString)1;
6077
! i->constraints.caption = XmtCreateXmString(GetStrValue());
6078
i->constraints.dont_copy_caption = 1;
6079
XtFree(GetStrValue());
6087
if (GetToken() == XmtLexerString) {
6088
i->dummy_constraints.caption = (XmString)1;
6089
! i->constraints.caption = XmtCreateLocalizedXmString((Widget) lw, GetStrValue());
6090
i->constraints.dont_copy_caption = 1;
6091
XtFree(GetStrValue());
6095
diff -bpcBNC 5 Xmt310/Xmt/LayoutPixmap.c Xmt310.ge/Xmt/LayoutPixmap.c
6096
*** Xmt310/Xmt/LayoutPixmap.c Sun Feb 4 22:43:32 2001
6097
--- Xmt310.ge/Xmt/LayoutPixmap.c Tue Jun 12 18:25:28 2001
6101
* Motif Tools Library, Version 3.1
6104
* Written by David Flanagan.
6105
* Copyright (c) 1992-2001 by David Flanagan.
6106
* All Rights Reserved. See the file COPYRIGHT for details.
6107
* This is open source software. See the file LICENSE for details.
6108
* There is no warranty for this software. See NO_WARRANTY for details.
6111
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6112
! * Initial checkin.
6114
! * Revision 1.1 2001/06/21 17:47:46 andre
6115
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6116
! * kerberos compilation support
6121
#include <Xmt/Xmt.h>
6122
#include <Xmt/LayoutGP.h>
6125
* Motif Tools Library, Version 3.1
6128
* Written by David Flanagan.
6129
* Copyright (c) 1992-2001 by David Flanagan.
6130
* All Rights Reserved. See the file COPYRIGHT for details.
6131
* This is open source software. See the file LICENSE for details.
6132
* There is no warranty for this software. See NO_WARRANTY for details.
6135
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6136
! * Initial checkin.
6138
! * Revision 1.1 2001/06/21 17:47:46 andre
6139
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6140
! * kerberos compilation support
6142
! * Revision 1.2 2001/06/12 16:25:28 andre
6143
! * *** empty log message ***
6148
#include <Xmt/Xmt.h>
6149
#include <Xmt/LayoutGP.h>
6150
diff -bpcBNC 5 Xmt310/Xmt/LayoutS.c Xmt310.ge/Xmt/LayoutS.c
6151
*** Xmt310/Xmt/LayoutS.c Sun Feb 4 22:43:50 2001
6152
--- Xmt310.ge/Xmt/LayoutS.c Tue Jun 12 18:25:28 2001
6156
* Motif Tools Library, Version 3.1
6159
* Written by David Flanagan.
6160
* Copyright (c) 1992-2001 by David Flanagan.
6161
* All Rights Reserved. See the file COPYRIGHT for details.
6162
* This is open source software. See the file LICENSE for details.
6163
* There is no warranty for this software. See NO_WARRANTY for details.
6166
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6167
! * Initial checkin.
6169
! * Revision 1.1 2001/06/21 17:47:46 andre
6170
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6171
! * kerberos compilation support
6176
#include <X11/Intrinsic.h>
6180
* Motif Tools Library, Version 3.1
6183
* Written by David Flanagan.
6184
* Copyright (c) 1992-2001 by David Flanagan.
6185
* All Rights Reserved. See the file COPYRIGHT for details.
6186
* This is open source software. See the file LICENSE for details.
6187
* There is no warranty for this software. See NO_WARRANTY for details.
6190
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6191
! * Initial checkin.
6193
! * Revision 1.1 2001/06/21 17:47:46 andre
6194
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6195
! * kerberos compilation support
6197
! * Revision 1.2 2001/06/12 16:25:28 andre
6198
! * *** empty log message ***
6203
#include <X11/Intrinsic.h>
6205
diff -bpcBNC 5 Xmt310/Xmt/LayoutSep.c Xmt310.ge/Xmt/LayoutSep.c
6206
*** Xmt310/Xmt/LayoutSep.c Sun Feb 4 22:44:02 2001
6207
--- Xmt310.ge/Xmt/LayoutSep.c Tue Jun 12 18:25:28 2001
6211
* Motif Tools Library, Version 3.1
6214
* Written by David Flanagan.
6215
* Copyright (c) 1992-2001 by David Flanagan.
6216
* All Rights Reserved. See the file COPYRIGHT for details.
6217
* This is open source software. See the file LICENSE for details.
6218
* There is no warranty for this software. See NO_WARRANTY for details.
6221
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6222
! * Initial checkin.
6224
! * Revision 1.1 2001/06/21 17:47:46 andre
6225
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6226
! * kerberos compilation support
6231
#include <Xmt/Xmt.h>
6232
#include <Xmt/LayoutGP.h>
6235
* Motif Tools Library, Version 3.1
6238
* Written by David Flanagan.
6239
* Copyright (c) 1992-2001 by David Flanagan.
6240
* All Rights Reserved. See the file COPYRIGHT for details.
6241
* This is open source software. See the file LICENSE for details.
6242
* There is no warranty for this software. See NO_WARRANTY for details.
6245
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6246
! * Initial checkin.
6248
! * Revision 1.1 2001/06/21 17:47:46 andre
6249
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6250
! * kerberos compilation support
6252
! * Revision 1.2 2001/06/12 16:25:28 andre
6253
! * *** empty log message ***
6258
#include <Xmt/Xmt.h>
6259
#include <Xmt/LayoutGP.h>
6260
diff -bpcBNC 5 Xmt310/Xmt/LayoutSpace.c Xmt310.ge/Xmt/LayoutSpace.c
6261
*** Xmt310/Xmt/LayoutSpace.c Sun Feb 4 22:44:06 2001
6262
--- Xmt310.ge/Xmt/LayoutSpace.c Tue Jun 12 18:25:28 2001
6266
* Motif Tools Library, Version 3.1
6269
* Written by David Flanagan.
6270
* Copyright (c) 1992-2001 by David Flanagan.
6271
* All Rights Reserved. See the file COPYRIGHT for details.
6272
* This is open source software. See the file LICENSE for details.
6273
* There is no warranty for this software. See NO_WARRANTY for details.
6276
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6277
! * Initial checkin.
6279
! * Revision 1.1 2001/06/21 17:47:46 andre
6280
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6281
! * kerberos compilation support
6286
#include <Xmt/Xmt.h>
6287
#include <Xmt/LayoutGP.h>
6290
* Motif Tools Library, Version 3.1
6293
* Written by David Flanagan.
6294
* Copyright (c) 1992-2001 by David Flanagan.
6295
* All Rights Reserved. See the file COPYRIGHT for details.
6296
* This is open source software. See the file LICENSE for details.
6297
* There is no warranty for this software. See NO_WARRANTY for details.
6300
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6301
! * Initial checkin.
6303
! * Revision 1.1 2001/06/21 17:47:46 andre
6304
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6305
! * kerberos compilation support
6307
! * Revision 1.2 2001/06/12 16:25:28 andre
6308
! * *** empty log message ***
6313
#include <Xmt/Xmt.h>
6314
#include <Xmt/LayoutGP.h>
6315
diff -bpcBNC 5 Xmt310/Xmt/LayoutString.c Xmt310.ge/Xmt/LayoutString.c
6316
*** Xmt310/Xmt/LayoutString.c Sun Feb 4 22:44:12 2001
6317
--- Xmt310.ge/Xmt/LayoutString.c Tue Jun 12 18:25:28 2001
6321
* Motif Tools Library, Version 3.1
6324
* Written by David Flanagan.
6325
* Copyright (c) 1992-2001 by David Flanagan.
6326
* All Rights Reserved. See the file COPYRIGHT for details.
6327
* This is open source software. See the file LICENSE for details.
6328
* There is no warranty for this software. See NO_WARRANTY for details.
6331
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6332
! * Initial checkin.
6334
! * Revision 1.1 2001/06/21 17:47:46 andre
6335
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6336
! * kerberos compilation support
6341
#include <Xmt/Xmt.h>
6342
#include <Xmt/LayoutGP.h>
6345
* Motif Tools Library, Version 3.1
6348
* Written by David Flanagan.
6349
* Copyright (c) 1992-2001 by David Flanagan.
6350
* All Rights Reserved. See the file COPYRIGHT for details.
6351
* This is open source software. See the file LICENSE for details.
6352
* There is no warranty for this software. See NO_WARRANTY for details.
6355
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6356
! * Initial checkin.
6358
! * Revision 1.1 2001/06/21 17:47:46 andre
6359
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6360
! * kerberos compilation support
6362
! * Revision 1.2 2001/06/12 16:25:28 andre
6363
! * *** empty log message ***
6368
#include <Xmt/Xmt.h>
6369
#include <Xmt/LayoutGP.h>
6370
*************** Cardinal *num_args;
6372
XmStringCopy(ls->layout_string.label_string);
6373
else if (ls->layout_string.label) {
6374
/* we don't copy the string; just convert it to an XmString */
6375
/* and then set it to "" because we don't own it. */
6376
ls->layout_string.label_string =
6377
! XmtCreateXmString(ls->layout_string.label);
6378
ls->layout_string.label = empty_string;
6381
MeasureString(lw, ls);
6384
XmStringCopy(ls->layout_string.label_string);
6385
else if (ls->layout_string.label) {
6386
/* we don't copy the string; just convert it to an XmString */
6387
/* and then set it to "" because we don't own it. */
6388
ls->layout_string.label_string =
6389
! XmtCreateLocalizedXmString((Widget) lw, ls->layout_string.label);
6390
ls->layout_string.label = empty_string;
6393
MeasureString(lw, ls);
6395
*************** Cardinal *num_args;
6398
XmtLayoutStringGadget cs = (XmtLayoutStringGadget) current;
6399
XmtLayoutStringGadget ss = (XmtLayoutStringGadget) set;
6400
XmtLayoutWidget lw = (XmtLayoutWidget) XtParent(set);
6401
Boolean redisplay = False;
6402
Boolean relayout = False;
6403
+ Dimension cs_width, cs_height;
6405
if (ss->layout_string.label_string != cs->layout_string.label_string) {
6406
if (cs->layout_string.label_string)
6407
XmStringFree(cs->layout_string.label_string);
6408
if (ss->layout_string.label_string)
6409
ss->layout_string.label_string =
6410
XmStringCopy(ss->layout_string.label_string);
6411
+ cs_width = cs->layout_string.width;
6412
+ cs_height = cs->layout_string.height;
6413
MeasureString(lw, ss);
6414
+ if (cs_width != ss->layout_string.width ||
6415
+ cs_height != ss->layout_string.height)
6420
else if (ss->layout_string.label != empty_string) {
6421
if (cs->layout_string.label_string)
6422
XmStringFree(cs->layout_string.label_string);
6423
ss->layout_string.label_string =
6424
XmtCreateXmString(ss->layout_string.label);
6425
ss->layout_string.label = empty_string;
6426
+ cs_width = cs->layout_string.width;
6427
+ cs_height = cs->layout_string.height;
6428
MeasureString(lw, ss);
6429
+ if (cs_width != ss->layout_string.width ||
6430
+ cs_height != ss->layout_string.height)
6436
if (ss->layout_string.foreground != cs->layout_string.foreground) {
6437
if (ss->layout_string.gc) XtReleaseGC(set, ss->layout_string.gc);
6439
*************** Cardinal *num_args;
6441
* Returning True from this procedure doesn't do any good, presumably
6442
* because the Intrinsics think that we're an Object, not a RectObj
6443
* (This is one of the gross Motif hacks, described in Layout.c)
6444
* So we generate an Expose event ourselves.
6446
! if ((redisplay | relayout) && XtIsRealized((Widget)lw))
6447
XClearArea(XtDisplay((Widget)lw), XtWindow((Widget)lw),
6448
cs->rectangle.x, cs->rectangle.y,
6449
cs->rectangle.width, cs->rectangle.height,
6455
#if NeedFunctionPrototypes
6457
* Returning True from this procedure doesn't do any good, presumably
6458
* because the Intrinsics think that we're an Object, not a RectObj
6459
* (This is one of the gross Motif hacks, described in Layout.c)
6460
* So we generate an Expose event ourselves.
6462
! if (redisplay && XtIsRealized((Widget)lw)) {
6463
! Redisplay((Widget)ss, (XEvent *)NULL, (Region)NULL);
6465
! else if ( relayout && XtIsRealized((Widget)lw)) {
6466
XClearArea(XtDisplay((Widget)lw), XtWindow((Widget)lw),
6467
cs->rectangle.x, cs->rectangle.y,
6468
cs->rectangle.width, cs->rectangle.height,
6475
#if NeedFunctionPrototypes
6476
diff -bpcBNC 5 Xmt310/Xmt/Lexer.c Xmt310.ge/Xmt/Lexer.c
6477
*** Xmt310/Xmt/Lexer.c Sun Feb 4 22:44:18 2001
6478
--- Xmt310.ge/Xmt/Lexer.c Tue Jun 12 18:25:28 2001
6482
* Motif Tools Library, Version 3.1
6485
* Written by David Flanagan.
6486
* Copyright (c) 1992-2001 by David Flanagan.
6487
* All Rights Reserved. See the file COPYRIGHT for details.
6488
* This is open source software. See the file LICENSE for details.
6489
* There is no warranty for this software. See NO_WARRANTY for details.
6492
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6493
! * Initial checkin.
6495
! * Revision 1.1 2001/06/21 17:47:46 andre
6496
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6497
! * kerberos compilation support
6503
#include <Xmt/Xmt.h>
6506
* Motif Tools Library, Version 3.1
6509
* Written by David Flanagan.
6510
* Copyright (c) 1992-2001 by David Flanagan.
6511
* All Rights Reserved. See the file COPYRIGHT for details.
6512
* This is open source software. See the file LICENSE for details.
6513
* There is no warranty for this software. See NO_WARRANTY for details.
6516
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6517
! * Initial checkin.
6519
! * Revision 1.1 2001/06/21 17:47:46 andre
6520
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6521
! * kerberos compilation support
6523
! * Revision 1.2 2001/06/12 16:25:28 andre
6524
! * *** empty log message ***
6530
#include <Xmt/Xmt.h>
6531
diff -bpcBNC 5 Xmt310/Xmt/Lexer.h Xmt310.ge/Xmt/Lexer.h
6532
*** Xmt310/Xmt/Lexer.h Sun Feb 4 22:44:22 2001
6533
--- Xmt310.ge/Xmt/Lexer.h Tue Jun 12 18:25:28 2001
6537
* Motif Tools Library, Version 3.1
6540
* Written by David Flanagan.
6541
* Copyright (c) 1992-2001 by David Flanagan.
6542
* All Rights Reserved. See the file COPYRIGHT for details.
6543
* This is open source software. See the file LICENSE for details.
6544
* There is no warranty for this software. See NO_WARRANTY for details.
6547
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6548
! * Initial checkin.
6550
! * Revision 1.1 2001/06/21 17:47:46 andre
6551
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6552
! * kerberos compilation support
6561
* Motif Tools Library, Version 3.1
6564
* Written by David Flanagan.
6565
* Copyright (c) 1992-2001 by David Flanagan.
6566
* All Rights Reserved. See the file COPYRIGHT for details.
6567
* This is open source software. See the file LICENSE for details.
6568
* There is no warranty for this software. See NO_WARRANTY for details.
6571
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6572
! * Initial checkin.
6574
! * Revision 1.1 2001/06/21 17:47:46 andre
6575
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6576
! * kerberos compilation support
6578
! * Revision 1.2 2001/06/12 16:25:28 andre
6579
! * *** empty log message ***
6586
diff -bpcBNC 5 Xmt310/Xmt/Localize.c Xmt310.ge/Xmt/Localize.c
6587
*** Xmt310/Xmt/Localize.c Sun Feb 4 22:44:36 2001
6588
--- Xmt310.ge/Xmt/Localize.c Tue Jun 12 18:25:28 2001
6592
* Motif Tools Library, Version 3.1
6595
* Written by David Flanagan.
6596
* Copyright (c) 1992-2001 by David Flanagan.
6597
* All Rights Reserved. See the file COPYRIGHT for details.
6598
* This is open source software. See the file LICENSE for details.
6599
* There is no warranty for this software. See NO_WARRANTY for details.
6602
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6603
! * Initial checkin.
6605
! * Revision 1.1 2001/06/21 17:47:46 andre
6606
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6607
! * kerberos compilation support
6613
#include <Xmt/XmtP.h>
6616
* Motif Tools Library, Version 3.1
6619
* Written by David Flanagan.
6620
* Copyright (c) 1992-2001 by David Flanagan.
6621
* All Rights Reserved. See the file COPYRIGHT for details.
6622
* This is open source software. See the file LICENSE for details.
6623
* There is no warranty for this software. See NO_WARRANTY for details.
6626
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6627
! * Initial checkin.
6629
! * Revision 1.1 2001/06/21 17:47:46 andre
6630
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6631
! * kerberos compilation support
6633
! * Revision 1.2 2001/06/12 16:25:28 andre
6634
! * *** empty log message ***
6640
#include <Xmt/XmtP.h>
6641
diff -bpcBNC 5 Xmt310/Xmt/Lookup.c Xmt310.ge/Xmt/Lookup.c
6642
*** Xmt310/Xmt/Lookup.c Sun Feb 4 22:44:38 2001
6643
--- Xmt310.ge/Xmt/Lookup.c Tue Jun 12 18:25:28 2001
6647
* Motif Tools Library, Version 3.1
6650
* Written by David Flanagan.
6651
* Copyright (c) 1992-2001 by David Flanagan.
6652
* All Rights Reserved. See the file COPYRIGHT for details.
6653
* This is open source software. See the file LICENSE for details.
6654
* There is no warranty for this software. See NO_WARRANTY for details.
6657
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6658
! * Initial checkin.
6660
! * Revision 1.1 2001/06/21 17:47:46 andre
6661
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6662
! * kerberos compilation support
6668
#include <Xmt/Xmt.h>
6671
* Motif Tools Library, Version 3.1
6674
* Written by David Flanagan.
6675
* Copyright (c) 1992-2001 by David Flanagan.
6676
* All Rights Reserved. See the file COPYRIGHT for details.
6677
* This is open source software. See the file LICENSE for details.
6678
* There is no warranty for this software. See NO_WARRANTY for details.
6681
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6682
! * Initial checkin.
6684
! * Revision 1.1 2001/06/21 17:47:46 andre
6685
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6686
! * kerberos compilation support
6688
! * Revision 1.2 2001/06/12 16:25:28 andre
6689
! * *** empty log message ***
6695
#include <Xmt/Xmt.h>
6696
diff -bpcBNC 5 Xmt310/Xmt/LookupP.h Xmt310.ge/Xmt/LookupP.h
6697
*** Xmt310/Xmt/LookupP.h Sun Feb 4 22:44:42 2001
6698
--- Xmt310.ge/Xmt/LookupP.h Tue Jun 12 18:25:28 2001
6702
* Motif Tools Library, Version 3.1
6705
* Written by David Flanagan.
6706
* Copyright (c) 1992-2001 by David Flanagan.
6707
* All Rights Reserved. See the file COPYRIGHT for details.
6708
* This is open source software. See the file LICENSE for details.
6709
* There is no warranty for this software. See NO_WARRANTY for details.
6712
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6713
! * Initial checkin.
6715
! * Revision 1.1 2001/06/21 17:47:46 andre
6716
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6717
! * kerberos compilation support
6722
#ifndef _XmtLookupP_h
6723
#define _XmtLookupP_h
6726
* Motif Tools Library, Version 3.1
6729
* Written by David Flanagan.
6730
* Copyright (c) 1992-2001 by David Flanagan.
6731
* All Rights Reserved. See the file COPYRIGHT for details.
6732
* This is open source software. See the file LICENSE for details.
6733
* There is no warranty for this software. See NO_WARRANTY for details.
6736
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6737
! * Initial checkin.
6739
! * Revision 1.1 2001/06/21 17:47:46 andre
6740
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
6741
! * kerberos compilation support
6743
! * Revision 1.2 2001/06/12 16:25:28 andre
6744
! * *** empty log message ***
6749
#ifndef _XmtLookupP_h
6750
#define _XmtLookupP_h
6751
diff -bpcBNC 5 Xmt310/Xmt/Makefile.aimk Xmt310.ge/Xmt/Makefile.aimk
6752
*** Xmt310/Xmt/Makefile.aimk Thu Jan 1 01:00:00 1970
6753
--- Xmt310.ge/Xmt/Makefile.aimk Tue Jun 12 18:11:34 2001
6757
+ # Changes by _AA 20.7.95
6758
+ # A changed version of the Xmt Makefile.aimk for
6760
+ # The objects are build in the corresponding arch directory
6761
+ # The CFLAGS,XCFLAGS and the SDIR variable are delivered by aimk
6763
+ XMT_SDIR = ../Xmt310/Xmt
6765
+ XMTFLAGS = $(CFLAGS) -I../Xmt310
6768
+ $(XMT_SDIR)/All.c \
6769
+ $(XMT_SDIR)/AppRes.c \
6770
+ $(XMT_SDIR)/AskForBool.c \
6771
+ $(XMT_SDIR)/AskForFile.c \
6772
+ $(XMT_SDIR)/AskForItem.c \
6773
+ $(XMT_SDIR)/AskForString.c \
6774
+ $(XMT_SDIR)/AssertClass.c \
6775
+ $(XMT_SDIR)/BSearch.c \
6776
+ $(XMT_SDIR)/BitmapCvt.c \
6777
+ $(XMT_SDIR)/Block.c \
6778
+ $(XMT_SDIR)/CallbackCvt.c \
6779
+ $(XMT_SDIR)/CheckFormat.c \
6780
+ $(XMT_SDIR)/Chooser.c \
6781
+ $(XMT_SDIR)/Cli.c \
6782
+ $(XMT_SDIR)/Color.c \
6783
+ $(XMT_SDIR)/ColorTable.c \
6784
+ $(XMT_SDIR)/ColorTblCvt.c \
6785
+ $(XMT_SDIR)/ContextHelp.c \
6786
+ $(XMT_SDIR)/Create.c \
6787
+ $(XMT_SDIR)/Cursor.c \
6788
+ $(XMT_SDIR)/DECHack.c \
6789
+ $(XMT_SDIR)/Dialog.c \
6790
+ $(XMT_SDIR)/DialogPos.c \
6791
+ $(XMT_SDIR)/Dialogs.c \
6792
+ $(XMT_SDIR)/Discard.c \
6793
+ $(XMT_SDIR)/EnumCvt.c \
6794
+ $(XMT_SDIR)/FindFile.c \
6795
+ $(XMT_SDIR)/FontListCvt.c \
6796
+ $(XMT_SDIR)/GetPixmap.c \
6797
+ $(XMT_SDIR)/HSLtoRGB.c \
6798
+ $(XMT_SDIR)/Hash.c \
6799
+ $(XMT_SDIR)/HelpBox.c \
6800
+ $(XMT_SDIR)/HelpBrowser.c \
6801
+ $(XMT_SDIR)/HelpNode.c \
6802
+ $(XMT_SDIR)/IBMManage.c \
6803
+ $(XMT_SDIR)/Icon.c \
6804
+ $(XMT_SDIR)/Icons.c \
6805
+ $(XMT_SDIR)/Include.c \
6806
+ $(XMT_SDIR)/InitFocus.c \
6807
+ $(XMT_SDIR)/Initialize.c \
6808
+ $(XMT_SDIR)/InputField.c \
6809
+ $(XMT_SDIR)/Layout.c \
6810
+ $(XMT_SDIR)/LayoutBox.c \
6811
+ $(XMT_SDIR)/LayoutCreate.c \
6812
+ $(XMT_SDIR)/LayoutGadget.c \
6813
+ $(XMT_SDIR)/LayoutParse.c \
6814
+ $(XMT_SDIR)/LayoutPixmap.c \
6815
+ $(XMT_SDIR)/LayoutSep.c \
6816
+ $(XMT_SDIR)/LayoutSpace.c \
6817
+ $(XMT_SDIR)/LayoutString.c \
6818
+ $(XMT_SDIR)/Lexer.c \
6819
+ $(XMT_SDIR)/Localize.c \
6820
+ $(XMT_SDIR)/Lookup.c \
6821
+ $(XMT_SDIR)/Menu.c \
6822
+ $(XMT_SDIR)/MenuCvt.c \
6823
+ $(XMT_SDIR)/MotifWidgets.c \
6824
+ $(XMT_SDIR)/MsgDialogs.c \
6825
+ $(XMT_SDIR)/MsgLine.c \
6826
+ $(XMT_SDIR)/NameToWidget.c \
6827
+ $(XMT_SDIR)/PixelCvt.c \
6828
+ $(XMT_SDIR)/Pixmap.c \
6829
+ $(XMT_SDIR)/PixmapCvt.c \
6830
+ $(XMT_SDIR)/PixmapLstCvt.c \
6831
+ $(XMT_SDIR)/Procedures.c \
6832
+ $(XMT_SDIR)/Quarks.c \
6833
+ $(XMT_SDIR)/RGBtoHSL.c \
6834
+ $(XMT_SDIR)/Screen.c \
6835
+ $(XMT_SDIR)/SetValue.c \
6836
+ $(XMT_SDIR)/ShellUtil.c \
6837
+ $(XMT_SDIR)/StringLstCvt.c \
6838
+ $(XMT_SDIR)/Symbols.c \
6839
+ $(XMT_SDIR)/Template.c \
6840
+ $(XMT_SDIR)/Visual.c \
6841
+ $(XMT_SDIR)/UnixProcs.c \
6842
+ $(XMT_SDIR)/Wait.c \
6843
+ $(XMT_SDIR)/Warning.c \
6844
+ $(XMT_SDIR)/WidgetCvt.c \
6845
+ $(XMT_SDIR)/WidgetType.c \
6846
+ $(XMT_SDIR)/Working.c \
6847
+ $(XMT_SDIR)/WorkingBox.c \
6848
+ $(XMT_SDIR)/Xbm.c \
6849
+ $(XMT_SDIR)/XmCSText.c \
6850
+ $(XMT_SDIR)/XmComboBox.c \
6851
+ $(XMT_SDIR)/XmScale.c \
6852
+ $(XMT_SDIR)/XmStringCvt.c \
6853
+ $(XMT_SDIR)/XmText.c \
6854
+ $(XMT_SDIR)/XmTextField.c \
6855
+ $(XMT_SDIR)/XmToggleB.c \
6856
+ $(XMT_SDIR)/XmtProcs.c \
6857
+ $(XMT_SDIR)/XmtWidgets.c \
6858
+ $(XMT_SDIR)/Xpm.c \
6859
+ $(XMT_SDIR)/XpmParse.c \
6860
+ $(XMT_SDIR)/XtProcs.c\
6861
+ $(XMT_SDIR)/ConvertData.c \
6862
+ $(XMT_SDIR)/ChooserS.c\
6863
+ $(XMT_SDIR)/CliS.c\
6864
+ $(XMT_SDIR)/HelpBoxS.c\
6865
+ $(XMT_SDIR)/HelpBrowserS.c\
6866
+ $(XMT_SDIR)/InputFieldS.c\
6867
+ $(XMT_SDIR)/LayoutS.c\
6868
+ $(XMT_SDIR)/MenuS.c\
6869
+ $(XMT_SDIR)/MsgLineS.c\
6870
+ $(XMT_SDIR)/WorkingBoxS.c
6967
+ XMT_UNSHAREDOBJS = \
6980
+ $(XMT_SDIR)/All.h \
6981
+ $(XMT_SDIR)/AppResP.h \
6982
+ $(XMT_SDIR)/AppRes.h \
6983
+ $(XMT_SDIR)/Chooser.h \
6984
+ $(XMT_SDIR)/ChooserP.h \
6985
+ $(XMT_SDIR)/Cli.h \
6986
+ $(XMT_SDIR)/CliP.h \
6987
+ $(XMT_SDIR)/Color.h \
6988
+ $(XMT_SDIR)/Converters.h \
6989
+ $(XMT_SDIR)/ConvertersP.h \
6990
+ $(XMT_SDIR)/Create.h \
6991
+ $(XMT_SDIR)/Dialog.h \
6992
+ $(XMT_SDIR)/DialogP.h \
6993
+ $(XMT_SDIR)/Dialogs.h \
6994
+ $(XMT_SDIR)/DialogsP.h \
6995
+ $(XMT_SDIR)/Hash.h \
6996
+ $(XMT_SDIR)/Help.h \
6997
+ $(XMT_SDIR)/HelpBox.h \
6998
+ $(XMT_SDIR)/HelpBoxP.h \
6999
+ $(XMT_SDIR)/HelpBrowser.h \
7000
+ $(XMT_SDIR)/HelpBrowserP.h \
7001
+ $(XMT_SDIR)/Icon.h\
7002
+ $(XMT_SDIR)/Include.h \
7003
+ $(XMT_SDIR)/InputField.h \
7004
+ $(XMT_SDIR)/InputFieldP.h \
7005
+ $(XMT_SDIR)/Layout.h \
7006
+ $(XMT_SDIR)/LayoutG.h \
7007
+ $(XMT_SDIR)/LayoutGP.h \
7008
+ $(XMT_SDIR)/LayoutP.h \
7009
+ $(XMT_SDIR)/Lexer.h \
7010
+ $(XMT_SDIR)/LookupP.h \
7011
+ $(XMT_SDIR)/Menu.h \
7012
+ $(XMT_SDIR)/MenuP.h \
7013
+ $(XMT_SDIR)/MsgLine.h \
7014
+ $(XMT_SDIR)/MsgLineP.h \
7015
+ $(XMT_SDIR)/Pixmap.h \
7016
+ $(XMT_SDIR)/Procedures.h \
7017
+ $(XMT_SDIR)/ProceduresP.h \
7018
+ $(XMT_SDIR)/QuarksP.h \
7019
+ $(XMT_SDIR)/ScreenP.h \
7020
+ $(XMT_SDIR)/SetValue.h \
7021
+ $(XMT_SDIR)/Symbols.h \
7022
+ $(XMT_SDIR)/Template.h \
7023
+ $(XMT_SDIR)/Util.h \
7024
+ $(XMT_SDIR)/WidgetType.h \
7025
+ $(XMT_SDIR)/WorkingBox.h \
7026
+ $(XMT_SDIR)/WorkingBoxP.h \
7027
+ $(XMT_SDIR)/Xbm.h \
7028
+ $(XMT_SDIR)/Xmt.h \
7029
+ $(XMT_SDIR)/XmtP.h \
7032
+ XMTLIB = libXmt$(LIBEXT)
7036
+ libXmt.a: $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
7037
+ $(AR) $(ARFLAGS) libXmt.a $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
7038
+ $(RANLIB) libXmt.a
7040
+ libXmt$(SHAREDEXT): $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
7041
+ $(SHAREDLD) $(XLFLAGS) $(SHARED_LFLAGS) -o libXmt$(SHAREDEXT) $(XMT_OBJS) $(XMT_UNSHAREDOBJS) $(XLIBS)
7043
+ #.c.o: $(SRCS) $(XMT_HEADERS)
7044
+ # $(CC) -c $(CFLAGS) $*.c
7047
+ All.o: $(XMT_SDIR)/All.c $(XMT_HEADERS)
7048
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/All.c
7049
+ AppRes.o: $(XMT_SDIR)/AppRes.c $(XMT_HEADERS)
7050
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AppRes.c
7051
+ AskForBool.o: $(XMT_SDIR)/AskForBool.c $(XMT_HEADERS)
7052
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForBool.c
7053
+ AskForFile.o: $(XMT_SDIR)/AskForFile.c $(XMT_HEADERS)
7054
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForFile.c
7055
+ AskForItem.o: $(XMT_SDIR)/AskForItem.c $(XMT_HEADERS)
7056
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForItem.c
7057
+ AskForString.o: $(XMT_SDIR)/AskForString.c $(XMT_HEADERS)
7058
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForString.c
7059
+ AssertClass.o: $(XMT_SDIR)/AssertClass.c $(XMT_HEADERS)
7060
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AssertClass.c
7061
+ BSearch.o: $(XMT_SDIR)/BSearch.c $(XMT_HEADERS)
7062
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/BSearch.c
7063
+ BitmapCvt.o: $(XMT_SDIR)/BitmapCvt.c $(XMT_HEADERS)
7064
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/BitmapCvt.c
7065
+ Block.o: $(XMT_SDIR)/Block.c $(XMT_HEADERS)
7066
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Block.c
7067
+ CallbackCvt.o: $(XMT_SDIR)/CallbackCvt.c $(XMT_HEADERS)
7068
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CallbackCvt.c
7069
+ CheckFormat.o: $(XMT_SDIR)/CheckFormat.c $(XMT_HEADERS)
7070
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CheckFormat.c
7071
+ Chooser.o: $(XMT_SDIR)/Chooser.c $(XMT_HEADERS)
7072
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Chooser.c
7073
+ Cli.o: $(XMT_SDIR)/Cli.c $(XMT_HEADERS)
7074
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Cli.c
7075
+ Color.o: $(XMT_SDIR)/Color.c $(XMT_HEADERS)
7076
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Color.c
7077
+ ColorTable.o: $(XMT_SDIR)/ColorTable.c $(XMT_HEADERS)
7078
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ColorTable.c
7079
+ ColorTblCvt.o: $(XMT_SDIR)/ColorTblCvt.c $(XMT_HEADERS)
7080
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ColorTblCvt.c
7081
+ ContextHelp.o: $(XMT_SDIR)/ContextHelp.c $(XMT_HEADERS)
7082
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ContextHelp.c
7083
+ Create.o: $(XMT_SDIR)/Create.c $(XMT_HEADERS)
7084
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Create.c
7085
+ Cursor.o: $(XMT_SDIR)/Cursor.c $(XMT_HEADERS)
7086
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Cursor.c
7087
+ DECHack.o: $(XMT_SDIR)/DECHack.c $(XMT_HEADERS)
7088
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/DECHack.c
7089
+ Dialog.o: $(XMT_SDIR)/Dialog.c $(XMT_HEADERS)
7090
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Dialog.c
7091
+ DialogPos.o: $(XMT_SDIR)/DialogPos.c $(XMT_HEADERS)
7092
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/DialogPos.c
7093
+ Dialogs.o: $(XMT_SDIR)/Dialogs.c $(XMT_HEADERS)
7094
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Dialogs.c
7095
+ Discard.o: $(XMT_SDIR)/Discard.c $(XMT_HEADERS)
7096
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Discard.c
7097
+ EnumCvt.o: $(XMT_SDIR)/EnumCvt.c $(XMT_HEADERS)
7098
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/EnumCvt.c
7099
+ FindFile.o: $(XMT_SDIR)/FindFile.c $(XMT_HEADERS)
7100
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/FindFile.c
7101
+ FontListCvt.o: $(XMT_SDIR)/FontListCvt.c $(XMT_HEADERS)
7102
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/FontListCvt.c
7103
+ GetPixmap.o: $(XMT_SDIR)/GetPixmap.c $(XMT_HEADERS)
7104
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/GetPixmap.c
7105
+ HSLtoRGB.o: $(XMT_SDIR)/HSLtoRGB.c $(XMT_HEADERS)
7106
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HSLtoRGB.c
7107
+ Hash.o: $(XMT_SDIR)/Hash.c $(XMT_HEADERS)
7108
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Hash.c
7109
+ HelpBox.o: $(XMT_SDIR)/HelpBox.c $(XMT_HEADERS)
7110
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBox.c
7111
+ HelpBrowser.o: $(XMT_SDIR)/HelpBrowser.c $(XMT_HEADERS)
7112
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBrowser.c
7113
+ HelpNode.o: $(XMT_SDIR)/HelpNode.c $(XMT_HEADERS)
7114
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpNode.c
7115
+ IBMManage.o: $(XMT_SDIR)/IBMManage.c $(XMT_HEADERS)
7116
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/IBMManage.c
7117
+ Icon.o: $(XMT_SDIR)/Icon.c $(XMT_HEADERS)
7118
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Icon.c
7119
+ Icons.o: $(XMT_SDIR)/Icons.c $(XMT_HEADERS)
7120
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Icons.c
7121
+ Include.o: $(XMT_SDIR)/Include.c $(XMT_HEADERS)
7122
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Include.c
7123
+ InitFocus.o: $(XMT_SDIR)/InitFocus.c $(XMT_HEADERS)
7124
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InitFocus.c
7125
+ Initialize.o: $(XMT_SDIR)/Initialize.c $(XMT_HEADERS)
7126
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Initialize.c
7127
+ InputField.o: $(XMT_SDIR)/InputField.c $(XMT_HEADERS)
7128
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InputField.c
7129
+ Layout.o: $(XMT_SDIR)/Layout.c $(XMT_HEADERS)
7130
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Layout.c
7131
+ LayoutBox.o: $(XMT_SDIR)/LayoutBox.c $(XMT_HEADERS)
7132
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutBox.c
7133
+ LayoutCreate.o: $(XMT_SDIR)/LayoutCreate.c $(XMT_HEADERS)
7134
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutCreate.c
7135
+ LayoutGadget.o: $(XMT_SDIR)/LayoutGadget.c $(XMT_HEADERS)
7136
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutGadget.c
7137
+ LayoutParse.o: $(XMT_SDIR)/LayoutParse.c $(XMT_HEADERS)
7138
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutParse.c
7139
+ LayoutPixmap.o: $(XMT_SDIR)/LayoutPixmap.c $(XMT_HEADERS)
7140
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutPixmap.c
7141
+ LayoutSep.o: $(XMT_SDIR)/LayoutSep.c $(XMT_HEADERS)
7142
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutSep.c
7143
+ LayoutSpace.o: $(XMT_SDIR)/LayoutSpace.c $(XMT_HEADERS)
7144
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutSpace.c
7145
+ LayoutString.o: $(XMT_SDIR)/LayoutString.c $(XMT_HEADERS)
7146
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutString.c
7147
+ Lexer.o: $(XMT_SDIR)/Lexer.c $(XMT_HEADERS)
7148
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Lexer.c
7149
+ Localize.o: $(XMT_SDIR)/Localize.c $(XMT_HEADERS)
7150
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Localize.c
7151
+ Lookup.o: $(XMT_SDIR)/Lookup.c $(XMT_HEADERS)
7152
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Lookup.c
7153
+ Menu.o: $(XMT_SDIR)/Menu.c $(XMT_HEADERS)
7154
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Menu.c
7155
+ MenuCvt.o: $(XMT_SDIR)/MenuCvt.c $(XMT_HEADERS)
7156
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MenuCvt.c
7157
+ MotifWidgets.o: $(XMT_SDIR)/MotifWidgets.c $(XMT_HEADERS)
7158
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MotifWidgets.c
7159
+ MsgDialogs.o: $(XMT_SDIR)/MsgDialogs.c $(XMT_HEADERS)
7160
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgDialogs.c
7161
+ MsgLine.o: $(XMT_SDIR)/MsgLine.c $(XMT_HEADERS)
7162
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgLine.c
7163
+ NameToWidget.o: $(XMT_SDIR)/NameToWidget.c $(XMT_HEADERS)
7164
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/NameToWidget.c
7165
+ PixelCvt.o: $(XMT_SDIR)/PixelCvt.c $(XMT_HEADERS)
7166
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixelCvt.c
7167
+ Pixmap.o: $(XMT_SDIR)/Pixmap.c $(XMT_HEADERS)
7168
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Pixmap.c
7169
+ PixmapCvt.o: $(XMT_SDIR)/PixmapCvt.c $(XMT_HEADERS)
7170
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixmapCvt.c
7171
+ PixmapLstCvt.o: $(XMT_SDIR)/PixmapLstCvt.c $(XMT_HEADERS)
7172
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixmapLstCvt.c
7173
+ Procedures.o: $(XMT_SDIR)/Procedures.c $(XMT_HEADERS)
7174
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Procedures.c
7175
+ Quarks.o: $(XMT_SDIR)/Quarks.c $(XMT_HEADERS)
7176
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Quarks.c
7177
+ RGBtoHSL.o: $(XMT_SDIR)/RGBtoHSL.c $(XMT_HEADERS)
7178
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/RGBtoHSL.c
7179
+ Screen.o: $(XMT_SDIR)/Screen.c $(XMT_HEADERS)
7180
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Screen.c
7181
+ SetValue.o: $(XMT_SDIR)/SetValue.c $(XMT_HEADERS)
7182
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/SetValue.c
7183
+ ShellUtil.o: $(XMT_SDIR)/ShellUtil.c $(XMT_HEADERS)
7184
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ShellUtil.c
7185
+ StringLstCvt.o: $(XMT_SDIR)/StringLstCvt.c $(XMT_HEADERS)
7186
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/StringLstCvt.c
7187
+ Symbols.o: $(XMT_SDIR)/Symbols.c $(XMT_HEADERS)
7188
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Symbols.c
7189
+ Template.o: $(XMT_SDIR)/Template.c $(XMT_HEADERS)
7190
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Template.c
7191
+ Visual.o: $(XMT_SDIR)/Visual.c $(XMT_HEADERS)
7192
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Visual.c
7193
+ UnixProcs.o: $(XMT_SDIR)/UnixProcs.c $(XMT_HEADERS)
7194
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/UnixProcs.c
7195
+ Wait.o: $(XMT_SDIR)/Wait.c $(XMT_HEADERS)
7196
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Wait.c
7197
+ Warning.o: $(XMT_SDIR)/Warning.c $(XMT_HEADERS)
7198
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Warning.c
7199
+ WidgetCvt.o: $(XMT_SDIR)/WidgetCvt.c $(XMT_HEADERS)
7200
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WidgetCvt.c
7201
+ WidgetType.o: $(XMT_SDIR)/WidgetType.c $(XMT_HEADERS)
7202
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WidgetType.c
7203
+ Working.o: $(XMT_SDIR)/Working.c $(XMT_HEADERS)
7204
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Working.c
7205
+ WorkingBox.o: $(XMT_SDIR)/WorkingBox.c $(XMT_HEADERS)
7206
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WorkingBox.c
7207
+ Xbm.o: $(XMT_SDIR)/Xbm.c $(XMT_HEADERS)
7208
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Xbm.c
7209
+ XmCSText.o: $(XMT_SDIR)/XmCSText.c $(XMT_HEADERS)
7210
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmCSText.c
7211
+ XmComboBox.o: $(XMT_SDIR)/XmComboBox.c $(XMT_HEADERS)
7212
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmComboBox.c
7213
+ XmScale.o: $(XMT_SDIR)/XmScale.c $(XMT_HEADERS)
7214
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmScale.c
7215
+ XmStringCvt.o: $(XMT_SDIR)/XmStringCvt.c $(XMT_HEADERS)
7216
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmStringCvt.c
7217
+ XmText.o: $(XMT_SDIR)/XmText.c $(XMT_HEADERS)
7218
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmText.c
7219
+ XmTextField.o: $(XMT_SDIR)/XmTextField.c $(XMT_HEADERS)
7220
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmTextField.c
7221
+ XmToggleB.o: $(XMT_SDIR)/XmToggleB.c $(XMT_HEADERS)
7222
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmToggleB.c
7223
+ XmtProcs.o: $(XMT_SDIR)/XmtProcs.c $(XMT_HEADERS)
7224
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmtProcs.c
7225
+ XmtWidgets.o: $(XMT_SDIR)/XmtWidgets.c $(XMT_HEADERS)
7226
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmtWidgets.c
7227
+ Xpm.o: $(XMT_SDIR)/Xpm.c $(XMT_HEADERS)
7228
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Xpm.c
7229
+ XpmParse.o: $(XMT_SDIR)/XpmParse.c $(XMT_HEADERS)
7230
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XpmParse.c
7231
+ XtProcs.o: $(XMT_SDIR)/XtProcs.c $(XMT_HEADERS)
7232
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XtProcs.c
7234
+ ConvertData.o: $(XMT_SDIR)/ConvertData.c $(XMT_HEADERS)
7235
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ConvertData.c
7236
+ ChooserS.o: $(XMT_SDIR)/ChooserS.c $(XMT_HEADERS)
7237
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ChooserS.c
7238
+ CliS.o: $(XMT_SDIR)/CliS.c $(XMT_HEADERS)
7239
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CliS.c
7240
+ HelpBoxS.o: $(XMT_SDIR)/HelpBoxS.c $(XMT_HEADERS)
7241
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBoxS.c
7242
+ HelpBrowserS.o: $(XMT_SDIR)/HelpBrowserS.c $(XMT_HEADERS)
7243
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBrowserS.c
7244
+ InputFieldS.o: $(XMT_SDIR)/InputFieldS.c $(XMT_HEADERS)
7245
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InputFieldS.c
7246
+ LayoutS.o: $(XMT_SDIR)/LayoutS.c $(XMT_HEADERS)
7247
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutS.c
7248
+ MenuS.o: $(XMT_SDIR)/MenuS.c $(XMT_HEADERS)
7249
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MenuS.c
7250
+ MsgLineS.o: $(XMT_SDIR)/MsgLineS.c $(XMT_HEADERS)
7251
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgLineS.c
7252
+ WorkingBoxS.o: $(XMT_SDIR)/WorkingBoxS.c $(XMT_HEADERS)
7253
+ $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WorkingBoxS.c
7257
+ $(RM) $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
7258
+ $(RM) libXmt.a libXmt$(SHAREDEXT)
7259
diff -bpcBNC 5 Xmt310/Xmt/Menu.c Xmt310.ge/Xmt/Menu.c
7260
*** Xmt310/Xmt/Menu.c Sun Feb 4 22:45:26 2001
7261
--- Xmt310.ge/Xmt/Menu.c Tue Jun 12 18:25:28 2001
7265
* Motif Tools Library, Version 3.1
7268
* Written by David Flanagan.
7269
* Copyright (c) 1992-2001 by David Flanagan.
7270
* All Rights Reserved. See the file COPYRIGHT for details.
7271
* This is open source software. See the file LICENSE for details.
7272
* There is no warranty for this software. See NO_WARRANTY for details.
7275
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7276
! * Initial checkin.
7278
! * Revision 1.1 2001/06/21 17:47:46 andre
7279
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7280
! * kerberos compilation support
7286
#include <Xmt/XmtP.h>
7289
* Motif Tools Library, Version 3.1
7292
* Written by David Flanagan.
7293
* Copyright (c) 1992-2001 by David Flanagan.
7294
* All Rights Reserved. See the file COPYRIGHT for details.
7295
* This is open source software. See the file LICENSE for details.
7296
* There is no warranty for this software. See NO_WARRANTY for details.
7299
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7300
! * Initial checkin.
7302
! * Revision 1.1 2001/06/21 17:47:46 andre
7303
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7304
! * kerberos compilation support
7306
! * Revision 1.2 2001/06/12 16:25:28 andre
7307
! * *** empty log message ***
7313
#include <Xmt/XmtP.h>
7314
*************** Cardinal num_items;
7317
XmtMenuWidget mw = (XmtMenuWidget) w;
7319
Arg args[10], submenu_args[10];
7321
! XmString accel_label;
7322
char namebuf[10], submenu_buf[20];
7323
char *name, *submenu_name;
7324
int numlabel, numpush, numtoggle, numsep, numsub;
7326
static XrmQuark QBoolean = NULLQUARK;
7329
XmtMenuWidget mw = (XmtMenuWidget) w;
7331
Arg args[10], submenu_args[10];
7333
! XmString accel_label = NULL;
7334
char namebuf[10], submenu_buf[20];
7335
char *name, *submenu_name;
7336
int numlabel, numpush, numtoggle, numsep, numsub;
7338
static XrmQuark QBoolean = NULLQUARK;
7339
*************** Cardinal num_items;
7341
to.addr =(XPointer) &item->label1;
7342
to.size = sizeof(Pixmap);
7343
item->label1 = (XmString)XmUNSPECIFIED_PIXMAP;
7344
XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
7346
! else item->label1 = XmtCreateXmString(item->alt_label);
7349
/* if there is a normal label, create the XmString or pixmap */
7351
if (item->type & XmtMenuItemPixmap) {
7353
to.addr =(XPointer) &item->label1;
7354
to.size = sizeof(Pixmap);
7355
item->label1 = (XmString)XmUNSPECIFIED_PIXMAP;
7356
XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
7358
! else item->label1 = XmtCreateLocalizedXmString(w, item->alt_label);
7361
/* if there is a normal label, create the XmString or pixmap */
7363
if (item->type & XmtMenuItemPixmap) {
7364
*************** Cardinal num_items;
7366
to.addr =(XPointer) &item->label0;
7367
to.size = sizeof(Pixmap);
7368
item->label0 = (XmString)XmUNSPECIFIED_PIXMAP;
7369
XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
7371
! else item->label0 = XmtCreateXmString(item->label);
7375
* if this is a toggle button w/ an alternate string and mnemonic,
7376
* set whichever is appopriate for the initial state. Otherwise,
7378
to.addr =(XPointer) &item->label0;
7379
to.size = sizeof(Pixmap);
7380
item->label0 = (XmString)XmUNSPECIFIED_PIXMAP;
7381
XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
7383
! else item->label0 = XmtCreateLocalizedXmString(w, item->label);
7387
* if this is a toggle button w/ an alternate string and mnemonic,
7388
* set whichever is appopriate for the initial state. Otherwise,
7389
diff -bpcBNC 5 Xmt310/Xmt/Menu.h Xmt310.ge/Xmt/Menu.h
7390
*** Xmt310/Xmt/Menu.h Sun Feb 4 22:45:30 2001
7391
--- Xmt310.ge/Xmt/Menu.h Tue Jun 12 18:25:28 2001
7395
* Motif Tools Library, Version 3.1
7398
* Written by David Flanagan.
7399
* Copyright (c) 1992-2001 by David Flanagan.
7400
* All Rights Reserved. See the file COPYRIGHT for details.
7401
* This is open source software. See the file LICENSE for details.
7402
* There is no warranty for this software. See NO_WARRANTY for details.
7405
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7406
! * Initial checkin.
7408
! * Revision 1.1 2001/06/21 17:47:46 andre
7409
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7410
! * kerberos compilation support
7419
* Motif Tools Library, Version 3.1
7422
* Written by David Flanagan.
7423
* Copyright (c) 1992-2001 by David Flanagan.
7424
* All Rights Reserved. See the file COPYRIGHT for details.
7425
* This is open source software. See the file LICENSE for details.
7426
* There is no warranty for this software. See NO_WARRANTY for details.
7429
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7430
! * Initial checkin.
7432
! * Revision 1.1 2001/06/21 17:47:46 andre
7433
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7434
! * kerberos compilation support
7436
! * Revision 1.2 2001/06/12 16:25:28 andre
7437
! * *** empty log message ***
7444
diff -bpcBNC 5 Xmt310/Xmt/MenuCvt.c Xmt310.ge/Xmt/MenuCvt.c
7445
*** Xmt310/Xmt/MenuCvt.c Sun Feb 4 22:45:34 2001
7446
--- Xmt310.ge/Xmt/MenuCvt.c Tue Jun 12 18:25:28 2001
7450
* Motif Tools Library, Version 3.1
7453
* Written by David Flanagan.
7454
* Copyright (c) 1992-2001 by David Flanagan.
7455
* All Rights Reserved. See the file COPYRIGHT for details.
7456
* This is open source software. See the file LICENSE for details.
7457
* There is no warranty for this software. See NO_WARRANTY for details.
7460
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7461
! * Initial checkin.
7463
! * Revision 1.1 2001/06/21 17:47:46 andre
7464
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7465
! * kerberos compilation support
7474
* Motif Tools Library, Version 3.1
7477
* Written by David Flanagan.
7478
* Copyright (c) 1992-2001 by David Flanagan.
7479
* All Rights Reserved. See the file COPYRIGHT for details.
7480
* This is open source software. See the file LICENSE for details.
7481
* There is no warranty for this software. See NO_WARRANTY for details.
7484
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7485
! * Initial checkin.
7487
! * Revision 1.1 2001/06/21 17:47:46 andre
7488
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7489
! * kerberos compilation support
7491
! * Revision 1.2 2001/06/12 16:25:28 andre
7492
! * *** empty log message ***
7499
*************** XmtMenuItem *item;
7501
* converter is registered.
7503
tok = XmtLexerGetToken(l);
7504
if ((tok == XmtLexerIdent) || (tok == XmtLexerLBrace)) { /* a callback */
7505
char *callback_string;
7510
if (tok == XmtLexerIdent) { /* a single callback */
7511
/* back up by the length of the current identifier */
7512
l->c -= XmtLexerStrLength(l);
7513
XtFree(XmtLexerStrValue(l));
7515
* converter is registered.
7517
tok = XmtLexerGetToken(l);
7518
if ((tok == XmtLexerIdent) || (tok == XmtLexerLBrace)) { /* a callback */
7519
char *callback_string;
7522
! Boolean stat = False;
7524
if (tok == XmtLexerIdent) { /* a single callback */
7525
/* back up by the length of the current identifier */
7526
l->c -= XmtLexerStrLength(l);
7527
XtFree(XmtLexerStrValue(l));
7528
diff -bpcBNC 5 Xmt310/Xmt/MenuP.h Xmt310.ge/Xmt/MenuP.h
7529
*** Xmt310/Xmt/MenuP.h Sun Feb 4 22:45:38 2001
7530
--- Xmt310.ge/Xmt/MenuP.h Tue Jun 12 18:25:28 2001
7534
* Motif Tools Library, Version 3.1
7537
* Written by David Flanagan.
7538
* Copyright (c) 1992-2001 by David Flanagan.
7539
* All Rights Reserved. See the file COPYRIGHT for details.
7540
* This is open source software. See the file LICENSE for details.
7541
* There is no warranty for this software. See NO_WARRANTY for details.
7544
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7545
! * Initial checkin.
7547
! * Revision 1.1 2001/06/21 17:47:46 andre
7548
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7549
! * kerberos compilation support
7558
* Motif Tools Library, Version 3.1
7561
* Written by David Flanagan.
7562
* Copyright (c) 1992-2001 by David Flanagan.
7563
* All Rights Reserved. See the file COPYRIGHT for details.
7564
* This is open source software. See the file LICENSE for details.
7565
* There is no warranty for this software. See NO_WARRANTY for details.
7568
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7569
! * Initial checkin.
7571
! * Revision 1.1 2001/06/21 17:47:46 andre
7572
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7573
! * kerberos compilation support
7575
! * Revision 1.2 2001/06/12 16:25:28 andre
7576
! * *** empty log message ***
7583
diff -bpcBNC 5 Xmt310/Xmt/MenuS.c Xmt310.ge/Xmt/MenuS.c
7584
*** Xmt310/Xmt/MenuS.c Sun Feb 4 22:45:40 2001
7585
--- Xmt310.ge/Xmt/MenuS.c Tue Jun 12 18:25:28 2001
7589
* Motif Tools Library, Version 3.1
7592
* Written by David Flanagan.
7593
* Copyright (c) 1992-2001 by David Flanagan.
7594
* All Rights Reserved. See the file COPYRIGHT for details.
7595
* This is open source software. See the file LICENSE for details.
7596
* There is no warranty for this software. See NO_WARRANTY for details.
7599
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7600
! * Initial checkin.
7602
! * Revision 1.1 2001/06/21 17:47:46 andre
7603
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7604
! * kerberos compilation support
7608
#include <X11/Intrinsic.h>
7610
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
7613
* Motif Tools Library, Version 3.1
7616
* Written by David Flanagan.
7617
* Copyright (c) 1992-2001 by David Flanagan.
7618
* All Rights Reserved. See the file COPYRIGHT for details.
7619
* This is open source software. See the file LICENSE for details.
7620
* There is no warranty for this software. See NO_WARRANTY for details.
7623
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7624
! * Initial checkin.
7626
! * Revision 1.1 2001/06/21 17:47:46 andre
7627
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7628
! * kerberos compilation support
7630
! * Revision 1.2 2001/06/12 16:25:28 andre
7631
! * *** empty log message ***
7635
#include <X11/Intrinsic.h>
7637
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
7638
diff -bpcBNC 5 Xmt310/Xmt/MotifWidgets.c Xmt310.ge/Xmt/MotifWidgets.c
7639
*** Xmt310/Xmt/MotifWidgets.c Sun Feb 4 22:45:48 2001
7640
--- Xmt310.ge/Xmt/MotifWidgets.c Tue Jun 12 18:25:28 2001
7644
* Motif Tools Library, Version 3.1
7647
* Written by David Flanagan.
7648
* Copyright (c) 1992-2001 by David Flanagan.
7649
* All Rights Reserved. See the file COPYRIGHT for details.
7650
* This is open source software. See the file LICENSE for details.
7651
* There is no warranty for this software. See NO_WARRANTY for details.
7654
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7655
! * Initial checkin.
7657
! * Revision 1.1 2001/06/21 17:47:46 andre
7658
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7659
! * kerberos compilation support
7664
#include <Xmt/Xmt.h>
7665
#include <Xmt/WidgetType.h>
7668
* Motif Tools Library, Version 3.1
7671
* Written by David Flanagan.
7672
* Copyright (c) 1992-2001 by David Flanagan.
7673
* All Rights Reserved. See the file COPYRIGHT for details.
7674
* This is open source software. See the file LICENSE for details.
7675
* There is no warranty for this software. See NO_WARRANTY for details.
7678
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7679
! * Initial checkin.
7681
! * Revision 1.1 2001/06/21 17:47:46 andre
7682
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7683
! * kerberos compilation support
7685
! * Revision 1.2 2001/06/12 16:25:28 andre
7686
! * *** empty log message ***
7691
#include <Xmt/Xmt.h>
7692
#include <Xmt/WidgetType.h>
7696
#if XmVersion >= 2000
7697
#include <Xm/Container.h>
7698
#include <Xm/IconG.h>
7699
#include <Xm/Notebook.h>
7700
#include <Xm/SpinB.h>
7701
+ #include <Xm/ComboBox.h>
7704
static XmtWidgetType motif_widgets[] = {
7705
{"XmArrowButton", NULL, XmCreateArrowButton},
7706
{"XmBulletinBoard", NULL, XmCreateBulletinBoard},
7707
diff -bpcBNC 5 Xmt310/Xmt/MsgDialogs.c Xmt310.ge/Xmt/MsgDialogs.c
7708
*** Xmt310/Xmt/MsgDialogs.c Sun Feb 4 22:45:52 2001
7709
--- Xmt310.ge/Xmt/MsgDialogs.c Tue Jun 12 18:25:28 2001
7713
* Motif Tools Library, Version 3.1
7716
* Written by David Flanagan.
7717
* Copyright (c) 1992-2001 by David Flanagan.
7718
* All Rights Reserved. See the file COPYRIGHT for details.
7719
* This is open source software. See the file LICENSE for details.
7720
* There is no warranty for this software. See NO_WARRANTY for details.
7723
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7724
! * Initial checkin.
7726
! * Revision 1.1 2001/06/21 17:47:46 andre
7727
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7728
! * kerberos compilation support
7733
#include <Xmt/Xmt.h>
7734
#include <Xmt/DialogsP.h>
7737
* Motif Tools Library, Version 3.1
7740
* Written by David Flanagan.
7741
* Copyright (c) 1992-2001 by David Flanagan.
7742
* All Rights Reserved. See the file COPYRIGHT for details.
7743
* This is open source software. See the file LICENSE for details.
7744
* There is no warranty for this software. See NO_WARRANTY for details.
7747
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7748
! * Initial checkin.
7750
! * Revision 1.1 2001/06/21 17:47:46 andre
7751
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7752
! * kerberos compilation support
7754
! * Revision 1.2 2001/06/12 16:25:28 andre
7755
! * *** empty log message ***
7760
#include <Xmt/Xmt.h>
7761
#include <Xmt/DialogsP.h>
7762
*************** XtPointer tag, data;
7764
for(i=0; i < cache->num-1; i++)
7765
if (cache->dialogs[i] == dialog) break;
7767
XtVaGetValues(dialog, XmNmessageString, &msg, NULL);
7768
blank = XmStringSeparatorCreate();
7769
! help = XmtCreateXmString(cache->help_strings[i]);
7770
s1 = XmStringConcat(msg, blank);
7771
s2 = XmStringConcat(s1, help);
7772
XtVaSetValues(dialog, XmNmessageString, s2, NULL);
7774
XmStringFree(blank);
7776
for(i=0; i < cache->num-1; i++)
7777
if (cache->dialogs[i] == dialog) break;
7779
XtVaGetValues(dialog, XmNmessageString, &msg, NULL);
7780
blank = XmStringSeparatorCreate();
7781
! help = XmtCreateLocalizedXmString(w, cache->help_strings[i]);
7782
s1 = XmStringConcat(msg, blank);
7783
s2 = XmStringConcat(s1, help);
7784
XtVaSetValues(dialog, XmNmessageString, s2, NULL);
7786
XmStringFree(blank);
7787
*************** Widget shell;
7790
MsgDialogCache **cache_return;
7793
MsgDialogCache *cache;
7794
! Widget dialog, help_button;
7797
/* the first time, create the hash table */
7798
if (!shell_to_cache_table)
7799
shell_to_cache_table = XmtHashTableCreate(3);
7802
MsgDialogCache **cache_return;
7805
MsgDialogCache *cache;
7806
! Widget dialog = 0, help_button;
7809
/* the first time, create the hash table */
7810
if (!shell_to_cache_table)
7811
shell_to_cache_table = XmtHashTableCreate(3);
7812
*************** int style;
7814
vsprintf(buffer, data.message, *msg_args);
7815
data.message = buffer;
7818
/* create XmStrings */
7819
! msg = XmtCreateXmString(data.message);
7820
! title = XmtCreateXmString(data.title);
7823
* reset the type of the dialog so that the next call will change it.
7824
* This is reqired to reset a custom icon back to the default icon
7825
* when the type doesn't change
7827
vsprintf(buffer, data.message, *msg_args);
7828
data.message = buffer;
7831
/* create XmStrings */
7832
! msg = XmtCreateLocalizedXmString(w, data.message);
7833
! title = XmtCreateLocalizedXmString(w, data.title);
7836
* reset the type of the dialog so that the next call will change it.
7837
* This is reqired to reset a custom icon back to the default icon
7838
* when the type doesn't change
7839
diff -bpcBNC 5 Xmt310/Xmt/MsgLine.c Xmt310.ge/Xmt/MsgLine.c
7840
*** Xmt310/Xmt/MsgLine.c Sun Feb 4 22:45:56 2001
7841
--- Xmt310.ge/Xmt/MsgLine.c Tue Jun 12 18:25:28 2001
7845
* Motif Tools Library, Version 3.1
7848
* Written by David Flanagan.
7849
* Copyright (c) 1992-2001 by David Flanagan.
7850
* All Rights Reserved. See the file COPYRIGHT for details.
7851
* This is open source software. See the file LICENSE for details.
7852
* There is no warranty for this software. See NO_WARRANTY for details.
7855
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7856
! * Initial checkin.
7858
! * Revision 1.1 2001/06/21 17:47:46 andre
7859
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7860
! * kerberos compilation support
7866
* Portions of this file are based upon work done by David Flanagan while
7869
* Motif Tools Library, Version 3.1
7872
* Written by David Flanagan.
7873
* Copyright (c) 1992-2001 by David Flanagan.
7874
* All Rights Reserved. See the file COPYRIGHT for details.
7875
* This is open source software. See the file LICENSE for details.
7876
* There is no warranty for this software. See NO_WARRANTY for details.
7879
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7880
! * Initial checkin.
7882
! * Revision 1.1 2001/06/21 17:47:46 andre
7883
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7884
! * kerberos compilation support
7886
! * Revision 1.2 2001/06/12 16:25:28 andre
7887
! * *** empty log message ***
7893
* Portions of this file are based upon work done by David Flanagan while
7894
diff -bpcBNC 5 Xmt310/Xmt/MsgLine.h Xmt310.ge/Xmt/MsgLine.h
7895
*** Xmt310/Xmt/MsgLine.h Sun Feb 4 22:45:58 2001
7896
--- Xmt310.ge/Xmt/MsgLine.h Tue Jun 12 18:25:28 2001
7900
* Motif Tools Library, Version 3.1
7903
* Written by David Flanagan.
7904
* Copyright (c) 1992-2001 by David Flanagan.
7905
* All Rights Reserved. See the file COPYRIGHT for details.
7906
* This is open source software. See the file LICENSE for details.
7907
* There is no warranty for this software. See NO_WARRANTY for details.
7910
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7911
! * Initial checkin.
7913
! * Revision 1.1 2001/06/21 17:47:46 andre
7914
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7915
! * kerberos compilation support
7920
#ifndef _XmtMsgLine_h
7921
#define _XmtMsgLine_h
7924
* Motif Tools Library, Version 3.1
7927
* Written by David Flanagan.
7928
* Copyright (c) 1992-2001 by David Flanagan.
7929
* All Rights Reserved. See the file COPYRIGHT for details.
7930
* This is open source software. See the file LICENSE for details.
7931
* There is no warranty for this software. See NO_WARRANTY for details.
7934
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7935
! * Initial checkin.
7937
! * Revision 1.1 2001/06/21 17:47:46 andre
7938
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7939
! * kerberos compilation support
7941
! * Revision 1.2 2001/06/12 16:25:28 andre
7942
! * *** empty log message ***
7947
#ifndef _XmtMsgLine_h
7948
#define _XmtMsgLine_h
7949
diff -bpcBNC 5 Xmt310/Xmt/MsgLineP.h Xmt310.ge/Xmt/MsgLineP.h
7950
*** Xmt310/Xmt/MsgLineP.h Sun Feb 4 22:46:02 2001
7951
--- Xmt310.ge/Xmt/MsgLineP.h Tue Jun 12 18:25:28 2001
7955
* Motif Tools Library, Version 3.1
7958
* Written by David Flanagan.
7959
* Copyright (c) 1992-2001 by David Flanagan.
7960
* All Rights Reserved. See the file COPYRIGHT for details.
7961
* This is open source software. See the file LICENSE for details.
7962
* There is no warranty for this software. See NO_WARRANTY for details.
7965
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7966
! * Initial checkin.
7968
! * Revision 1.1 2001/06/21 17:47:46 andre
7969
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7970
! * kerberos compilation support
7975
#ifndef _XmtMsgLineP_h
7976
#define _XmtMsgLineP_h
7979
* Motif Tools Library, Version 3.1
7982
* Written by David Flanagan.
7983
* Copyright (c) 1992-2001 by David Flanagan.
7984
* All Rights Reserved. See the file COPYRIGHT for details.
7985
* This is open source software. See the file LICENSE for details.
7986
* There is no warranty for this software. See NO_WARRANTY for details.
7989
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7990
! * Initial checkin.
7992
! * Revision 1.1 2001/06/21 17:47:46 andre
7993
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
7994
! * kerberos compilation support
7996
! * Revision 1.2 2001/06/12 16:25:28 andre
7997
! * *** empty log message ***
8002
#ifndef _XmtMsgLineP_h
8003
#define _XmtMsgLineP_h
8004
diff -bpcBNC 5 Xmt310/Xmt/MsgLineS.c Xmt310.ge/Xmt/MsgLineS.c
8005
*** Xmt310/Xmt/MsgLineS.c Sun Feb 4 22:46:06 2001
8006
--- Xmt310.ge/Xmt/MsgLineS.c Tue Jun 12 18:25:28 2001
8010
* Motif Tools Library, Version 3.1
8013
* Written by David Flanagan.
8014
* Copyright (c) 1992-2001 by David Flanagan.
8015
* All Rights Reserved. See the file COPYRIGHT for details.
8016
* This is open source software. See the file LICENSE for details.
8017
* There is no warranty for this software. See NO_WARRANTY for details.
8020
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8021
! * Initial checkin.
8023
! * Revision 1.1 2001/06/21 17:47:46 andre
8024
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8025
! * kerberos compilation support
8029
#include <X11/Intrinsic.h>
8031
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
8034
* Motif Tools Library, Version 3.1
8037
* Written by David Flanagan.
8038
* Copyright (c) 1992-2001 by David Flanagan.
8039
* All Rights Reserved. See the file COPYRIGHT for details.
8040
* This is open source software. See the file LICENSE for details.
8041
* There is no warranty for this software. See NO_WARRANTY for details.
8044
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8045
! * Initial checkin.
8047
! * Revision 1.1 2001/06/21 17:47:46 andre
8048
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8049
! * kerberos compilation support
8051
! * Revision 1.2 2001/06/12 16:25:28 andre
8052
! * *** empty log message ***
8056
#include <X11/Intrinsic.h>
8058
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
8059
diff -bpcBNC 5 Xmt310/Xmt/NameToWidget.c Xmt310.ge/Xmt/NameToWidget.c
8060
*** Xmt310/Xmt/NameToWidget.c Sun Feb 4 22:46:10 2001
8061
--- Xmt310.ge/Xmt/NameToWidget.c Tue Jun 12 18:25:28 2001
8065
* Motif Tools Library, Version 3.1
8068
* Written by David Flanagan.
8069
* Copyright (c) 1992-2001 by David Flanagan.
8070
* All Rights Reserved. See the file COPYRIGHT for details.
8071
* This is open source software. See the file LICENSE for details.
8072
* There is no warranty for this software. See NO_WARRANTY for details.
8075
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8076
! * Initial checkin.
8078
! * Revision 1.1 2001/06/21 17:47:46 andre
8079
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8080
! * kerberos compilation support
8086
* Portions of this file are derived from the Xt source code.
8089
* Motif Tools Library, Version 3.1
8092
* Written by David Flanagan.
8093
* Copyright (c) 1992-2001 by David Flanagan.
8094
* All Rights Reserved. See the file COPYRIGHT for details.
8095
* This is open source software. See the file LICENSE for details.
8096
* There is no warranty for this software. See NO_WARRANTY for details.
8099
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8100
! * Initial checkin.
8102
! * Revision 1.1 2001/06/21 17:47:46 andre
8103
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8104
! * kerberos compilation support
8106
! * Revision 1.2 2001/06/12 16:25:28 andre
8107
! * *** empty log message ***
8113
* Portions of this file are derived from the Xt source code.
8114
diff -bpcBNC 5 Xmt310/Xmt/PixelCvt.c Xmt310.ge/Xmt/PixelCvt.c
8115
*** Xmt310/Xmt/PixelCvt.c Sun Feb 4 22:46:16 2001
8116
--- Xmt310.ge/Xmt/PixelCvt.c Tue Jun 12 18:25:28 2001
8120
* Motif Tools Library, Version 3.1
8123
* Written by David Flanagan.
8124
* Copyright (c) 1992-2001 by David Flanagan.
8125
* All Rights Reserved. See the file COPYRIGHT for details.
8126
* This is open source software. See the file LICENSE for details.
8127
* There is no warranty for this software. See NO_WARRANTY for details.
8130
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8131
! * Initial checkin.
8133
! * Revision 1.1 2001/06/21 17:47:46 andre
8134
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8135
! * kerberos compilation support
8140
#include <Xmt/Xmt.h>
8141
#include <Xmt/AppResP.h>
8144
* Motif Tools Library, Version 3.1
8147
* Written by David Flanagan.
8148
* Copyright (c) 1992-2001 by David Flanagan.
8149
* All Rights Reserved. See the file COPYRIGHT for details.
8150
* This is open source software. See the file LICENSE for details.
8151
* There is no warranty for this software. See NO_WARRANTY for details.
8154
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8155
! * Initial checkin.
8157
! * Revision 1.1 2001/06/21 17:47:46 andre
8158
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8159
! * kerberos compilation support
8161
! * Revision 1.2 2001/06/12 16:25:28 andre
8162
! * *** empty log message ***
8167
#include <Xmt/Xmt.h>
8168
#include <Xmt/AppResP.h>
8169
diff -bpcBNC 5 Xmt310/Xmt/Pixmap.c Xmt310.ge/Xmt/Pixmap.c
8170
*** Xmt310/Xmt/Pixmap.c Sun Feb 4 22:46:18 2001
8171
--- Xmt310.ge/Xmt/Pixmap.c Tue Jun 12 18:25:28 2001
8175
* Motif Tools Library, Version 3.1
8178
* Written by David Flanagan.
8179
* Copyright (c) 1992-2001 by David Flanagan.
8180
* All Rights Reserved. See the file COPYRIGHT for details.
8181
* This is open source software. See the file LICENSE for details.
8182
* There is no warranty for this software. See NO_WARRANTY for details.
8185
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8186
! * Initial checkin.
8188
! * Revision 1.1 2001/06/21 17:47:46 andre
8189
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8190
! * kerberos compilation support
8195
#include <Xmt/Xmt.h>
8196
#include <Xmt/Pixmap.h>
8199
* Motif Tools Library, Version 3.1
8202
* Written by David Flanagan.
8203
* Copyright (c) 1992-2001 by David Flanagan.
8204
* All Rights Reserved. See the file COPYRIGHT for details.
8205
* This is open source software. See the file LICENSE for details.
8206
* There is no warranty for this software. See NO_WARRANTY for details.
8209
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8210
! * Initial checkin.
8212
! * Revision 1.1 2001/06/21 17:47:46 andre
8213
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8214
! * kerberos compilation support
8216
! * Revision 1.2 2001/06/12 16:25:28 andre
8217
! * *** empty log message ***
8222
#include <Xmt/Xmt.h>
8223
#include <Xmt/Pixmap.h>
8224
diff -bpcBNC 5 Xmt310/Xmt/Pixmap.h Xmt310.ge/Xmt/Pixmap.h
8225
*** Xmt310/Xmt/Pixmap.h Sun Feb 4 22:46:22 2001
8226
--- Xmt310.ge/Xmt/Pixmap.h Tue Jun 12 18:25:28 2001
8230
* Motif Tools Library, Version 3.1
8233
* Written by David Flanagan.
8234
* Copyright (c) 1992-2001 by David Flanagan.
8235
* All Rights Reserved. See the file COPYRIGHT for details.
8236
* This is open source software. See the file LICENSE for details.
8237
* There is no warranty for this software. See NO_WARRANTY for details.
8240
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8241
! * Initial checkin.
8243
! * Revision 1.1 2001/06/21 17:47:46 andre
8244
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8245
! * kerberos compilation support
8250
#ifndef _XmtPixmap_h
8251
#define _XmtPixmap_h
8254
* Motif Tools Library, Version 3.1
8257
* Written by David Flanagan.
8258
* Copyright (c) 1992-2001 by David Flanagan.
8259
* All Rights Reserved. See the file COPYRIGHT for details.
8260
* This is open source software. See the file LICENSE for details.
8261
* There is no warranty for this software. See NO_WARRANTY for details.
8264
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8265
! * Initial checkin.
8267
! * Revision 1.1 2001/06/21 17:47:46 andre
8268
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8269
! * kerberos compilation support
8271
! * Revision 1.2 2001/06/12 16:25:28 andre
8272
! * *** empty log message ***
8277
#ifndef _XmtPixmap_h
8278
#define _XmtPixmap_h
8279
diff -bpcBNC 5 Xmt310/Xmt/PixmapCvt.c Xmt310.ge/Xmt/PixmapCvt.c
8280
*** Xmt310/Xmt/PixmapCvt.c Sun Feb 4 22:46:26 2001
8281
--- Xmt310.ge/Xmt/PixmapCvt.c Tue Jun 12 18:25:28 2001
8285
* Motif Tools Library, Version 3.1
8288
* Written by David Flanagan.
8289
* Copyright (c) 1992-2001 by David Flanagan.
8290
* All Rights Reserved. See the file COPYRIGHT for details.
8291
* This is open source software. See the file LICENSE for details.
8292
* There is no warranty for this software. See NO_WARRANTY for details.
8295
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8296
! * Initial checkin.
8298
! * Revision 1.1 2001/06/21 17:47:46 andre
8299
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8300
! * kerberos compilation support
8305
#include <Xmt/Xmt.h>
8306
#include <Xmt/Pixmap.h>
8309
* Motif Tools Library, Version 3.1
8312
* Written by David Flanagan.
8313
* Copyright (c) 1992-2001 by David Flanagan.
8314
* All Rights Reserved. See the file COPYRIGHT for details.
8315
* This is open source software. See the file LICENSE for details.
8316
* There is no warranty for this software. See NO_WARRANTY for details.
8319
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8320
! * Initial checkin.
8322
! * Revision 1.1 2001/06/21 17:47:46 andre
8323
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8324
! * kerberos compilation support
8326
! * Revision 1.2 2001/06/12 16:25:28 andre
8327
! * *** empty log message ***
8332
#include <Xmt/Xmt.h>
8333
#include <Xmt/Pixmap.h>
8334
diff -bpcBNC 5 Xmt310/Xmt/PixmapLstCvt.c Xmt310.ge/Xmt/PixmapLstCvt.c
8335
*** Xmt310/Xmt/PixmapLstCvt.c Sun Feb 4 22:46:28 2001
8336
--- Xmt310.ge/Xmt/PixmapLstCvt.c Tue Jun 12 18:25:28 2001
8340
* Motif Tools Library, Version 3.1
8343
* Written by David Flanagan.
8344
* Copyright (c) 1992-2001 by David Flanagan.
8345
* All Rights Reserved. See the file COPYRIGHT for details.
8346
* This is open source software. See the file LICENSE for details.
8347
* There is no warranty for this software. See NO_WARRANTY for details.
8350
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8351
! * Initial checkin.
8353
! * Revision 1.1 2001/06/21 17:47:46 andre
8354
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8355
! * kerberos compilation support
8361
#include <Xmt/Xmt.h>
8364
* Motif Tools Library, Version 3.1
8367
* Written by David Flanagan.
8368
* Copyright (c) 1992-2001 by David Flanagan.
8369
* All Rights Reserved. See the file COPYRIGHT for details.
8370
* This is open source software. See the file LICENSE for details.
8371
* There is no warranty for this software. See NO_WARRANTY for details.
8374
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8375
! * Initial checkin.
8377
! * Revision 1.1 2001/06/21 17:47:46 andre
8378
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8379
! * kerberos compilation support
8381
! * Revision 1.2 2001/06/12 16:25:28 andre
8382
! * *** empty log message ***
8388
#include <Xmt/Xmt.h>
8389
diff -bpcBNC 5 Xmt310/Xmt/Procedures.c Xmt310.ge/Xmt/Procedures.c
8390
*** Xmt310/Xmt/Procedures.c Sun Feb 4 22:46:34 2001
8391
--- Xmt310.ge/Xmt/Procedures.c Tue Jun 12 18:25:28 2001
8395
* Motif Tools Library, Version 3.1
8398
* Written by David Flanagan.
8399
* Copyright (c) 1992-2001 by David Flanagan.
8400
* All Rights Reserved. See the file COPYRIGHT for details.
8401
* This is open source software. See the file LICENSE for details.
8402
* There is no warranty for this software. See NO_WARRANTY for details.
8405
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8406
! * Initial checkin.
8408
! * Revision 1.1 2001/06/21 17:47:46 andre
8409
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8410
! * kerberos compilation support
8415
#include <Xmt/Xmt.h>
8416
#include <Xmt/ProceduresP.h>
8419
* Motif Tools Library, Version 3.1
8422
* Written by David Flanagan.
8423
* Copyright (c) 1992-2001 by David Flanagan.
8424
* All Rights Reserved. See the file COPYRIGHT for details.
8425
* This is open source software. See the file LICENSE for details.
8426
* There is no warranty for this software. See NO_WARRANTY for details.
8429
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8430
! * Initial checkin.
8432
! * Revision 1.1 2001/06/21 17:47:46 andre
8433
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8434
! * kerberos compilation support
8436
! * Revision 1.2 2001/06/12 16:25:28 andre
8437
! * *** empty log message ***
8442
#include <Xmt/Xmt.h>
8443
#include <Xmt/ProceduresP.h>
8444
diff -bpcBNC 5 Xmt310/Xmt/Procedures.h Xmt310.ge/Xmt/Procedures.h
8445
*** Xmt310/Xmt/Procedures.h Sun Feb 4 22:46:40 2001
8446
--- Xmt310.ge/Xmt/Procedures.h Tue Jun 12 18:25:28 2001
8450
* Motif Tools Library, Version 3.1
8453
* Written by David Flanagan.
8454
* Copyright (c) 1992-2001 by David Flanagan.
8455
* All Rights Reserved. See the file COPYRIGHT for details.
8456
* This is open source software. See the file LICENSE for details.
8457
* There is no warranty for this software. See NO_WARRANTY for details.
8460
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8461
! * Initial checkin.
8463
! * Revision 1.1 2001/06/21 17:47:46 andre
8464
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8465
! * kerberos compilation support
8470
#ifndef _XmtProcedures_h
8471
#define _XmtProcedures_h
8474
* Motif Tools Library, Version 3.1
8477
* Written by David Flanagan.
8478
* Copyright (c) 1992-2001 by David Flanagan.
8479
* All Rights Reserved. See the file COPYRIGHT for details.
8480
* This is open source software. See the file LICENSE for details.
8481
* There is no warranty for this software. See NO_WARRANTY for details.
8484
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8485
! * Initial checkin.
8487
! * Revision 1.1 2001/06/21 17:47:46 andre
8488
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8489
! * kerberos compilation support
8491
! * Revision 1.2 2001/06/12 16:25:28 andre
8492
! * *** empty log message ***
8497
#ifndef _XmtProcedures_h
8498
#define _XmtProcedures_h
8499
diff -bpcBNC 5 Xmt310/Xmt/ProceduresP.h Xmt310.ge/Xmt/ProceduresP.h
8500
*** Xmt310/Xmt/ProceduresP.h Sun Feb 4 22:46:44 2001
8501
--- Xmt310.ge/Xmt/ProceduresP.h Tue Jun 12 18:25:28 2001
8505
* Motif Tools Library, Version 3.1
8508
* Written by David Flanagan.
8509
* Copyright (c) 1992-2001 by David Flanagan.
8510
* All Rights Reserved. See the file COPYRIGHT for details.
8511
* This is open source software. See the file LICENSE for details.
8512
* There is no warranty for this software. See NO_WARRANTY for details.
8515
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8516
! * Initial checkin.
8518
! * Revision 1.1 2001/06/21 17:47:46 andre
8519
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8520
! * kerberos compilation support
8525
#ifndef _XmtProceduresP_h
8526
#define _XmtProceduresP_h
8529
* Motif Tools Library, Version 3.1
8532
* Written by David Flanagan.
8533
* Copyright (c) 1992-2001 by David Flanagan.
8534
* All Rights Reserved. See the file COPYRIGHT for details.
8535
* This is open source software. See the file LICENSE for details.
8536
* There is no warranty for this software. See NO_WARRANTY for details.
8539
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8540
! * Initial checkin.
8542
! * Revision 1.1 2001/06/21 17:47:46 andre
8543
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8544
! * kerberos compilation support
8546
! * Revision 1.2 2001/06/12 16:25:28 andre
8547
! * *** empty log message ***
8552
#ifndef _XmtProceduresP_h
8553
#define _XmtProceduresP_h
8554
diff -bpcBNC 5 Xmt310/Xmt/Quarks.c Xmt310.ge/Xmt/Quarks.c
8555
*** Xmt310/Xmt/Quarks.c Sun Feb 4 22:46:48 2001
8556
--- Xmt310.ge/Xmt/Quarks.c Tue Jun 12 18:25:28 2001
8560
* Motif Tools Library, Version 3.1
8563
* Written by David Flanagan.
8564
* Copyright (c) 1992-2001 by David Flanagan.
8565
* All Rights Reserved. See the file COPYRIGHT for details.
8566
* This is open source software. See the file LICENSE for details.
8567
* There is no warranty for this software. See NO_WARRANTY for details.
8570
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8571
! * Initial checkin.
8573
! * Revision 1.1 2001/06/21 17:47:46 andre
8574
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8575
! * kerberos compilation support
8580
#include <Xmt/Xmt.h>
8581
#include <Xmt/QuarksP.h>
8584
* Motif Tools Library, Version 3.1
8587
* Written by David Flanagan.
8588
* Copyright (c) 1992-2001 by David Flanagan.
8589
* All Rights Reserved. See the file COPYRIGHT for details.
8590
* This is open source software. See the file LICENSE for details.
8591
* There is no warranty for this software. See NO_WARRANTY for details.
8594
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8595
! * Initial checkin.
8597
! * Revision 1.1 2001/06/21 17:47:46 andre
8598
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8599
! * kerberos compilation support
8601
! * Revision 1.2 2001/06/12 16:25:28 andre
8602
! * *** empty log message ***
8607
#include <Xmt/Xmt.h>
8608
#include <Xmt/QuarksP.h>
8609
*************** externaldef(xmtqbuffer) XrmQuark XmtQBuf
8611
void _XmtInitQuarks(void)
8613
void _XmtInitQuarks()
8616
! static inited = False;
8618
if (inited == False) {
8621
XmtQBool = XrmPermStringToQuark(XtRBool);
8623
void _XmtInitQuarks(void)
8625
void _XmtInitQuarks()
8628
! static Boolean inited = False;
8630
if (inited == False) {
8633
XmtQBool = XrmPermStringToQuark(XtRBool);
8634
diff -bpcBNC 5 Xmt310/Xmt/QuarksP.h Xmt310.ge/Xmt/QuarksP.h
8635
*** Xmt310/Xmt/QuarksP.h Sun Feb 4 22:46:50 2001
8636
--- Xmt310.ge/Xmt/QuarksP.h Tue Jun 12 18:25:28 2001
8640
* Motif Tools Library, Version 3.1
8643
* Written by David Flanagan.
8644
* Copyright (c) 1992-2001 by David Flanagan.
8645
* All Rights Reserved. See the file COPYRIGHT for details.
8646
* This is open source software. See the file LICENSE for details.
8647
* There is no warranty for this software. See NO_WARRANTY for details.
8650
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8651
! * Initial checkin.
8653
! * Revision 1.1 2001/06/21 17:47:46 andre
8654
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8655
! * kerberos compilation support
8660
#ifndef _XmtQuarksP_h
8661
#define _XmtQuarksP_h
8664
* Motif Tools Library, Version 3.1
8667
* Written by David Flanagan.
8668
* Copyright (c) 1992-2001 by David Flanagan.
8669
* All Rights Reserved. See the file COPYRIGHT for details.
8670
* This is open source software. See the file LICENSE for details.
8671
* There is no warranty for this software. See NO_WARRANTY for details.
8674
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8675
! * Initial checkin.
8677
! * Revision 1.1 2001/06/21 17:47:46 andre
8678
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8679
! * kerberos compilation support
8681
! * Revision 1.2 2001/06/12 16:25:28 andre
8682
! * *** empty log message ***
8687
#ifndef _XmtQuarksP_h
8688
#define _XmtQuarksP_h
8689
diff -bpcBNC 5 Xmt310/Xmt/RGBtoHSL.c Xmt310.ge/Xmt/RGBtoHSL.c
8690
*** Xmt310/Xmt/RGBtoHSL.c Sun Feb 4 22:46:56 2001
8691
--- Xmt310.ge/Xmt/RGBtoHSL.c Tue Jun 12 18:25:28 2001
8695
* Motif Tools Library, Version 3.1
8698
* Written by David Flanagan.
8699
* Copyright (c) 1992-2001 by David Flanagan.
8700
* All Rights Reserved. See the file COPYRIGHT for details.
8701
* This is open source software. See the file LICENSE for details.
8702
* There is no warranty for this software. See NO_WARRANTY for details.
8705
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8706
! * Initial checkin.
8708
! * Revision 1.1 2001/06/21 17:47:46 andre
8709
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8710
! * kerberos compilation support
8716
* RGB <--> HSL conversions were modified from code with the
8717
* following attributions;
8721
* Motif Tools Library, Version 3.1
8724
* Written by David Flanagan.
8725
* Copyright (c) 1992-2001 by David Flanagan.
8726
* All Rights Reserved. See the file COPYRIGHT for details.
8727
* This is open source software. See the file LICENSE for details.
8728
* There is no warranty for this software. See NO_WARRANTY for details.
8731
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8732
! * Initial checkin.
8734
! * Revision 1.1 2001/06/21 17:47:46 andre
8735
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8736
! * kerberos compilation support
8738
! * Revision 1.2 2001/06/12 16:25:28 andre
8739
! * *** empty log message ***
8744
+ #include <Xmt/Xmt.h>
8747
* RGB <--> HSL conversions were modified from code with the
8748
* following attributions;
8750
diff -bpcBNC 5 Xmt310/Xmt/Screen.c Xmt310.ge/Xmt/Screen.c
8751
*** Xmt310/Xmt/Screen.c Sun Feb 4 22:47:00 2001
8752
--- Xmt310.ge/Xmt/Screen.c Tue Jun 12 18:25:28 2001
8756
* Motif Tools Library, Version 3.1
8759
* Written by David Flanagan.
8760
* Copyright (c) 1992-2001 by David Flanagan.
8761
* All Rights Reserved. See the file COPYRIGHT for details.
8762
* This is open source software. See the file LICENSE for details.
8763
* There is no warranty for this software. See NO_WARRANTY for details.
8766
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8767
! * Initial checkin.
8769
! * Revision 1.1 2001/06/21 17:47:46 andre
8770
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8771
! * kerberos compilation support
8776
#include <Xmt/Xmt.h>
8777
#include <Xmt/ScreenP.h>
8780
* Motif Tools Library, Version 3.1
8783
* Written by David Flanagan.
8784
* Copyright (c) 1992-2001 by David Flanagan.
8785
* All Rights Reserved. See the file COPYRIGHT for details.
8786
* This is open source software. See the file LICENSE for details.
8787
* There is no warranty for this software. See NO_WARRANTY for details.
8790
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8791
! * Initial checkin.
8793
! * Revision 1.1 2001/06/21 17:47:46 andre
8794
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8795
! * kerberos compilation support
8797
! * Revision 1.2 2001/06/12 16:25:28 andre
8798
! * *** empty log message ***
8803
#include <Xmt/Xmt.h>
8804
#include <Xmt/ScreenP.h>
8805
diff -bpcBNC 5 Xmt310/Xmt/ScreenP.h Xmt310.ge/Xmt/ScreenP.h
8806
*** Xmt310/Xmt/ScreenP.h Sun Feb 4 22:47:06 2001
8807
--- Xmt310.ge/Xmt/ScreenP.h Tue Jun 12 18:25:28 2001
8811
* Motif Tools Library, Version 3.1
8814
* Written by David Flanagan.
8815
* Copyright (c) 1992-2001 by David Flanagan.
8816
* All Rights Reserved. See the file COPYRIGHT for details.
8817
* This is open source software. See the file LICENSE for details.
8818
* There is no warranty for this software. See NO_WARRANTY for details.
8821
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8822
! * Initial checkin.
8824
! * Revision 1.1 2001/06/21 17:47:46 andre
8825
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8826
! * kerberos compilation support
8831
#ifndef _XmtScreenP_h
8832
#define _XmtScreenP_h
8835
* Motif Tools Library, Version 3.1
8838
* Written by David Flanagan.
8839
* Copyright (c) 1992-2001 by David Flanagan.
8840
* All Rights Reserved. See the file COPYRIGHT for details.
8841
* This is open source software. See the file LICENSE for details.
8842
* There is no warranty for this software. See NO_WARRANTY for details.
8845
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8846
! * Initial checkin.
8848
! * Revision 1.1 2001/06/21 17:47:46 andre
8849
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8850
! * kerberos compilation support
8852
! * Revision 1.2 2001/06/12 16:25:28 andre
8853
! * *** empty log message ***
8858
#ifndef _XmtScreenP_h
8859
#define _XmtScreenP_h
8860
*************** typedef struct {
8863
Widget working_dialog;
8864
Widget string_dialog; /* dialog for XmtAskForString() */
8865
Widget boolean_dialog; /* dialog for XmtAskForBoolean() */
8866
Widget file_dialog; /* dialog for by XmtAskForFilename() */
8867
Widget item_dialog; /* dialog for XmtAskForItem[Number]() */
8868
+ /* _AA added XmtAskForTime(), XmtAskForMemory() */
8869
+ Widget time_dialog;
8870
+ Widget memory_dialog;
8871
+ Widget items_dialog;
8872
+ /******_AA******************/
8873
struct { /* internal widgets of the boolean dialog */
8874
Widget icon, message;
8875
Widget yes, no, cancel, help;
8876
Boolean show_cancel_button;
8877
} boolean_internals;
8878
diff -bpcBNC 5 Xmt310/Xmt/SetValue.c Xmt310.ge/Xmt/SetValue.c
8879
*** Xmt310/Xmt/SetValue.c Sun Feb 4 22:47:08 2001
8880
--- Xmt310.ge/Xmt/SetValue.c Tue Jun 12 18:25:28 2001
8884
* Motif Tools Library, Version 3.1
8887
* Written by David Flanagan.
8888
* Copyright (c) 1992-2001 by David Flanagan.
8889
* All Rights Reserved. See the file COPYRIGHT for details.
8890
* This is open source software. See the file LICENSE for details.
8891
* There is no warranty for this software. See NO_WARRANTY for details.
8894
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8895
! * Initial checkin.
8897
! * Revision 1.1 2001/06/21 17:47:46 andre
8898
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8899
! * kerberos compilation support
8904
#include <Xmt/Xmt.h>
8905
#include <Xmt/SetValue.h>
8908
* Motif Tools Library, Version 3.1
8911
* Written by David Flanagan.
8912
* Copyright (c) 1992-2001 by David Flanagan.
8913
* All Rights Reserved. See the file COPYRIGHT for details.
8914
* This is open source software. See the file LICENSE for details.
8915
* There is no warranty for this software. See NO_WARRANTY for details.
8918
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8919
! * Initial checkin.
8921
! * Revision 1.1 2001/06/21 17:47:46 andre
8922
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8923
! * kerberos compilation support
8925
! * Revision 1.2 2001/06/12 16:25:28 andre
8926
! * *** empty log message ***
8931
#include <Xmt/Xmt.h>
8932
#include <Xmt/SetValue.h>
8933
diff -bpcBNC 5 Xmt310/Xmt/SetValue.h Xmt310.ge/Xmt/SetValue.h
8934
*** Xmt310/Xmt/SetValue.h Sun Feb 4 22:47:12 2001
8935
--- Xmt310.ge/Xmt/SetValue.h Tue Jun 12 18:25:28 2001
8939
* Motif Tools Library, Version 3.1
8942
* Written by David Flanagan.
8943
* Copyright (c) 1992-2001 by David Flanagan.
8944
* All Rights Reserved. See the file COPYRIGHT for details.
8945
* This is open source software. See the file LICENSE for details.
8946
* There is no warranty for this software. See NO_WARRANTY for details.
8949
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8950
! * Initial checkin.
8952
! * Revision 1.1 2001/06/21 17:47:46 andre
8953
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8954
! * kerberos compilation support
8959
#ifndef _XmtSetValue_h
8960
#define _XmtSetValue_h
8963
* Motif Tools Library, Version 3.1
8966
* Written by David Flanagan.
8967
* Copyright (c) 1992-2001 by David Flanagan.
8968
* All Rights Reserved. See the file COPYRIGHT for details.
8969
* This is open source software. See the file LICENSE for details.
8970
* There is no warranty for this software. See NO_WARRANTY for details.
8973
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8974
! * Initial checkin.
8976
! * Revision 1.1 2001/06/21 17:47:46 andre
8977
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
8978
! * kerberos compilation support
8980
! * Revision 1.2 2001/06/12 16:25:28 andre
8981
! * *** empty log message ***
8986
#ifndef _XmtSetValue_h
8987
#define _XmtSetValue_h
8988
diff -bpcBNC 5 Xmt310/Xmt/ShellUtil.c Xmt310.ge/Xmt/ShellUtil.c
8989
*** Xmt310/Xmt/ShellUtil.c Sun Feb 4 22:47:16 2001
8990
--- Xmt310.ge/Xmt/ShellUtil.c Tue Jun 12 18:25:28 2001
8994
* Motif Tools Library, Version 3.1
8997
* Written by David Flanagan.
8998
* Copyright (c) 1992-2001 by David Flanagan.
8999
* All Rights Reserved. See the file COPYRIGHT for details.
9000
* This is open source software. See the file LICENSE for details.
9001
* There is no warranty for this software. See NO_WARRANTY for details.
9004
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9005
! * Initial checkin.
9007
! * Revision 1.1 2001/06/21 17:47:46 andre
9008
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9009
! * kerberos compilation support
9014
#include <Xmt/Xmt.h>
9015
#include <Xmt/ConvertersP.h>
9018
* Motif Tools Library, Version 3.1
9021
* Written by David Flanagan.
9022
* Copyright (c) 1992-2001 by David Flanagan.
9023
* All Rights Reserved. See the file COPYRIGHT for details.
9024
* This is open source software. See the file LICENSE for details.
9025
* There is no warranty for this software. See NO_WARRANTY for details.
9028
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9029
! * Initial checkin.
9031
! * Revision 1.1 2001/06/21 17:47:46 andre
9032
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9033
! * kerberos compilation support
9035
! * Revision 1.2 2001/06/12 16:25:28 andre
9036
! * *** empty log message ***
9041
#include <Xmt/Xmt.h>
9042
#include <Xmt/ConvertersP.h>
9043
*************** Widget shell;
9046
XtCallbackProc proc;
9050
! static Atom wm_delete_window;
9052
if (!wm_delete_window) {
9053
wm_delete_window = XmInternAtom(XtDisplay(shell),
9054
"WM_DELETE_WINDOW", False);
9058
XtCallbackProc proc;
9062
! static Atom wm_delete_window = 0;
9064
if (!wm_delete_window) {
9065
wm_delete_window = XmInternAtom(XtDisplay(shell),
9066
"WM_DELETE_WINDOW", False);
9068
*************** typedef enum {
9070
#define XmtNfocusStyle "focusStyle"
9071
#define XmtCFocusStyle "FocusStyle"
9072
#define XmtRFocusStyle "FocusStyle"
9074
static String focus_names[] = { "focus", "move", "none", "warp"};
9075
! static int focus_values[] = {FocusSetInput, FocusMove, FocusNone, FocusWarp};
9077
static XtResource focus_resources[] = {
9078
{XmtNfocusStyle, XmtCFocusStyle, XmtRFocusStyle,
9079
sizeof(FocusStyle), 0, XmtRFocusStyle, (XtPointer) FocusStyleUnset}
9082
#define XmtNfocusStyle "focusStyle"
9083
#define XmtCFocusStyle "FocusStyle"
9084
#define XmtRFocusStyle "FocusStyle"
9086
static String focus_names[] = { "focus", "move", "none", "warp"};
9087
! static Cardinal focus_values[] = {FocusSetInput, FocusMove, FocusNone, FocusWarp};
9089
static XtResource focus_resources[] = {
9090
{XmtNfocusStyle, XmtCFocusStyle, XmtRFocusStyle,
9091
sizeof(FocusStyle), 0, XmtRFocusStyle, (XtPointer) FocusStyleUnset}
9093
diff -bpcBNC 5 Xmt310/Xmt/ShellUtil.h Xmt310.ge/Xmt/ShellUtil.h
9094
*** Xmt310/Xmt/ShellUtil.h Sun Feb 4 22:47:18 2001
9095
--- Xmt310.ge/Xmt/ShellUtil.h Tue Jun 12 18:25:28 2001
9099
* Motif Tools Library, Version 3.1
9102
* Written by David Flanagan.
9103
* Copyright (c) 1992-2001 by David Flanagan.
9104
* All Rights Reserved. See the file COPYRIGHT for details.
9105
* This is open source software. See the file LICENSE for details.
9106
* There is no warranty for this software. See NO_WARRANTY for details.
9109
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9110
! * Initial checkin.
9112
! * Revision 1.1 2001/06/21 17:47:46 andre
9113
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9114
! * kerberos compilation support
9119
#ifndef _XmtShellUtil_h
9120
#define _XmtShellUtil_h
9123
* Motif Tools Library, Version 3.1
9126
* Written by David Flanagan.
9127
* Copyright (c) 1992-2001 by David Flanagan.
9128
* All Rights Reserved. See the file COPYRIGHT for details.
9129
* This is open source software. See the file LICENSE for details.
9130
* There is no warranty for this software. See NO_WARRANTY for details.
9133
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9134
! * Initial checkin.
9136
! * Revision 1.1 2001/06/21 17:47:46 andre
9137
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9138
! * kerberos compilation support
9140
! * Revision 1.2 2001/06/12 16:25:28 andre
9141
! * *** empty log message ***
9146
#ifndef _XmtShellUtil_h
9147
#define _XmtShellUtil_h
9148
diff -bpcBNC 5 Xmt310/Xmt/StringLstCvt.c Xmt310.ge/Xmt/StringLstCvt.c
9149
*** Xmt310/Xmt/StringLstCvt.c Sun Feb 4 22:47:22 2001
9150
--- Xmt310.ge/Xmt/StringLstCvt.c Tue Jun 12 18:25:28 2001
9154
* Motif Tools Library, Version 3.1
9157
* Written by David Flanagan.
9158
* Copyright (c) 1992-2001 by David Flanagan.
9159
* All Rights Reserved. See the file COPYRIGHT for details.
9160
* This is open source software. See the file LICENSE for details.
9161
* There is no warranty for this software. See NO_WARRANTY for details.
9164
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9165
! * Initial checkin.
9167
! * Revision 1.1 2001/06/21 17:47:46 andre
9168
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9169
! * kerberos compilation support
9175
#include <Xmt/Xmt.h>
9178
* Motif Tools Library, Version 3.1
9181
* Written by David Flanagan.
9182
* Copyright (c) 1992-2001 by David Flanagan.
9183
* All Rights Reserved. See the file COPYRIGHT for details.
9184
* This is open source software. See the file LICENSE for details.
9185
* There is no warranty for this software. See NO_WARRANTY for details.
9188
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9189
! * Initial checkin.
9191
! * Revision 1.1 2001/06/21 17:47:46 andre
9192
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9193
! * kerberos compilation support
9195
! * Revision 1.2 2001/06/12 16:25:28 andre
9196
! * *** empty log message ***
9202
#include <Xmt/Xmt.h>
9203
diff -bpcBNC 5 Xmt310/Xmt/Symbols.c Xmt310.ge/Xmt/Symbols.c
9204
*** Xmt310/Xmt/Symbols.c Sun Feb 4 22:47:28 2001
9205
--- Xmt310.ge/Xmt/Symbols.c Tue Jun 12 18:25:28 2001
9209
* Motif Tools Library, Version 3.1
9212
* Written by David Flanagan.
9213
* Copyright (c) 1992-2001 by David Flanagan.
9214
* All Rights Reserved. See the file COPYRIGHT for details.
9215
* This is open source software. See the file LICENSE for details.
9216
* There is no warranty for this software. See NO_WARRANTY for details.
9219
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9220
! * Initial checkin.
9222
! * Revision 1.1 2001/06/21 17:47:46 andre
9223
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9224
! * kerberos compilation support
9229
#include <Xmt/Xmt.h>
9230
#include <Xmt/Symbols.h>
9231
#include <Xmt/Hash.h>
9232
#include <Xmt/QuarksP.h>
9233
#include <X11/IntrinsicP.h>
9236
* values for the XmtSymbolRec mode field.
9238
#define XmtSymbolABSOLUTE 1
9239
#define XmtSymbolIMMEDIATE 2
9242
* Motif Tools Library, Version 3.1
9245
* Written by David Flanagan.
9246
* Copyright (c) 1992-2001 by David Flanagan.
9247
* All Rights Reserved. See the file COPYRIGHT for details.
9248
* This is open source software. See the file LICENSE for details.
9249
* There is no warranty for this software. See NO_WARRANTY for details.
9252
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9253
! * Initial checkin.
9255
! * Revision 1.1 2001/06/21 17:47:46 andre
9256
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9257
! * kerberos compilation support
9259
! * Revision 1.2 2001/06/12 16:25:28 andre
9260
! * *** empty log message ***
9265
#include <Xmt/Xmt.h>
9266
#include <Xmt/Symbols.h>
9267
#include <Xmt/Hash.h>
9268
#include <Xmt/QuarksP.h>
9269
#include <X11/IntrinsicP.h>
9271
+ #if NeedFunctionPrototypes
9272
+ void _XtCopyToArg(XtPointer, XtArgVal *, Cardinal);
9273
+ void _XtCopyFromArg(XtArgVal, XtPointer, Cardinal);
9275
+ void _XtCopyToArg();
9276
+ void _XtCopyFromArg();
9280
* values for the XmtSymbolRec mode field.
9282
#define XmtSymbolABSOLUTE 1
9283
#define XmtSymbolIMMEDIATE 2
9284
*************** void XmtSymbolSetValue(s, value)
9290
XmtSymbolCallbackRec *p;
9291
- extern void _XtCopyFromArg();
9295
* Special case for XmtRBuffer type symbols.
9296
* we copy the NULL-terminated string, and warn if it is too
9298
*************** Cardinal size;
9301
XrmQuark typeq = XrmStringToQuark(type);
9303
XtArgVal converted_value;
9305
- extern void _XtCopyToArg();
9308
* if the types match, just call XmtSymbolSetValue().
9309
* if the symbol is a buffer, and the value a string, that is a match.
9312
*************** void XmtSymbolGetValue(XmtSymbol s, XtAr
9314
void XmtSymbolGetValue(s, valuep)
9319
- extern void _XtCopyToArg();
9322
* Special case for XmtRBuffer type symbols.
9323
* Just return the address.
9326
diff -bpcBNC 5 Xmt310/Xmt/Symbols.h Xmt310.ge/Xmt/Symbols.h
9327
*** Xmt310/Xmt/Symbols.h Sun Feb 4 22:47:30 2001
9328
--- Xmt310.ge/Xmt/Symbols.h Tue Jun 12 18:25:28 2001
9332
* Motif Tools Library, Version 3.1
9335
* Written by David Flanagan.
9336
* Copyright (c) 1992-2001 by David Flanagan.
9337
* All Rights Reserved. See the file COPYRIGHT for details.
9338
* This is open source software. See the file LICENSE for details.
9339
* There is no warranty for this software. See NO_WARRANTY for details.
9342
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9343
! * Initial checkin.
9345
! * Revision 1.1 2001/06/21 17:47:46 andre
9346
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9347
! * kerberos compilation support
9352
#ifndef _XmtSymbols_h
9353
#define _XmtSymbols_h
9356
* Motif Tools Library, Version 3.1
9359
* Written by David Flanagan.
9360
* Copyright (c) 1992-2001 by David Flanagan.
9361
* All Rights Reserved. See the file COPYRIGHT for details.
9362
* This is open source software. See the file LICENSE for details.
9363
* There is no warranty for this software. See NO_WARRANTY for details.
9366
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9367
! * Initial checkin.
9369
! * Revision 1.1 2001/06/21 17:47:46 andre
9370
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9371
! * kerberos compilation support
9373
! * Revision 1.2 2001/06/12 16:25:28 andre
9374
! * *** empty log message ***
9379
#ifndef _XmtSymbols_h
9380
#define _XmtSymbols_h
9381
diff -bpcBNC 5 Xmt310/Xmt/Template.c Xmt310.ge/Xmt/Template.c
9382
*** Xmt310/Xmt/Template.c Sun Feb 4 22:47:34 2001
9383
--- Xmt310.ge/Xmt/Template.c Tue Jun 12 18:25:28 2001
9387
* Motif Tools Library, Version 3.1
9390
* Written by David Flanagan.
9391
* Copyright (c) 1992-2001 by David Flanagan.
9392
* All Rights Reserved. See the file COPYRIGHT for details.
9393
* This is open source software. See the file LICENSE for details.
9394
* There is no warranty for this software. See NO_WARRANTY for details.
9397
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9398
! * Initial checkin.
9400
! * Revision 1.1 2001/06/21 17:47:46 andre
9401
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9402
! * kerberos compilation support
9408
#include <Xmt/Xmt.h>
9411
* Motif Tools Library, Version 3.1
9414
* Written by David Flanagan.
9415
* Copyright (c) 1992-2001 by David Flanagan.
9416
* All Rights Reserved. See the file COPYRIGHT for details.
9417
* This is open source software. See the file LICENSE for details.
9418
* There is no warranty for this software. See NO_WARRANTY for details.
9421
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9422
! * Initial checkin.
9424
! * Revision 1.1 2001/06/21 17:47:46 andre
9425
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9426
! * kerberos compilation support
9428
! * Revision 1.2 2001/06/12 16:25:28 andre
9429
! * *** empty log message ***
9435
#include <Xmt/Xmt.h>
9436
diff -bpcBNC 5 Xmt310/Xmt/Template.h Xmt310.ge/Xmt/Template.h
9437
*** Xmt310/Xmt/Template.h Sun Feb 4 22:47:38 2001
9438
--- Xmt310.ge/Xmt/Template.h Tue Jun 12 18:25:28 2001
9442
* Motif Tools Library, Version 3.1
9445
* Written by David Flanagan.
9446
* Copyright (c) 1992-2001 by David Flanagan.
9447
* All Rights Reserved. See the file COPYRIGHT for details.
9448
* This is open source software. See the file LICENSE for details.
9449
* There is no warranty for this software. See NO_WARRANTY for details.
9452
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9453
! * Initial checkin.
9455
! * Revision 1.1 2001/06/21 17:47:46 andre
9456
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9457
! * kerberos compilation support
9462
#ifndef _XmtTemplate_h
9463
#define _XmtTemplate_h
9466
* Motif Tools Library, Version 3.1
9469
* Written by David Flanagan.
9470
* Copyright (c) 1992-2001 by David Flanagan.
9471
* All Rights Reserved. See the file COPYRIGHT for details.
9472
* This is open source software. See the file LICENSE for details.
9473
* There is no warranty for this software. See NO_WARRANTY for details.
9476
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9477
! * Initial checkin.
9479
! * Revision 1.1 2001/06/21 17:47:46 andre
9480
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9481
! * kerberos compilation support
9483
! * Revision 1.2 2001/06/12 16:25:28 andre
9484
! * *** empty log message ***
9489
#ifndef _XmtTemplate_h
9490
#define _XmtTemplate_h
9491
diff -bpcBNC 5 Xmt310/Xmt/UnixProcs.c Xmt310.ge/Xmt/UnixProcs.c
9492
*** Xmt310/Xmt/UnixProcs.c Sun Feb 4 22:47:42 2001
9493
--- Xmt310.ge/Xmt/UnixProcs.c Tue Jun 12 18:25:28 2001
9497
* Motif Tools Library, Version 3.1
9500
* Written by David Flanagan.
9501
* Copyright (c) 1992-2001 by David Flanagan.
9502
* All Rights Reserved. See the file COPYRIGHT for details.
9503
* This is open source software. See the file LICENSE for details.
9504
* There is no warranty for this software. See NO_WARRANTY for details.
9507
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9508
! * Initial checkin.
9510
! * Revision 1.1 2001/06/21 17:47:46 andre
9511
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9512
! * kerberos compilation support
9518
#include <Xmt/Xmt.h>
9519
#include <Xmt/Procedures.h>
9521
#ifndef X_NOT_STDC_ENV
9529
- /* these aren't declared in SunOS 4.1.1 */
9530
- extern int puts();
9531
- extern int system();
9534
static XmtProcedureInfo unix_procedures[] = {
9535
{"puts", (XmtProcedure)puts, {XtRString}},
9536
{"system", (XmtProcedure)system, {XtRString}},
9537
{"exit", (XmtProcedure)exit, {XtRInt}},
9540
* Motif Tools Library, Version 3.1
9543
* Written by David Flanagan.
9544
* Copyright (c) 1992-2001 by David Flanagan.
9545
* All Rights Reserved. See the file COPYRIGHT for details.
9546
* This is open source software. See the file LICENSE for details.
9547
* There is no warranty for this software. See NO_WARRANTY for details.
9550
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9551
! * Initial checkin.
9553
! * Revision 1.1 2001/06/21 17:47:46 andre
9554
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9555
! * kerberos compilation support
9557
! * Revision 1.2 2001/06/12 16:25:28 andre
9558
! * *** empty log message ***
9564
+ #include <X11/Xos.h>
9565
#include <Xmt/Xmt.h>
9566
#include <Xmt/Procedures.h>
9568
#ifndef X_NOT_STDC_ENV
9576
static XmtProcedureInfo unix_procedures[] = {
9577
{"puts", (XmtProcedure)puts, {XtRString}},
9578
{"system", (XmtProcedure)system, {XtRString}},
9579
{"exit", (XmtProcedure)exit, {XtRInt}},
9580
diff -bpcBNC 5 Xmt310/Xmt/Util.h Xmt310.ge/Xmt/Util.h
9581
*** Xmt310/Xmt/Util.h Sun Feb 4 22:47:48 2001
9582
--- Xmt310.ge/Xmt/Util.h Tue Jun 12 18:25:28 2001
9586
* Motif Tools Library, Version 3.1
9589
* Written by David Flanagan.
9590
* Copyright (c) 1992-2001 by David Flanagan.
9591
* All Rights Reserved. See the file COPYRIGHT for details.
9592
* This is open source software. See the file LICENSE for details.
9593
* There is no warranty for this software. See NO_WARRANTY for details.
9596
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9597
! * Initial checkin.
9599
! * Revision 1.1 2001/06/21 17:47:46 andre
9600
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9601
! * kerberos compilation support
9610
* Motif Tools Library, Version 3.1
9613
* Written by David Flanagan.
9614
* Copyright (c) 1992-2001 by David Flanagan.
9615
* All Rights Reserved. See the file COPYRIGHT for details.
9616
* This is open source software. See the file LICENSE for details.
9617
* There is no warranty for this software. See NO_WARRANTY for details.
9620
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9621
! * Initial checkin.
9623
! * Revision 1.1 2001/06/21 17:47:46 andre
9624
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9625
! * kerberos compilation support
9627
! * Revision 1.2 2001/06/12 16:25:28 andre
9628
! * *** empty log message ***
9635
*************** extern Widget XmtGetApplicationShell(Wid
9638
extern Widget XmtGetTopLevelShell(Widget) gcc_const_attribute;
9639
extern Widget XmtGetShell(Widget) gcc_const_attribute;
9640
extern String XmtFindFile(Widget, StringConst, StringConst,
9641
StringConst, StringConst, StringConst, int);
9642
extern XmString XmtCreateXmString(StringConst);
9643
+ extern XmString XmtCreateLocalizedXmString(Widget, StringConst);
9644
extern Widget XmtNameToWidget(Widget, StringConst);
9645
extern void XmtWaitUntilMapped(Widget);
9646
extern void XmtDisplayBusyCursor(Widget);
9647
extern void XmtDisplayDefaultCursor(Widget);
9648
extern void XmtDisplayCursor(Widget, Cursor);
9649
*************** extern void XmtRaiseShell(Widget);
9652
extern void XmtLowerShell(Widget);
9653
extern void XmtFocusShell(Widget);
9654
extern void XmtSetFocusToShell(Widget);
9655
extern void XmtWarpToShell(Widget);
9656
extern void XmtMoveShellToPointer(Widget);
9657
+ extern String _XmtLocalize(Screen* , StringConst, StringConst, StringConst);
9658
extern String XmtLocalize(Widget, StringConst, StringConst);
9659
extern String XmtLocalizeWidget(Widget, StringConst, StringConst);
9660
extern String XmtLocalize2(Widget, StringConst, StringConst, StringConst);
9661
extern Visual *XmtGetVisual(Widget);
9662
extern void XmtPatchVisualInheritance(void);
9663
*************** extern void XmtBlock();
9666
extern Widget XmtGetApplicationShell();
9667
extern Widget XmtGetTopLevelShell();
9668
extern Widget XmtGetShell();
9669
extern String XmtFindFile();
9670
extern XmString XmtCreateXmString();
9671
+ extern XmString XmtCreateLocalizedXmString();
9672
extern Widget XmtNameToWidget();
9673
extern void XmtWaitUntilMapped();
9674
extern void XmtDisplayBusyCursor();
9675
extern void XmtDisplayDefaultCursor();
9676
extern void XmtDisplayCursor();
9677
*************** extern void XmtRaiseShell();
9680
extern void XmtLowerShell();
9681
extern void XmtFocusShell();
9682
extern void XmtSetFocusToShell();
9683
extern void XmtWarpToShell();
9684
extern void XmtMoveShellToPointer();
9685
+ extern String _XmtLocalize();
9686
extern String XmtLocalize();
9687
extern String XmtLocalizeWidget();
9688
extern String XmtLocalize2();
9689
extern Visual *XmtGetVisual();
9690
extern void XmtPatchVisualInheritance();
9691
diff -bpcBNC 5 Xmt310/Xmt/Visual.c Xmt310.ge/Xmt/Visual.c
9692
*** Xmt310/Xmt/Visual.c Sun Feb 4 22:47:52 2001
9693
--- Xmt310.ge/Xmt/Visual.c Tue Jun 12 18:25:28 2001
9697
* Motif Tools Library, Version 3.1
9700
* Written by David Flanagan.
9701
* Copyright (c) 1992-2001 by David Flanagan.
9702
* All Rights Reserved. See the file COPYRIGHT for details.
9703
* This is open source software. See the file LICENSE for details.
9704
* There is no warranty for this software. See NO_WARRANTY for details.
9707
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9708
! * Initial checkin.
9710
! * Revision 1.1 2001/06/21 17:47:46 andre
9711
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9712
! * kerberos compilation support
9717
#include <Xmt/Xmt.h>
9718
#include <X11/IntrinsicP.h>
9721
* Motif Tools Library, Version 3.1
9724
* Written by David Flanagan.
9725
* Copyright (c) 1992-2001 by David Flanagan.
9726
* All Rights Reserved. See the file COPYRIGHT for details.
9727
* This is open source software. See the file LICENSE for details.
9728
* There is no warranty for this software. See NO_WARRANTY for details.
9731
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9732
! * Initial checkin.
9734
! * Revision 1.1 2001/06/21 17:47:46 andre
9735
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9736
! * kerberos compilation support
9738
! * Revision 1.2 2001/06/12 16:25:28 andre
9739
! * *** empty log message ***
9744
#include <Xmt/Xmt.h>
9745
#include <X11/IntrinsicP.h>
9746
diff -bpcBNC 5 Xmt310/Xmt/Wait.c Xmt310.ge/Xmt/Wait.c
9747
*** Xmt310/Xmt/Wait.c Sun Feb 4 22:47:56 2001
9748
--- Xmt310.ge/Xmt/Wait.c Tue Jun 12 18:25:28 2001
9752
* Motif Tools Library, Version 3.1
9755
* Written by David Flanagan.
9756
* Copyright (c) 1992-2001 by David Flanagan.
9757
* All Rights Reserved. See the file COPYRIGHT for details.
9758
* This is open source software. See the file LICENSE for details.
9759
* There is no warranty for this software. See NO_WARRANTY for details.
9762
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9763
! * Initial checkin.
9765
! * Revision 1.1 2001/06/21 17:47:46 andre
9766
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9767
! * kerberos compilation support
9772
#include <Xmt/Xmt.h>
9773
#include <Xmt/Util.h>
9776
* Motif Tools Library, Version 3.1
9779
* Written by David Flanagan.
9780
* Copyright (c) 1992-2001 by David Flanagan.
9781
* All Rights Reserved. See the file COPYRIGHT for details.
9782
* This is open source software. See the file LICENSE for details.
9783
* There is no warranty for this software. See NO_WARRANTY for details.
9786
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9787
! * Initial checkin.
9789
! * Revision 1.1 2001/06/21 17:47:46 andre
9790
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9791
! * kerberos compilation support
9793
! * Revision 1.2 2001/06/12 16:25:28 andre
9794
! * *** empty log message ***
9799
#include <Xmt/Xmt.h>
9800
#include <Xmt/Util.h>
9801
diff -bpcBNC 5 Xmt310/Xmt/Warning.c Xmt310.ge/Xmt/Warning.c
9802
*** Xmt310/Xmt/Warning.c Sun Feb 4 22:47:58 2001
9803
--- Xmt310.ge/Xmt/Warning.c Tue Jun 12 18:25:28 2001
9807
* Motif Tools Library, Version 3.1
9810
* Written by David Flanagan.
9811
* Copyright (c) 1992-2001 by David Flanagan.
9812
* All Rights Reserved. See the file COPYRIGHT for details.
9813
* This is open source software. See the file LICENSE for details.
9814
* There is no warranty for this software. See NO_WARRANTY for details.
9817
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9818
! * Initial checkin.
9820
! * Revision 1.1 2001/06/21 17:47:46 andre
9821
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9822
! * kerberos compilation support
9827
#include <Xmt/Xmt.h>
9831
* Motif Tools Library, Version 3.1
9834
* Written by David Flanagan.
9835
* Copyright (c) 1992-2001 by David Flanagan.
9836
* All Rights Reserved. See the file COPYRIGHT for details.
9837
* This is open source software. See the file LICENSE for details.
9838
* There is no warranty for this software. See NO_WARRANTY for details.
9841
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9842
! * Initial checkin.
9844
! * Revision 1.1 2001/06/21 17:47:46 andre
9845
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9846
! * kerberos compilation support
9848
! * Revision 1.2 2001/06/12 16:25:28 andre
9849
! * *** empty log message ***
9854
#include <Xmt/Xmt.h>
9856
diff -bpcBNC 5 Xmt310/Xmt/WidgetCvt.c Xmt310.ge/Xmt/WidgetCvt.c
9857
*** Xmt310/Xmt/WidgetCvt.c Sun Feb 4 22:48:08 2001
9858
--- Xmt310.ge/Xmt/WidgetCvt.c Tue Jun 12 18:25:28 2001
9862
* Motif Tools Library, Version 3.1
9865
* Written by David Flanagan.
9866
* Copyright (c) 1992-2001 by David Flanagan.
9867
* All Rights Reserved. See the file COPYRIGHT for details.
9868
* This is open source software. See the file LICENSE for details.
9869
* There is no warranty for this software. See NO_WARRANTY for details.
9872
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9873
! * Initial checkin.
9875
! * Revision 1.1 2001/06/21 17:47:46 andre
9876
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9877
! * kerberos compilation support
9882
#include <Xmt/Xmt.h>
9883
#include <Xmt/ConvertersP.h>
9886
* Motif Tools Library, Version 3.1
9889
* Written by David Flanagan.
9890
* Copyright (c) 1992-2001 by David Flanagan.
9891
* All Rights Reserved. See the file COPYRIGHT for details.
9892
* This is open source software. See the file LICENSE for details.
9893
* There is no warranty for this software. See NO_WARRANTY for details.
9896
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9897
! * Initial checkin.
9899
! * Revision 1.1 2001/06/21 17:47:46 andre
9900
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9901
! * kerberos compilation support
9903
! * Revision 1.2 2001/06/12 16:25:28 andre
9904
! * *** empty log message ***
9909
#include <Xmt/Xmt.h>
9910
#include <Xmt/ConvertersP.h>
9911
diff -bpcBNC 5 Xmt310/Xmt/WidgetType.c Xmt310.ge/Xmt/WidgetType.c
9912
*** Xmt310/Xmt/WidgetType.c Sun Feb 4 22:48:18 2001
9913
--- Xmt310.ge/Xmt/WidgetType.c Tue Jun 12 18:25:28 2001
9917
* Motif Tools Library, Version 3.1
9920
* Written by David Flanagan.
9921
* Copyright (c) 1992-2001 by David Flanagan.
9922
* All Rights Reserved. See the file COPYRIGHT for details.
9923
* This is open source software. See the file LICENSE for details.
9924
* There is no warranty for this software. See NO_WARRANTY for details.
9927
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9928
! * Initial checkin.
9930
! * Revision 1.1 2001/06/21 17:47:46 andre
9931
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9932
! * kerberos compilation support
9937
#include <Xmt/XmtP.h>
9938
#include <Xmt/WidgetType.h>
9941
* Motif Tools Library, Version 3.1
9944
* Written by David Flanagan.
9945
* Copyright (c) 1992-2001 by David Flanagan.
9946
* All Rights Reserved. See the file COPYRIGHT for details.
9947
* This is open source software. See the file LICENSE for details.
9948
* There is no warranty for this software. See NO_WARRANTY for details.
9951
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9952
! * Initial checkin.
9954
! * Revision 1.1 2001/06/21 17:47:46 andre
9955
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9956
! * kerberos compilation support
9958
! * Revision 1.2 2001/06/12 16:25:28 andre
9959
! * *** empty log message ***
9964
#include <Xmt/XmtP.h>
9965
#include <Xmt/WidgetType.h>
9966
diff -bpcBNC 5 Xmt310/Xmt/WidgetType.h Xmt310.ge/Xmt/WidgetType.h
9967
*** Xmt310/Xmt/WidgetType.h Sun Feb 4 22:48:24 2001
9968
--- Xmt310.ge/Xmt/WidgetType.h Tue Jun 12 18:25:28 2001
9972
* Motif Tools Library, Version 3.1
9975
* Written by David Flanagan.
9976
* Copyright (c) 1992-2001 by David Flanagan.
9977
* All Rights Reserved. See the file COPYRIGHT for details.
9978
* This is open source software. See the file LICENSE for details.
9979
* There is no warranty for this software. See NO_WARRANTY for details.
9982
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9983
! * Initial checkin.
9985
! * Revision 1.1 2001/06/21 17:47:46 andre
9986
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
9987
! * kerberos compilation support
9992
#ifndef _XmtWidgetType_h
9993
#define _XmtWidgetType_h
9996
* Motif Tools Library, Version 3.1
9999
* Written by David Flanagan.
10000
* Copyright (c) 1992-2001 by David Flanagan.
10001
* All Rights Reserved. See the file COPYRIGHT for details.
10002
* This is open source software. See the file LICENSE for details.
10003
* There is no warranty for this software. See NO_WARRANTY for details.
10006
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10007
! * Initial checkin.
10009
! * Revision 1.1 2001/06/21 17:47:46 andre
10010
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10011
! * kerberos compilation support
10013
! * Revision 1.2 2001/06/12 16:25:28 andre
10014
! * *** empty log message ***
10019
#ifndef _XmtWidgetType_h
10020
#define _XmtWidgetType_h
10021
*************** extern void XmtRegisterXmtWidgets(void);
10024
extern void XmtRegisterXmText(void);
10025
extern void XmtRegisterXmScrolledText(void);
10026
extern void XmtRegisterXmTextField(void);
10027
extern void XmtRegisterXmToggleButton(void);
10028
extern void XmtRegisterXmScale(void);
10029
+ #if XmVersion >= 2000
10030
+ extern void XmtRegisterXmComboBox(void);
10033
extern void XmtRegisterWidgetClass();
10034
extern void XmtRegisterWidgetConstructor();
10035
extern void XmtRegisterPopupClass();
10036
extern void XmtRegisterPopupConstructor();
10037
*************** extern void XmtRegisterXmtWidgets();
10040
extern void XmtRegisterXmText();
10041
extern void XmtRegisterXmScrolledText();
10042
extern void XmtRegisterXmTextField();
10043
extern void XmtRegisterXmToggleButton();
10044
extern void XmtRegisterXmScale();
10046
+ #if XmVersion >= 2000
10047
+ extern void XmtRegisterXmComboBox();
10052
#if NeedVarargsPrototypes
10053
extern void XmtVaRegisterWidgetClasses(StringConst, WidgetClass, ...);
10054
extern void XmtVaRegisterWidgetConstructors(StringConst,
10055
diff -bpcBNC 5 Xmt310/Xmt/Working.c Xmt310.ge/Xmt/Working.c
10056
*** Xmt310/Xmt/Working.c Sun Feb 4 22:48:30 2001
10057
--- Xmt310.ge/Xmt/Working.c Tue Jun 12 18:25:28 2001
10061
* Motif Tools Library, Version 3.1
10064
* Written by David Flanagan.
10065
* Copyright (c) 1992-2001 by David Flanagan.
10066
* All Rights Reserved. See the file COPYRIGHT for details.
10067
* This is open source software. See the file LICENSE for details.
10068
* There is no warranty for this software. See NO_WARRANTY for details.
10071
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10072
! * Initial checkin.
10074
! * Revision 1.1 2001/06/21 17:47:46 andre
10075
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10076
! * kerberos compilation support
10081
#include <Xmt/Xmt.h>
10082
#include <Xmt/WorkingBox.h>
10085
* Motif Tools Library, Version 3.1
10088
* Written by David Flanagan.
10089
* Copyright (c) 1992-2001 by David Flanagan.
10090
* All Rights Reserved. See the file COPYRIGHT for details.
10091
* This is open source software. See the file LICENSE for details.
10092
* There is no warranty for this software. See NO_WARRANTY for details.
10095
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10096
! * Initial checkin.
10098
! * Revision 1.1 2001/06/21 17:47:46 andre
10099
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10100
! * kerberos compilation support
10102
! * Revision 1.2 2001/06/12 16:25:28 andre
10103
! * *** empty log message ***
10108
#include <Xmt/Xmt.h>
10109
#include <Xmt/WorkingBox.h>
10110
*************** int show_button;
10112
data.scale_label = (String) scale_label_default;
10113
data.button_label = (String) button_label_default;
10114
data.title = default_title;
10117
! title = XmtCreateXmString(data.title);
10118
XtVaSetValues(info->working_dialog,
10119
XmtNmessage, data.message,
10120
XmtNscaleLabel, data.scale_label,
10121
XmtNbuttonLabel, data.button_label,
10122
XmNdialogTitle, title,
10124
data.scale_label = (String) scale_label_default;
10125
data.button_label = (String) button_label_default;
10126
data.title = default_title;
10129
! title = XmtCreateLocalizedXmString(w, data.title);
10130
XtVaSetValues(info->working_dialog,
10131
XmtNmessage, data.message,
10132
XmtNscaleLabel, data.scale_label,
10133
XmtNbuttonLabel, data.button_label,
10134
XmNdialogTitle, title,
10135
diff -bpcBNC 5 Xmt310/Xmt/WorkingBox.c Xmt310.ge/Xmt/WorkingBox.c
10136
*** Xmt310/Xmt/WorkingBox.c Sun Feb 4 22:48:34 2001
10137
--- Xmt310.ge/Xmt/WorkingBox.c Tue Jun 12 18:25:28 2001
10141
* Motif Tools Library, Version 3.1
10144
* Written by David Flanagan.
10145
* Copyright (c) 1992-2001 by David Flanagan.
10146
* All Rights Reserved. See the file COPYRIGHT for details.
10147
* This is open source software. See the file LICENSE for details.
10148
* There is no warranty for this software. See NO_WARRANTY for details.
10151
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10152
! * Initial checkin.
10154
! * Revision 1.1 2001/06/21 17:47:46 andre
10155
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10156
! * kerberos compilation support
10162
#include <Xmt/XmtP.h>
10165
* Motif Tools Library, Version 3.1
10168
* Written by David Flanagan.
10169
* Copyright (c) 1992-2001 by David Flanagan.
10170
* All Rights Reserved. See the file COPYRIGHT for details.
10171
* This is open source software. See the file LICENSE for details.
10172
* There is no warranty for this software. See NO_WARRANTY for details.
10175
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10176
! * Initial checkin.
10178
! * Revision 1.1 2001/06/21 17:47:46 andre
10179
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10180
! * kerberos compilation support
10182
! * Revision 1.2 2001/06/12 16:25:28 andre
10183
! * *** empty log message ***
10189
#include <Xmt/XmtP.h>
10190
*************** Cardinal *num_args;
10192
XmtLocalizeWidget(init, "Stop", "stop");
10195
* create the widgets
10197
! label = XmtCreateXmString(wd->working_box.message);
10198
pixmap = XtVaCreateManagedWidget("icon", xmtLayoutPixmapGadgetClass, init,
10199
XmtNpixmap, wd->working_box.icon,
10200
XmtNlayoutCaption, label,
10201
XmtNlayoutCaptionPosition, XmtLayoutRight,
10202
XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
10204
XmtLocalizeWidget(init, "Stop", "stop");
10207
* create the widgets
10209
! label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.message);
10210
pixmap = XtVaCreateManagedWidget("icon", xmtLayoutPixmapGadgetClass, init,
10211
XmtNpixmap, wd->working_box.icon,
10212
XmtNlayoutCaption, label,
10213
XmtNlayoutCaptionPosition, XmtLayoutRight,
10214
XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
10215
*************** Cardinal *num_args;
10217
XmtNlayoutJustification, XmtLayoutFlushLeft,
10218
XmtNlayoutStretchability, 0,
10220
XmStringFree(label);
10222
! label = XmtCreateXmString(wd->working_box.scale_label);
10223
scale = XtVaCreateWidget("scale", xmScaleWidgetClass, init,
10224
XmNorientation, XmHORIZONTAL,
10225
XmNshowValue, True,
10226
XmNvalue, wd->working_box.scale_value,
10227
XmNminimum, wd->working_box.scale_min,
10229
XmtNlayoutJustification, XmtLayoutFlushLeft,
10230
XmtNlayoutStretchability, 0,
10232
XmStringFree(label);
10234
! label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.scale_label);
10235
scale = XtVaCreateWidget("scale", xmScaleWidgetClass, init,
10236
XmNorientation, XmHORIZONTAL,
10237
XmNshowValue, True,
10238
XmNvalue, wd->working_box.scale_value,
10239
XmNminimum, wd->working_box.scale_min,
10240
*************** Cardinal *num_args;
10243
separator = XtVaCreateWidget("separator",
10244
xmtLayoutSeparatorGadgetClass, init,
10247
! label = XmtCreateXmString(wd->working_box.button_label);
10248
button = XtVaCreateWidget("button", xmPushButtonWidgetClass, init,
10249
XmNlabelString, label,
10250
XmtNlayoutJustification, XmtLayoutFlushRight,
10251
XmtNlayoutStretchability, 0,
10255
separator = XtVaCreateWidget("separator",
10256
xmtLayoutSeparatorGadgetClass, init,
10259
! label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.button_label);
10260
button = XtVaCreateWidget("button", xmPushButtonWidgetClass, init,
10261
XmNlabelString, label,
10262
XmtNlayoutJustification, XmtLayoutFlushRight,
10263
XmtNlayoutStretchability, 0,
10265
*************** Cardinal *num_args;
10267
* strings are not copied, but set to a special empty string.
10268
* We check if they are now different from empty_string.
10270
if (sw->working_box.message != empty_string) {
10271
if (sw->working_box.message)
10272
! label = XmtCreateXmString(sw->working_box.message);
10275
XtVaSetValues(sw->working_box.pixmap, XmtNlayoutCaption, label, NULL);
10276
if (label) XmStringFree(label);
10277
sw->working_box.message = empty_string;
10280
if (sw->working_box.scale_label != empty_string) {
10281
if (sw->working_box.scale_label)
10282
! label = XmtCreateXmString(sw->working_box.scale_label);
10285
XtVaSetValues(sw->working_box.scale, XmtNlayoutCaption, label, NULL);
10286
if (label) XmStringFree(label);
10287
sw->working_box.scale_label = empty_string;
10290
if (sw->working_box.button_label != empty_string) {
10291
if (sw->working_box.button_label) {
10292
! label = XmtCreateXmString(sw->working_box.button_label);
10293
XtVaSetValues(sw->working_box.button, XmNlabelString, label, NULL);
10294
XmStringFree(label);
10296
sw->working_box.button_label = empty_string;
10299
* strings are not copied, but set to a special empty string.
10300
* We check if they are now different from empty_string.
10302
if (sw->working_box.message != empty_string) {
10303
if (sw->working_box.message)
10304
! label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.message);
10307
XtVaSetValues(sw->working_box.pixmap, XmtNlayoutCaption, label, NULL);
10308
if (label) XmStringFree(label);
10309
sw->working_box.message = empty_string;
10312
if (sw->working_box.scale_label != empty_string) {
10313
if (sw->working_box.scale_label)
10314
! label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.scale_label);
10317
XtVaSetValues(sw->working_box.scale, XmtNlayoutCaption, label, NULL);
10318
if (label) XmStringFree(label);
10319
sw->working_box.scale_label = empty_string;
10322
if (sw->working_box.button_label != empty_string) {
10323
if (sw->working_box.button_label) {
10324
! label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.button_label);
10325
XtVaSetValues(sw->working_box.button, XmNlabelString, label, NULL);
10326
XmStringFree(label);
10328
sw->working_box.button_label = empty_string;
10330
diff -bpcBNC 5 Xmt310/Xmt/WorkingBox.h Xmt310.ge/Xmt/WorkingBox.h
10331
*** Xmt310/Xmt/WorkingBox.h Sun Feb 4 22:48:38 2001
10332
--- Xmt310.ge/Xmt/WorkingBox.h Tue Jun 12 18:25:28 2001
10336
* Motif Tools Library, Version 3.1
10339
* Written by David Flanagan.
10340
* Copyright (c) 1992-2001 by David Flanagan.
10341
* All Rights Reserved. See the file COPYRIGHT for details.
10342
* This is open source software. See the file LICENSE for details.
10343
* There is no warranty for this software. See NO_WARRANTY for details.
10346
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10347
! * Initial checkin.
10349
! * Revision 1.1 2001/06/21 17:47:46 andre
10350
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10351
! * kerberos compilation support
10356
#ifndef _XmtWorkingBox_h
10357
#define _XmtWorkingBox_h
10360
* Motif Tools Library, Version 3.1
10363
* Written by David Flanagan.
10364
* Copyright (c) 1992-2001 by David Flanagan.
10365
* All Rights Reserved. See the file COPYRIGHT for details.
10366
* This is open source software. See the file LICENSE for details.
10367
* There is no warranty for this software. See NO_WARRANTY for details.
10370
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10371
! * Initial checkin.
10373
! * Revision 1.1 2001/06/21 17:47:46 andre
10374
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10375
! * kerberos compilation support
10377
! * Revision 1.2 2001/06/12 16:25:28 andre
10378
! * *** empty log message ***
10383
#ifndef _XmtWorkingBox_h
10384
#define _XmtWorkingBox_h
10385
diff -bpcBNC 5 Xmt310/Xmt/WorkingBoxP.h Xmt310.ge/Xmt/WorkingBoxP.h
10386
*** Xmt310/Xmt/WorkingBoxP.h Sun Feb 4 22:48:40 2001
10387
--- Xmt310.ge/Xmt/WorkingBoxP.h Tue Jun 12 18:25:28 2001
10391
* Motif Tools Library, Version 3.1
10394
* Written by David Flanagan.
10395
* Copyright (c) 1992-2001 by David Flanagan.
10396
* All Rights Reserved. See the file COPYRIGHT for details.
10397
* This is open source software. See the file LICENSE for details.
10398
* There is no warranty for this software. See NO_WARRANTY for details.
10401
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10402
! * Initial checkin.
10404
! * Revision 1.1 2001/06/21 17:47:46 andre
10405
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10406
! * kerberos compilation support
10411
#ifndef _XmtWorkingBoxP_h
10412
#define _XmtWorkingBoxP_h
10415
* Motif Tools Library, Version 3.1
10418
* Written by David Flanagan.
10419
* Copyright (c) 1992-2001 by David Flanagan.
10420
* All Rights Reserved. See the file COPYRIGHT for details.
10421
* This is open source software. See the file LICENSE for details.
10422
* There is no warranty for this software. See NO_WARRANTY for details.
10425
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10426
! * Initial checkin.
10428
! * Revision 1.1 2001/06/21 17:47:46 andre
10429
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10430
! * kerberos compilation support
10432
! * Revision 1.2 2001/06/12 16:25:28 andre
10433
! * *** empty log message ***
10438
#ifndef _XmtWorkingBoxP_h
10439
#define _XmtWorkingBoxP_h
10440
diff -bpcBNC 5 Xmt310/Xmt/WorkingBoxS.c Xmt310.ge/Xmt/WorkingBoxS.c
10441
*** Xmt310/Xmt/WorkingBoxS.c Sun Feb 4 22:48:44 2001
10442
--- Xmt310.ge/Xmt/WorkingBoxS.c Tue Jun 12 18:25:28 2001
10446
* Motif Tools Library, Version 3.1
10449
* Written by David Flanagan.
10450
* Copyright (c) 1992-2001 by David Flanagan.
10451
* All Rights Reserved. See the file COPYRIGHT for details.
10452
* This is open source software. See the file LICENSE for details.
10453
* There is no warranty for this software. See NO_WARRANTY for details.
10456
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10457
! * Initial checkin.
10459
! * Revision 1.1 2001/06/21 17:47:46 andre
10460
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10461
! * kerberos compilation support
10465
#include <X11/Intrinsic.h>
10467
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
10470
* Motif Tools Library, Version 3.1
10473
* Written by David Flanagan.
10474
* Copyright (c) 1992-2001 by David Flanagan.
10475
* All Rights Reserved. See the file COPYRIGHT for details.
10476
* This is open source software. See the file LICENSE for details.
10477
* There is no warranty for this software. See NO_WARRANTY for details.
10480
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10481
! * Initial checkin.
10483
! * Revision 1.1 2001/06/21 17:47:46 andre
10484
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10485
! * kerberos compilation support
10487
! * Revision 1.2 2001/06/12 16:25:28 andre
10488
! * *** empty log message ***
10492
#include <X11/Intrinsic.h>
10494
#if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
10495
diff -bpcBNC 5 Xmt310/Xmt/Xbm.c Xmt310.ge/Xmt/Xbm.c
10496
*** Xmt310/Xmt/Xbm.c Sun Feb 4 22:48:48 2001
10497
--- Xmt310.ge/Xmt/Xbm.c Tue Jun 12 18:25:28 2001
10501
* Motif Tools Library, Version 3.1
10504
* Written by David Flanagan.
10505
* Copyright (c) 1992-2001 by David Flanagan.
10506
* All Rights Reserved. See the file COPYRIGHT for details.
10507
* This is open source software. See the file LICENSE for details.
10508
* There is no warranty for this software. See NO_WARRANTY for details.
10511
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10512
! * Initial checkin.
10514
! * Revision 1.1 2001/06/21 17:47:46 andre
10515
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10516
! * kerberos compilation support
10525
* Motif Tools Library, Version 3.1
10528
* Written by David Flanagan.
10529
* Copyright (c) 1992-2001 by David Flanagan.
10530
* All Rights Reserved. See the file COPYRIGHT for details.
10531
* This is open source software. See the file LICENSE for details.
10532
* There is no warranty for this software. See NO_WARRANTY for details.
10535
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10536
! * Initial checkin.
10538
! * Revision 1.1 2001/06/21 17:47:46 andre
10539
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10540
! * kerberos compilation support
10542
! * Revision 1.2 2001/06/12 16:25:28 andre
10543
! * *** empty log message ***
10550
diff -bpcBNC 5 Xmt310/Xmt/Xbm.h Xmt310.ge/Xmt/Xbm.h
10551
*** Xmt310/Xmt/Xbm.h Sun Feb 4 22:48:52 2001
10552
--- Xmt310.ge/Xmt/Xbm.h Tue Jun 12 18:25:28 2001
10556
* Motif Tools Library, Version 3.1
10559
* Written by David Flanagan.
10560
* Copyright (c) 1992-2001 by David Flanagan.
10561
* All Rights Reserved. See the file COPYRIGHT for details.
10562
* This is open source software. See the file LICENSE for details.
10563
* There is no warranty for this software. See NO_WARRANTY for details.
10566
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10567
! * Initial checkin.
10569
! * Revision 1.1 2001/06/21 17:47:46 andre
10570
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10571
! * kerberos compilation support
10580
* Motif Tools Library, Version 3.1
10583
* Written by David Flanagan.
10584
* Copyright (c) 1992-2001 by David Flanagan.
10585
* All Rights Reserved. See the file COPYRIGHT for details.
10586
* This is open source software. See the file LICENSE for details.
10587
* There is no warranty for this software. See NO_WARRANTY for details.
10590
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10591
! * Initial checkin.
10593
! * Revision 1.1 2001/06/21 17:47:46 andre
10594
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10595
! * kerberos compilation support
10597
! * Revision 1.2 2001/06/12 16:25:28 andre
10598
! * *** empty log message ***
10605
diff -bpcBNC 5 Xmt310/Xmt/XmCSText.c Xmt310.ge/Xmt/XmCSText.c
10606
*** Xmt310/Xmt/XmCSText.c Sun Feb 4 22:48:54 2001
10607
--- Xmt310.ge/Xmt/XmCSText.c Tue Jun 12 18:25:28 2001
10611
* Motif Tools Library, Version 3.1
10614
* Written by David Flanagan.
10615
* Copyright (c) 1992-2001 by David Flanagan.
10616
* All Rights Reserved. See the file COPYRIGHT for details.
10617
* This is open source software. See the file LICENSE for details.
10618
* There is no warranty for this software. See NO_WARRANTY for details.
10621
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10622
! * Initial checkin.
10624
! * Revision 1.1 2001/06/21 17:47:46 andre
10625
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10626
! * kerberos compilation support
10632
* This file courtesy of Tony Hefner.
10635
* Motif Tools Library, Version 3.1
10638
* Written by David Flanagan.
10639
* Copyright (c) 1992-2001 by David Flanagan.
10640
* All Rights Reserved. See the file COPYRIGHT for details.
10641
* This is open source software. See the file LICENSE for details.
10642
* There is no warranty for this software. See NO_WARRANTY for details.
10645
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10646
! * Initial checkin.
10648
! * Revision 1.1 2001/06/21 17:47:46 andre
10649
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10650
! * kerberos compilation support
10652
! * Revision 1.2 2001/06/12 16:25:28 andre
10653
! * *** empty log message ***
10659
* This file courtesy of Tony Hefner.
10660
*************** Cardinal size;
10663
XmString xmString = NULL;
10665
if (type == XmtQString) {
10666
/* Convert the value to an XmString. */
10667
! xmString = XmtCreateXmString(*(String *)address);
10668
XmCSTextSetString(w, xmString);
10670
else if (type == XmtQBuffer) {
10671
/* Convert the value to an XmString. */
10672
! xmString = XmtCreateXmString((char *)address);
10673
XmCSTextSetString(w, xmString);
10676
XmtWarningMsg("XmtDialogSetDialogValues", "xmcstext",
10677
"Type mismatch:\n\tCan't set value from resource of type '%s'. String or Buffer expected.",
10680
XmString xmString = NULL;
10682
if (type == XmtQString) {
10683
/* Convert the value to an XmString. */
10684
! xmString = XmtCreateLocalizedXmString(w, *(String *)address);
10685
XmCSTextSetString(w, xmString);
10687
else if (type == XmtQBuffer) {
10688
/* Convert the value to an XmString. */
10689
! xmString = XmtCreateLocalizedXmString(w, (char *)address);
10690
XmCSTextSetString(w, xmString);
10693
XmtWarningMsg("XmtDialogSetDialogValues", "xmcstext",
10694
"Type mismatch:\n\tCan't set value from resource of type '%s'. String or Buffer expected.",
10695
*************** Cardinal size;
10699
static XmtWidgetType cstext = {
10707
static XmtWidgetType scstext = {
10708
"XmScrolledCSText",
10710
! XmCreateScrolledCSText,
10715
#if NeedFunctionPrototypes
10719
static XmtWidgetType cstext = {
10722
! (XmtWidgetConstructor) XmCreateCSText,
10727
static XmtWidgetType scstext = {
10728
"XmScrolledCSText",
10730
! (XmtWidgetConstructor) XmCreateScrolledCSText,
10735
#if NeedFunctionPrototypes
10736
diff -bpcBNC 5 Xmt310/Xmt/XmComboBox.c Xmt310.ge/Xmt/XmComboBox.c
10737
*** Xmt310/Xmt/XmComboBox.c Sun Feb 4 22:48:58 2001
10738
--- Xmt310.ge/Xmt/XmComboBox.c Tue Jun 12 18:25:28 2001
10742
* Motif Tools Library, Version 3.1
10745
* Written by David Flanagan.
10746
* Copyright (c) 1992-2001 by David Flanagan.
10747
* All Rights Reserved. See the file COPYRIGHT for details.
10748
* This is open source software. See the file LICENSE for details.
10749
* There is no warranty for this software. See NO_WARRANTY for details.
10752
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10753
! * Initial checkin.
10755
! * Revision 1.1 2001/06/21 17:47:46 andre
10756
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10757
! * kerberos compilation support
10763
* This file courtesy of Tony Hefner.
10766
* Motif Tools Library, Version 3.1
10769
* Written by David Flanagan.
10770
* Copyright (c) 1992-2001 by David Flanagan.
10771
* All Rights Reserved. See the file COPYRIGHT for details.
10772
* This is open source software. See the file LICENSE for details.
10773
* There is no warranty for this software. See NO_WARRANTY for details.
10776
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10777
! * Initial checkin.
10779
! * Revision 1.1 2001/06/21 17:47:46 andre
10780
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10781
! * kerberos compilation support
10783
! * Revision 1.2 2001/06/12 16:25:28 andre
10784
! * *** empty log message ***
10790
* This file courtesy of Tony Hefner.
10791
diff -bpcBNC 5 Xmt310/Xmt/XmScale.c Xmt310.ge/Xmt/XmScale.c
10792
*** Xmt310/Xmt/XmScale.c Sun Feb 4 22:49:02 2001
10793
--- Xmt310.ge/Xmt/XmScale.c Tue Jun 12 18:25:28 2001
10797
* Motif Tools Library, Version 3.1
10800
* Written by David Flanagan.
10801
* Copyright (c) 1992-2001 by David Flanagan.
10802
* All Rights Reserved. See the file COPYRIGHT for details.
10803
* This is open source software. See the file LICENSE for details.
10804
* There is no warranty for this software. See NO_WARRANTY for details.
10807
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10808
! * Initial checkin.
10810
! * Revision 1.1 2001/06/21 17:47:46 andre
10811
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10812
! * kerberos compilation support
10817
#include <Xmt/Xmt.h>
10818
#include <Xmt/WidgetType.h>
10821
* Motif Tools Library, Version 3.1
10824
* Written by David Flanagan.
10825
* Copyright (c) 1992-2001 by David Flanagan.
10826
* All Rights Reserved. See the file COPYRIGHT for details.
10827
* This is open source software. See the file LICENSE for details.
10828
* There is no warranty for this software. See NO_WARRANTY for details.
10831
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10832
! * Initial checkin.
10834
! * Revision 1.1 2001/06/21 17:47:46 andre
10835
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10836
! * kerberos compilation support
10838
! * Revision 1.2 2001/06/12 16:25:28 andre
10839
! * *** empty log message ***
10844
#include <Xmt/Xmt.h>
10845
#include <Xmt/WidgetType.h>
10846
diff -bpcBNC 5 Xmt310/Xmt/XmStringCvt.c Xmt310.ge/Xmt/XmStringCvt.c
10847
*** Xmt310/Xmt/XmStringCvt.c Sun Feb 4 22:49:04 2001
10848
--- Xmt310.ge/Xmt/XmStringCvt.c Tue Jun 12 18:25:28 2001
10852
* Motif Tools Library, Version 3.1
10855
* Written by David Flanagan.
10856
* Copyright (c) 1992-2001 by David Flanagan.
10857
* All Rights Reserved. See the file COPYRIGHT for details.
10858
* This is open source software. See the file LICENSE for details.
10859
* There is no warranty for this software. See NO_WARRANTY for details.
10862
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10863
! * Initial checkin.
10865
! * Revision 1.1 2001/06/21 17:47:46 andre
10866
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10867
! * kerberos compilation support
10872
#include <Xmt/Xmt.h>
10873
#include <Xmt/ConvertersP.h>
10875
! #if XmVersion >= 2000
10877
* Gary Merrill figured out how XmString parsing works in Motif 2.0, and
10878
* how rendition tables and tabs are handled, and wrote this code for
10879
* Motif 2.0. David Flanagan tweaked the resulting code a bit.
10883
* Motif Tools Library, Version 3.1
10886
* Written by David Flanagan.
10887
* Copyright (c) 1992-2001 by David Flanagan.
10888
* All Rights Reserved. See the file COPYRIGHT for details.
10889
* This is open source software. See the file LICENSE for details.
10890
* There is no warranty for this software. See NO_WARRANTY for details.
10893
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10894
! * Initial checkin.
10896
! * Revision 1.1 2001/06/21 17:47:46 andre
10897
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
10898
! * kerberos compilation support
10900
! * Revision 1.2 2001/06/12 16:25:28 andre
10901
! * *** empty log message ***
10907
+ #include <stdlib.h>
10908
#include <Xmt/Xmt.h>
10909
#include <Xmt/ConvertersP.h>
10912
! /* #if XmVersion >= 2000 */
10914
* Gary Merrill figured out how XmString parsing works in Motif 2.0, and
10915
* how rendition tables and tabs are handled, and wrote this code for
10916
* Motif 2.0. David Flanagan tweaked the resulting code a bit.
10918
*************** XtPointer call_data;
10923
char *s, *start, *text_ptr, indicator, *tag, tag_buf[3];
10924
XmStringComponentType component_type;
10926
+ /* printf("...> '%s'\n", (char *) *text); */
10928
text_ptr = (char *) *text;
10929
start = s = XtNewString(*text);
10931
/* s[0] should be '@'. Bump pointer to following char */
10933
*************** XtPointer call_data;
10937
switch (component_type) {
10939
case XmSTRING_COMPONENT_UNKNOWN:
10940
! if ( indicator == '[' )
10941
XmtWarningMsg("XmtCreateXmString", "badlocale",
10942
! "'@[' locale indicator may occur only at beginning of string.");
10944
XmtWarningMsg("XmtCreateXmString", "unrecognized",
10945
"Unrecognized string escape sequence '@%c' will be treated as text.",
10951
switch (component_type) {
10953
case XmSTRING_COMPONENT_UNKNOWN:
10954
! if ( indicator == '{' )
10955
XmtWarningMsg("XmtCreateXmString", "badlocale",
10956
! "'@{' locale indicator may occur only at beginning of string.");
10958
XmtWarningMsg("XmtCreateXmString", "unrecognized",
10959
"Unrecognized string escape sequence '@%c' will be treated as text.",
10962
*************** StringConst str;
10965
static Boolean parse_table_registered = False;
10966
static XmParseMapping parse_table[3];
10968
if (!parse_table_registered) {
10973
XtSetArg(args[n], XmNpattern, "\n"); n++;
10974
XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
10975
XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
10976
parse_table[0] = XmParseMappingCreate(args, n);
10979
XtSetArg(args[n], XmNpattern, "\t"); n++;
10980
XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
10981
XtSetArg(args[n], XmNsubstitute,
10982
XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
10983
parse_table[1] = XmParseMappingCreate(args, n);
10986
XtSetArg(args[n], XmNpattern, "@"); n++;
10987
XtSetArg(args[n], XmNincludeStatus, XmINVOKE); n++;
10988
XtSetArg(args[n], XmNinvokeParseProc, XmtConvertStringEscape); n++;
10989
parse_table[2] = XmParseMappingCreate(args, n);
10991
parse_table_registered = True;
10994
! return XmStringParseText((XtPointer) str, NULL, NULL, XmCHARSET_TEXT,
10995
parse_table, XtNumber(parse_table),
10999
#else /* XmVersion < 2000 */
11002
static Boolean parse_table_registered = False;
11003
static XmParseMapping parse_table[3];
11005
if (!parse_table_registered) {
11010
XtSetArg(args[n], XmNpattern, "\n"); n++;
11011
+ XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
11012
XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
11013
XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
11014
parse_table[0] = XmParseMappingCreate(args, n);
11017
XtSetArg(args[n], XmNpattern, "\t"); n++;
11018
+ XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
11019
XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
11020
XtSetArg(args[n], XmNsubstitute,
11021
XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
11022
parse_table[1] = XmParseMappingCreate(args, n);
11025
XtSetArg(args[n], XmNpattern, "@"); n++;
11026
+ XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
11027
XtSetArg(args[n], XmNincludeStatus, XmINVOKE); n++;
11028
XtSetArg(args[n], XmNinvokeParseProc, XmtConvertStringEscape); n++;
11029
parse_table[2] = XmParseMappingCreate(args, n);
11031
parse_table_registered = True;
11034
! return XmStringParseText((XtPointer) str, NULL, NULL, XmMULTIBYTE_TEXT,
11035
parse_table, XtNumber(parse_table),
11039
#else /* XmVersion < 2000 */
11040
*************** XmString to;
11050
+ char *mtxt = NULL;
11054
+ wchar_t *ws = NULL;
11057
+ n = mbstowcs(NULL, txt, 0);
11059
+ ws = (wchar_t*)malloc(sizeof(wchar_t)*(n+1));
11062
+ mbstowcs(ws, txt, (n+1));
11064
+ for(s=t=ws; *s; s++, t++) {
11066
+ if ((*s == L'@') && (*(s+1) == L'@')) s++;
11068
+ *t = *s; /* copy the terminating '\0' */
11069
+ n = wcstombs(NULL, ws, 0);
11071
+ mtxt = (char*)malloc(sizeof(char)*(n+1));
11074
+ wcstombs(mtxt, ws, (n+1));
11077
+ mtxt = strdup(txt);
11079
+ XtFree((char*)ws);
11082
+ s1 = XmStringSegmentCreate(mtxt, charset, XmSTRING_DIRECTION_L_TO_R, sep);
11083
+ if (!to) return s1;
11084
+ s2 = XmStringConcat(to, s1);
11085
+ XmStringFree(to);
11086
+ XmStringFree(s1);
11095
for(s=t=txt; *s; s++, t++) {
11096
*************** int fixup;
11099
if (!to) return s1;
11100
s2 = XmStringConcat(to, s1);
11107
#if NeedFunctionPrototypes
11108
XmString XmtCreateXmString(StringConst str)
11110
XmString XmtCreateXmString(str)
11116
#ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
11117
String charset = XmSTRING_DEFAULT_CHARSET;
11119
# if XmVersion < 1002
11120
*************** StringConst str;
11128
if (s != t) result = appendstring(t, result, False, charset, fixup);
11134
#endif /* XmVersion >= 2000 */
11137
#if NeedFunctionPrototypes
11138
! Boolean XmtConvertStringToXmString(Display *dpy,
11139
! XrmValue *args, Cardinal *num_args,
11140
! XrmValue *from, XrmValue *to,
11141
! XtPointer *converter_data)
11143
! Boolean XmtConvertStringToXmString(dpy, args, num_args,
11144
! from, to, converter_data)
11147
! Cardinal *num_args;
11150
! XtPointer *converter_data;
11153
! String s = (String) from->addr;
11154
! Screen *screen = *(Screen **)args[0].addr;
11155
! String category, tag;
11156
String free_me = NULL;
11158
#if NeedFunctionPrototypes
11159
extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
11161
extern String _XmtLocalize();
11164
/* if this string has a tag, localize it first */
11165
! if ((s[0] == '@') && (s[1] == '[')) {
11166
! s = XtNewString(s);
11172
if (*s == '.' && !category) {
11184
if (!tag[0]) goto error;
11185
if (category && !category[0]) goto error;
11186
! s = _XmtLocalize(screen, s, category, tag);
11189
value = XmtCreateXmString(s);
11190
if (!value) goto error;
11191
if (free_me) XtFree(free_me);
11192
! done(XmString, value);
11195
if (free_me) XtFree(free_me);
11196
! XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
11201
#if NeedFunctionPrototypes
11202
static void FreeConvertedXmString(XtAppContext app, XrmValue *to,
11209
+ if (s != t) result = appendstring(t, result, False, charset, fixup);
11217
+ #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
11218
+ String charset = XmSTRING_DEFAULT_CHARSET;
11220
+ # if XmVersion < 1002
11221
+ String charset = XmSTRING_DEFAULT_CHARSET;
11223
+ String charset = XmFONTLIST_DEFAULT_TAG;
11226
+ char charset_buf[3];
11227
+ XmString result = NULL;
11228
+ Boolean fixup = False;
11230
+ if (!str) return NULL;
11232
+ return XmStringSegmentCreate((String)str, charset,
11233
+ XmSTRING_DIRECTION_L_TO_R, False);
11235
+ * make a copy of the string so we can frob with it
11236
+ * We keep pointer r so we can free it when done
11238
+ r = s = XtNewString(str);
11241
+ for(t = s; *s; s++) {
11244
+ *s = '\0'; /* null terminate the string */
11245
+ result = appendstring(t, result, True, charset, fixup);
11250
+ if ((*s == '@') && (*(s+1) == '@')) {
11251
+ /* set a flag to strip doubled escapes later */
11256
+ else if (*(s+1) != 'f') break;
11257
+ /* its a font change, so add the string up to here, if any */
11258
+ *s = '\0'; /* null terminate the string */
11260
+ result = appendstring(t, result, False, charset, fixup);
11263
+ /* and now get the new charset */
11264
+ if (*(s+2) == '\0') break;
11266
+ if (*s == '[') { /* read till close ']' */
11267
+ s = charset = s+1;
11268
+ while (*s && (*s != ']')) s++;
11269
+ if (*s == '\0') break;
11270
+ *s = '\0'; /* null-terminate the charset string */
11272
+ else if (*s == '(') { /* charset is next 2 chars */
11273
+ if (*(s+1)) s++; else break;
11274
+ charset_buf[0] = *s;
11275
+ if (*(s+1)) s++; else break;
11276
+ charset_buf[1] = *s;
11277
+ charset_buf[2] = '\0';
11278
+ charset = charset_buf;
11280
+ else if (*s) { /* charset is single current character */
11281
+ charset_buf[0] = *s;
11282
+ charset_buf[1] = '\0';
11283
+ charset = charset_buf;
11290
if (s != t) result = appendstring(t, result, False, charset, fixup);
11296
+ /* return XmStringCreateLocalized(str); */
11299
#endif /* XmVersion >= 2000 */
11302
#if NeedFunctionPrototypes
11303
! static XmString XmtCreateLocalizedXmString_(Screen *screen, StringConst str)
11305
! static XmString XmtCreateLocalizedXmString_(screen, str)
11310
! XmString value = NULL;
11311
! String category, tag, defaultstr;
11312
String free_me = NULL;
11314
#if NeedFunctionPrototypes
11315
extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
11317
extern String _XmtLocalize();
11323
+ /* printf("==> '%s'\n", str); */
11324
/* if this string has a tag, localize it first */
11325
! if ((str[0] == '@') && (str[1] == '{')) {
11326
! s = XtNewString(str);
11329
+ /* printf("=-> '%s'\n", s); */
11334
if (*s == '.' && !category) {
11336
! category = defaultstr;
11337
! defaultstr = s+1;
11339
! if (*s == '.' && !tag) {
11341
! tag = defaultstr;
11342
! defaultstr = s+1;
11350
+ /* printf("-=> '%s'\n", free_me+2); */
11353
+ tag = defaultstr;
11354
if (!tag[0]) goto error;
11355
if (category && !category[0]) goto error;
11356
! s = _XmtLocalize(screen, defaultstr, category, tag);
11362
+ /* printf("--> '%s'\n", s); */
11364
value = XmtCreateXmString(s);
11366
if (!value) goto error;
11367
if (free_me) XtFree(free_me);
11372
if (free_me) XtFree(free_me);
11377
#if NeedFunctionPrototypes
11378
static void FreeConvertedXmString(XtAppContext app, XrmValue *to,
11379
*************** Cardinal *num_args;
11384
XmStringFree(*((XmString *) to->addr));
11391
+ #if NeedFunctionPrototypes
11392
+ Boolean XmtConvertStringToXmString(Display *dpy,
11393
+ XrmValue *args, Cardinal *num_args,
11394
+ XrmValue *from, XrmValue *to,
11395
+ XtPointer *converter_data)
11397
+ Boolean XmtConvertStringToXmString(dpy, args, num_args,
11398
+ from, to, converter_data)
11401
+ Cardinal *num_args;
11404
+ XtPointer *converter_data;
11407
+ String s = (String) from->addr;
11408
+ Screen *screen = *(Screen **)args[0].addr;
11411
+ value = XmtCreateLocalizedXmString_(screen, s);
11412
+ if (!value) goto error;
11413
+ done(XmString, value);
11416
+ XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
11421
+ #if NeedFunctionPrototypes
11422
+ XmString XmtCreateLocalizedXmString(Widget w, StringConst s)
11424
+ XmString XmtCreateLocalizedXmString(w, s)
11429
+ return XmtCreateLocalizedXmString_(XtScreen(w), s);
11432
#if NeedFunctionPrototypes
11433
void XmtRegisterXmStringConverter(void)
11435
void XmtRegisterXmStringConverter()
11437
diff -bpcBNC 5 Xmt310/Xmt/XmStringCvt.c.xmt310orig Xmt310.ge/Xmt/XmStringCvt.c.xmt310orig
11438
*** Xmt310/Xmt/XmStringCvt.c.xmt310orig Thu Jan 1 01:00:00 1970
11439
--- Xmt310.ge/Xmt/XmStringCvt.c.xmt310orig Tue Jun 12 18:11:36 2001
11444
+ * Motif Tools Library, Version 3.1
11447
+ * Written by David Flanagan.
11448
+ * Copyright (c) 1992-2001 by David Flanagan.
11449
+ * All Rights Reserved. See the file COPYRIGHT for details.
11450
+ * This is open source software. See the file LICENSE for details.
11451
+ * There is no warranty for this software. See NO_WARRANTY for details.
11454
+ * Revision 1.1.1.1 2001/07/18 11:06:01 root
11455
+ * Initial checkin.
11457
+ * Revision 1.1 2001/06/21 17:47:46 andre
11458
+ * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
11459
+ * kerberos compilation support
11464
+ #include <Xmt/Xmt.h>
11465
+ #include <Xmt/ConvertersP.h>
11467
+ #if XmVersion >= 2000
11469
+ * Gary Merrill figured out how XmString parsing works in Motif 2.0, and
11470
+ * how rendition tables and tabs are handled, and wrote this code for
11471
+ * Motif 2.0. David Flanagan tweaked the resulting code a bit.
11473
+ * The following escape sequences are supported for strings in the
11474
+ * resource files:
11476
+ * @t tab (relative to a tab list)
11478
+ * @b[tag] begin rendition
11479
+ * @e[tag] end rendition
11481
+ * Keep in mind that renditions override font specifications.
11485
+ #if NeedFunctionPrototypes
11486
+ static XmIncludeStatus XmtConvertStringEscape(XtPointer *text,
11487
+ XtPointer text_end,
11489
+ XmStringTag string_tag,
11490
+ XmParseMapping entry,
11491
+ int pattern_length,
11492
+ XmString *str_include,
11493
+ XtPointer call_data)
11495
+ static XmIncludeStatus XmtConvertStringEscape(text, text_end, type, string_tag,
11496
+ entry, pattern_length,
11497
+ str_include, call_data)
11499
+ XtPointer text_end;
11501
+ XmStringTag string_tag;
11502
+ XmParseMapping entry;
11503
+ int pattern_length;
11504
+ XmString *str_include;
11505
+ XtPointer call_data;
11508
+ char *s, *start, *text_ptr, indicator, *tag, tag_buf[3];
11509
+ XmStringComponentType component_type;
11511
+ text_ptr = (char *) *text;
11512
+ start = s = XtNewString(*text);
11514
+ /* s[0] should be '@'. Bump pointer to following char */
11517
+ if (*s == '@') { /* Sequence is '@@' */
11518
+ *str_include = XmStringComponentCreate(XmSTRING_COMPONENT_TEXT, 1, s);
11520
+ *text = text_ptr;
11527
+ component_type = XmSTRING_COMPONENT_TAB;
11531
+ * treat @f the same as an unterminated @b.
11532
+ * Using XmSTRING_COMPONENT_TAG doesn't work quite right
11533
+ * with Motif 2.0.0, so we do it this way, which seems
11534
+ * to make as much sense, anyway.
11537
+ component_type = XmSTRING_COMPONENT_RENDITION_BEGIN;
11540
+ component_type = XmSTRING_COMPONENT_RENDITION_END;
11543
+ component_type = XmSTRING_COMPONENT_UNKNOWN;
11549
+ switch (component_type) {
11551
+ case XmSTRING_COMPONENT_UNKNOWN:
11552
+ if ( indicator == '[' )
11553
+ XmtWarningMsg("XmtCreateXmString", "badlocale",
11554
+ "'@[' locale indicator may occur only at beginning of string.");
11556
+ XmtWarningMsg("XmtCreateXmString", "unrecognized",
11557
+ "Unrecognized string escape sequence '@%c' will be treated as text.",
11561
+ *str_include = XmStringComponentCreate(XmSTRING_COMPONENT_TEXT,
11564
+ *text = text_ptr;
11569
+ case XmSTRING_COMPONENT_TAB:
11570
+ *str_include = XmStringComponentCreate(component_type, 0, NULL);
11572
+ text_ptr += s - start;
11573
+ *text = text_ptr;
11578
+ default: /* just drop through */
11582
+ s++; /* go past the component_type character */
11584
+ if (*s == '\0') {
11585
+ XmtWarningMsg("XmtCreateXmString", "syntax1",
11586
+ "Improper '@%c' syntax in string being converted.",
11589
+ return XmTERMINATE;
11593
+ * Now get the tag in '[ ]', after '(', or immediately
11594
+ * after the component_type indicator.
11599
+ while (*s && (*s != ']')) s++;
11600
+ if (*s == '\0') {
11601
+ XmtWarningMsg("XmtCreateXmString", "syntax3",
11602
+ "'@%c[%s' is missing ']' in string being converted",
11606
+ *s = '\0'; /* null terminate the tag string */
11611
+ if (!*(s+1) || !*(s+2)) {
11612
+ XmtWarningMsg("XmtCreateXmString", "syntax2",
11613
+ "Improper '@%c(' syntax in string being converted.",
11616
+ return XmTERMINATE;
11618
+ tag_buf[0] = *(s+1);
11619
+ tag_buf[1] = *(s+2);
11620
+ tag_buf[2] = '\0';
11627
+ tag_buf[1] = '\0';
11633
+ *str_include = XmStringComponentCreate(component_type, strlen(tag), tag);
11634
+ text_ptr += s - start;
11635
+ *text = text_ptr;
11642
+ #if NeedFunctionPrototypes
11643
+ XmString XmtCreateXmString(StringConst str)
11645
+ XmString XmtCreateXmString(str)
11649
+ static Boolean parse_table_registered = False;
11650
+ static XmParseMapping parse_table[3];
11652
+ if (!parse_table_registered) {
11657
+ XtSetArg(args[n], XmNpattern, "\n"); n++;
11658
+ XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
11659
+ XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
11660
+ parse_table[0] = XmParseMappingCreate(args, n);
11663
+ XtSetArg(args[n], XmNpattern, "\t"); n++;
11664
+ XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
11665
+ XtSetArg(args[n], XmNsubstitute,
11666
+ XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
11667
+ parse_table[1] = XmParseMappingCreate(args, n);
11670
+ XtSetArg(args[n], XmNpattern, "@"); n++;
11671
+ XtSetArg(args[n], XmNincludeStatus, XmINVOKE); n++;
11672
+ XtSetArg(args[n], XmNinvokeParseProc, XmtConvertStringEscape); n++;
11673
+ parse_table[2] = XmParseMappingCreate(args, n);
11675
+ parse_table_registered = True;
11678
+ return XmStringParseText((XtPointer) str, NULL, NULL, XmCHARSET_TEXT,
11679
+ parse_table, XtNumber(parse_table),
11683
+ #else /* XmVersion < 2000 */
11685
+ #if NeedFunctionPrototypes
11686
+ static XmString appendstring(String txt, XmString to, int sep, char *charset,
11689
+ static XmString appendstring(txt, to, sep, charset, fixup)
11701
+ for(s=t=txt; *s; s++, t++) {
11703
+ if ((*s == '@') && (*(s+1) == '@')) s++;
11705
+ *t = *s; /* copy the terminating '\0' */
11708
+ s1 = XmStringSegmentCreate(txt, charset, XmSTRING_DIRECTION_L_TO_R, sep);
11709
+ if (!to) return s1;
11710
+ s2 = XmStringConcat(to, s1);
11711
+ XmStringFree(to);
11712
+ XmStringFree(s1);
11716
+ #if NeedFunctionPrototypes
11717
+ XmString XmtCreateXmString(StringConst str)
11719
+ XmString XmtCreateXmString(str)
11724
+ #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
11725
+ String charset = XmSTRING_DEFAULT_CHARSET;
11727
+ # if XmVersion < 1002
11728
+ String charset = XmSTRING_DEFAULT_CHARSET;
11730
+ String charset = XmFONTLIST_DEFAULT_TAG;
11733
+ char charset_buf[3];
11734
+ XmString result = NULL;
11735
+ Boolean fixup = False;
11737
+ if (!str) return NULL;
11739
+ return XmStringSegmentCreate((String)str, charset,
11740
+ XmSTRING_DIRECTION_L_TO_R, False);
11743
+ * make a copy of the string so we can frob with it
11744
+ * We keep pointer r so we can free it when done
11746
+ r = s = XtNewString(str);
11748
+ for(t = s; *s; s++) {
11751
+ *s = '\0'; /* null terminate the string */
11752
+ result = appendstring(t, result, True, charset, fixup);
11757
+ if ((*s == '@') && (*(s+1) == '@')) {
11758
+ /* set a flag to strip doubled escapes later */
11763
+ else if (*(s+1) != 'f') break;
11764
+ /* its a font change, so add the string up to here, if any */
11765
+ *s = '\0'; /* null terminate the string */
11767
+ result = appendstring(t, result, False, charset, fixup);
11770
+ /* and now get the new charset */
11771
+ if (*(s+2) == '\0') break;
11773
+ if (*s == '[') { /* read till close ']' */
11774
+ s = charset = s+1;
11775
+ while (*s && (*s != ']')) s++;
11776
+ if (*s == '\0') break;
11777
+ *s = '\0'; /* null-terminate the charset string */
11779
+ else if (*s == '(') { /* charset is next 2 chars */
11780
+ if (*(s+1)) s++; else break;
11781
+ charset_buf[0] = *s;
11782
+ if (*(s+1)) s++; else break;
11783
+ charset_buf[1] = *s;
11784
+ charset_buf[2] = '\0';
11785
+ charset = charset_buf;
11787
+ else if (*s) { /* charset is single current character */
11788
+ charset_buf[0] = *s;
11789
+ charset_buf[1] = '\0';
11790
+ charset = charset_buf;
11798
+ if (s != t) result = appendstring(t, result, False, charset, fixup);
11804
+ #endif /* XmVersion >= 2000 */
11807
+ #if NeedFunctionPrototypes
11808
+ Boolean XmtConvertStringToXmString(Display *dpy,
11809
+ XrmValue *args, Cardinal *num_args,
11810
+ XrmValue *from, XrmValue *to,
11811
+ XtPointer *converter_data)
11813
+ Boolean XmtConvertStringToXmString(dpy, args, num_args,
11814
+ from, to, converter_data)
11817
+ Cardinal *num_args;
11820
+ XtPointer *converter_data;
11823
+ String s = (String) from->addr;
11824
+ Screen *screen = *(Screen **)args[0].addr;
11825
+ String category, tag;
11826
+ String free_me = NULL;
11828
+ #if NeedFunctionPrototypes
11829
+ extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
11831
+ extern String _XmtLocalize();
11834
+ /* if this string has a tag, localize it first */
11835
+ if ((s[0] == '@') && (s[1] == '[')) {
11836
+ s = XtNewString(s);
11842
+ if (*s == '.' && !category) {
11854
+ if (!tag[0]) goto error;
11855
+ if (category && !category[0]) goto error;
11856
+ s = _XmtLocalize(screen, s, category, tag);
11859
+ value = XmtCreateXmString(s);
11860
+ if (!value) goto error;
11861
+ if (free_me) XtFree(free_me);
11862
+ done(XmString, value);
11865
+ if (free_me) XtFree(free_me);
11866
+ XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
11871
+ #if NeedFunctionPrototypes
11872
+ static void FreeConvertedXmString(XtAppContext app, XrmValue *to,
11873
+ XtPointer closure,
11874
+ XrmValue *args, Cardinal *num_args)
11876
+ static void FreeConvertedXmString(app, to, closure, args, num_args)
11877
+ XtAppContext app;
11879
+ XtPointer closure;
11881
+ Cardinal *num_args;
11884
+ XmStringFree(*((XmString *) to->addr));
11887
+ #if NeedFunctionPrototypes
11888
+ void XmtRegisterXmStringConverter(void)
11890
+ void XmtRegisterXmStringConverter()
11893
+ static Boolean registered = False;
11895
+ if (!registered) {
11896
+ XtSetTypeConverter(XtRString, XmRXmString,
11897
+ XmtConvertStringToXmString,
11898
+ (XtConvertArgRec *)screenConvertArg, (Cardinal) 1,
11899
+ XtCacheAll | XtCacheRefCount,
11900
+ FreeConvertedXmString);
11901
+ registered = True;
11905
diff -bpcBNC 5 Xmt310/Xmt/XmText.c Xmt310.ge/Xmt/XmText.c
11906
*** Xmt310/Xmt/XmText.c Sun Feb 4 22:49:10 2001
11907
--- Xmt310.ge/Xmt/XmText.c Tue Jun 12 18:25:28 2001
11911
* Motif Tools Library, Version 3.1
11914
* Written by David Flanagan.
11915
* Copyright (c) 1992-2001 by David Flanagan.
11916
* All Rights Reserved. See the file COPYRIGHT for details.
11917
* This is open source software. See the file LICENSE for details.
11918
* There is no warranty for this software. See NO_WARRANTY for details.
11921
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11922
! * Initial checkin.
11924
! * Revision 1.1 2001/06/21 17:47:46 andre
11925
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
11926
! * kerberos compilation support
11931
#include <Xmt/Xmt.h>
11932
#include <Xmt/WidgetType.h>
11935
* Motif Tools Library, Version 3.1
11938
* Written by David Flanagan.
11939
* Copyright (c) 1992-2001 by David Flanagan.
11940
* All Rights Reserved. See the file COPYRIGHT for details.
11941
* This is open source software. See the file LICENSE for details.
11942
* There is no warranty for this software. See NO_WARRANTY for details.
11945
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11946
! * Initial checkin.
11948
! * Revision 1.1 2001/06/21 17:47:46 andre
11949
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
11950
! * kerberos compilation support
11952
! * Revision 1.2 2001/06/12 16:25:28 andre
11953
! * *** empty log message ***
11958
#include <Xmt/Xmt.h>
11959
#include <Xmt/WidgetType.h>
11960
diff -bpcBNC 5 Xmt310/Xmt/XmTextField.c Xmt310.ge/Xmt/XmTextField.c
11961
*** Xmt310/Xmt/XmTextField.c Sun Feb 4 22:49:12 2001
11962
--- Xmt310.ge/Xmt/XmTextField.c Tue Jun 12 18:25:28 2001
11966
* Motif Tools Library, Version 3.1
11969
* Written by David Flanagan.
11970
* Copyright (c) 1992-2001 by David Flanagan.
11971
* All Rights Reserved. See the file COPYRIGHT for details.
11972
* This is open source software. See the file LICENSE for details.
11973
* There is no warranty for this software. See NO_WARRANTY for details.
11976
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11977
! * Initial checkin.
11979
! * Revision 1.1 2001/06/21 17:47:46 andre
11980
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
11981
! * kerberos compilation support
11986
#include <Xmt/Xmt.h>
11987
#include <Xmt/WidgetType.h>
11990
* Motif Tools Library, Version 3.1
11993
* Written by David Flanagan.
11994
* Copyright (c) 1992-2001 by David Flanagan.
11995
* All Rights Reserved. See the file COPYRIGHT for details.
11996
* This is open source software. See the file LICENSE for details.
11997
* There is no warranty for this software. See NO_WARRANTY for details.
12000
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12001
! * Initial checkin.
12003
! * Revision 1.1 2001/06/21 17:47:46 andre
12004
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12005
! * kerberos compilation support
12007
! * Revision 1.2 2001/06/12 16:25:28 andre
12008
! * *** empty log message ***
12013
#include <Xmt/Xmt.h>
12014
#include <Xmt/WidgetType.h>
12015
diff -bpcBNC 5 Xmt310/Xmt/XmToggleB.c Xmt310.ge/Xmt/XmToggleB.c
12016
*** Xmt310/Xmt/XmToggleB.c Sun Feb 4 22:49:16 2001
12017
--- Xmt310.ge/Xmt/XmToggleB.c Tue Jun 12 18:25:28 2001
12021
* Motif Tools Library, Version 3.1
12024
* Written by David Flanagan.
12025
* Copyright (c) 1992-2001 by David Flanagan.
12026
* All Rights Reserved. See the file COPYRIGHT for details.
12027
* This is open source software. See the file LICENSE for details.
12028
* There is no warranty for this software. See NO_WARRANTY for details.
12031
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12032
! * Initial checkin.
12034
! * Revision 1.1 2001/06/21 17:47:46 andre
12035
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12036
! * kerberos compilation support
12041
#include <Xmt/Xmt.h>
12042
#include <Xmt/WidgetType.h>
12045
* Motif Tools Library, Version 3.1
12048
* Written by David Flanagan.
12049
* Copyright (c) 1992-2001 by David Flanagan.
12050
* All Rights Reserved. See the file COPYRIGHT for details.
12051
* This is open source software. See the file LICENSE for details.
12052
* There is no warranty for this software. See NO_WARRANTY for details.
12055
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12056
! * Initial checkin.
12058
! * Revision 1.1 2001/06/21 17:47:46 andre
12059
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12060
! * kerberos compilation support
12062
! * Revision 1.2 2001/06/12 16:25:28 andre
12063
! * *** empty log message ***
12068
#include <Xmt/Xmt.h>
12069
#include <Xmt/WidgetType.h>
12070
diff -bpcBNC 5 Xmt310/Xmt/Xmt.h Xmt310.ge/Xmt/Xmt.h
12071
*** Xmt310/Xmt/Xmt.h Sun Feb 4 22:49:20 2001
12072
--- Xmt310.ge/Xmt/Xmt.h Tue Jun 12 18:25:28 2001
12076
* Motif Tools Library, Version 3.1
12079
* Written by David Flanagan.
12080
* Copyright (c) 1992-2001 by David Flanagan.
12081
* All Rights Reserved. See the file COPYRIGHT for details.
12082
* This is open source software. See the file LICENSE for details.
12083
* There is no warranty for this software. See NO_WARRANTY for details.
12086
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12087
! * Initial checkin.
12089
! * Revision 1.1 2001/06/21 17:47:46 andre
12090
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12091
! * kerberos compilation support
12100
* Motif Tools Library, Version 3.1
12103
* Written by David Flanagan.
12104
* Copyright (c) 1992-2001 by David Flanagan.
12105
* All Rights Reserved. See the file COPYRIGHT for details.
12106
* This is open source software. See the file LICENSE for details.
12107
* There is no warranty for this software. See NO_WARRANTY for details.
12110
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12111
! * Initial checkin.
12113
! * Revision 1.1 2001/06/21 17:47:46 andre
12114
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12115
! * kerberos compilation support
12117
! * Revision 1.2 2001/06/12 16:25:28 andre
12118
! * *** empty log message ***
12125
diff -bpcBNC 5 Xmt310/Xmt/XmtP.h Xmt310.ge/Xmt/XmtP.h
12126
*** Xmt310/Xmt/XmtP.h Sun Feb 4 22:49:28 2001
12127
--- Xmt310.ge/Xmt/XmtP.h Tue Jun 12 18:25:28 2001
12131
* Motif Tools Library, Version 3.1
12134
* Written by David Flanagan.
12135
* Copyright (c) 1992-2001 by David Flanagan.
12136
* All Rights Reserved. See the file COPYRIGHT for details.
12137
* This is open source software. See the file LICENSE for details.
12138
* There is no warranty for this software. See NO_WARRANTY for details.
12141
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12142
! * Initial checkin.
12144
! * Revision 1.1 2001/06/21 17:47:46 andre
12145
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12146
! * kerberos compilation support
12155
* Motif Tools Library, Version 3.1
12158
* Written by David Flanagan.
12159
* Copyright (c) 1992-2001 by David Flanagan.
12160
* All Rights Reserved. See the file COPYRIGHT for details.
12161
* This is open source software. See the file LICENSE for details.
12162
* There is no warranty for this software. See NO_WARRANTY for details.
12165
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12166
! * Initial checkin.
12168
! * Revision 1.1 2001/06/21 17:47:46 andre
12169
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12170
! * kerberos compilation support
12172
! * Revision 1.2 2001/06/12 16:25:28 andre
12173
! * *** empty log message ***
12180
diff -bpcBNC 5 Xmt310/Xmt/XmtProcs.c Xmt310.ge/Xmt/XmtProcs.c
12181
*** Xmt310/Xmt/XmtProcs.c Sun Feb 4 22:49:36 2001
12182
--- Xmt310.ge/Xmt/XmtProcs.c Tue Jun 12 18:25:28 2001
12186
* Motif Tools Library, Version 3.1
12189
* Written by David Flanagan.
12190
* Copyright (c) 1992-2001 by David Flanagan.
12191
* All Rights Reserved. See the file COPYRIGHT for details.
12192
* This is open source software. See the file LICENSE for details.
12193
* There is no warranty for this software. See NO_WARRANTY for details.
12196
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12197
! * Initial checkin.
12199
! * Revision 1.1 2001/06/21 17:47:46 andre
12200
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12201
! * kerberos compilation support
12207
#include <Xmt/Xmt.h>
12210
* Motif Tools Library, Version 3.1
12213
* Written by David Flanagan.
12214
* Copyright (c) 1992-2001 by David Flanagan.
12215
* All Rights Reserved. See the file COPYRIGHT for details.
12216
* This is open source software. See the file LICENSE for details.
12217
* There is no warranty for this software. See NO_WARRANTY for details.
12220
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12221
! * Initial checkin.
12223
! * Revision 1.1 2001/06/21 17:47:46 andre
12224
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12225
! * kerberos compilation support
12227
! * Revision 1.2 2001/06/12 16:25:28 andre
12228
! * *** empty log message ***
12234
#include <Xmt/Xmt.h>
12235
diff -bpcBNC 5 Xmt310/Xmt/XmtWidgets.c Xmt310.ge/Xmt/XmtWidgets.c
12236
*** Xmt310/Xmt/XmtWidgets.c Sun Feb 4 22:49:38 2001
12237
--- Xmt310.ge/Xmt/XmtWidgets.c Tue Jun 12 18:25:28 2001
12241
* Motif Tools Library, Version 3.1
12244
* Written by David Flanagan.
12245
* Copyright (c) 1992-2001 by David Flanagan.
12246
* All Rights Reserved. See the file COPYRIGHT for details.
12247
* This is open source software. See the file LICENSE for details.
12248
* There is no warranty for this software. See NO_WARRANTY for details.
12251
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12252
! * Initial checkin.
12254
! * Revision 1.1 2001/06/21 17:47:46 andre
12255
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12256
! * kerberos compilation support
12261
#include <Xmt/Xmt.h>
12262
#include <Xmt/WidgetType.h>
12265
* Motif Tools Library, Version 3.1
12268
* Written by David Flanagan.
12269
* Copyright (c) 1992-2001 by David Flanagan.
12270
* All Rights Reserved. See the file COPYRIGHT for details.
12271
* This is open source software. See the file LICENSE for details.
12272
* There is no warranty for this software. See NO_WARRANTY for details.
12275
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12276
! * Initial checkin.
12278
! * Revision 1.1 2001/06/21 17:47:46 andre
12279
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12280
! * kerberos compilation support
12282
! * Revision 1.2 2001/06/12 16:25:28 andre
12283
! * *** empty log message ***
12288
#include <Xmt/Xmt.h>
12289
#include <Xmt/WidgetType.h>
12290
diff -bpcBNC 5 Xmt310/Xmt/Xpm.c Xmt310.ge/Xmt/Xpm.c
12291
*** Xmt310/Xmt/Xpm.c Sun Feb 4 22:49:42 2001
12292
--- Xmt310.ge/Xmt/Xpm.c Tue Jun 12 18:25:28 2001
12296
* Motif Tools Library, Version 3.1
12299
* Written by David Flanagan.
12300
* Copyright (c) 1992-2001 by David Flanagan.
12301
* All Rights Reserved. See the file COPYRIGHT for details.
12302
* This is open source software. See the file LICENSE for details.
12303
* There is no warranty for this software. See NO_WARRANTY for details.
12306
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12307
! * Initial checkin.
12309
! * Revision 1.1 2001/06/21 17:47:46 andre
12310
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12311
! * kerberos compilation support
12317
* This file is derived in part from the XPM 3.0 distribution by
12320
* Motif Tools Library, Version 3.1
12323
* Written by David Flanagan.
12324
* Copyright (c) 1992-2001 by David Flanagan.
12325
* All Rights Reserved. See the file COPYRIGHT for details.
12326
* This is open source software. See the file LICENSE for details.
12327
* There is no warranty for this software. See NO_WARRANTY for details.
12330
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12331
! * Initial checkin.
12333
! * Revision 1.1 2001/06/21 17:47:46 andre
12334
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12335
! * kerberos compilation support
12337
! * Revision 1.2 2001/06/12 16:25:28 andre
12338
! * *** empty log message ***
12344
* This file is derived in part from the XPM 3.0 distribution by
12345
diff -bpcBNC 5 Xmt310/Xmt/Xpm.h Xmt310.ge/Xmt/Xpm.h
12346
*** Xmt310/Xmt/Xpm.h Sun Feb 4 22:49:44 2001
12347
--- Xmt310.ge/Xmt/Xpm.h Tue Jun 12 18:25:28 2001
12351
* Motif Tools Library, Version 3.1
12354
* Written by David Flanagan.
12355
* Copyright (c) 1992-2001 by David Flanagan.
12356
* All Rights Reserved. See the file COPYRIGHT for details.
12357
* This is open source software. See the file LICENSE for details.
12358
* There is no warranty for this software. See NO_WARRANTY for details.
12361
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12362
! * Initial checkin.
12364
! * Revision 1.1 2001/06/21 17:47:46 andre
12365
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12366
! * kerberos compilation support
12372
* This file is derived in part from the XPM 3.0 distribution by
12375
* Motif Tools Library, Version 3.1
12378
* Written by David Flanagan.
12379
* Copyright (c) 1992-2001 by David Flanagan.
12380
* All Rights Reserved. See the file COPYRIGHT for details.
12381
* This is open source software. See the file LICENSE for details.
12382
* There is no warranty for this software. See NO_WARRANTY for details.
12385
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12386
! * Initial checkin.
12388
! * Revision 1.1 2001/06/21 17:47:46 andre
12389
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12390
! * kerberos compilation support
12392
! * Revision 1.2 2001/06/12 16:25:28 andre
12393
! * *** empty log message ***
12399
* This file is derived in part from the XPM 3.0 distribution by
12400
diff -bpcBNC 5 Xmt310/Xmt/XpmParse.c Xmt310.ge/Xmt/XpmParse.c
12401
*** Xmt310/Xmt/XpmParse.c Sun Feb 4 22:49:50 2001
12402
--- Xmt310.ge/Xmt/XpmParse.c Tue Jun 12 18:25:28 2001
12406
* Motif Tools Library, Version 3.1
12409
* Written by David Flanagan.
12410
* Copyright (c) 1992-2001 by David Flanagan.
12411
* All Rights Reserved. See the file COPYRIGHT for details.
12412
* This is open source software. See the file LICENSE for details.
12413
* There is no warranty for this software. See NO_WARRANTY for details.
12416
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12417
! * Initial checkin.
12419
! * Revision 1.1 2001/06/21 17:47:46 andre
12420
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12421
! * kerberos compilation support
12427
* This file is derived in part from the XPM 3.0 distribution by
12430
* Motif Tools Library, Version 3.1
12433
* Written by David Flanagan.
12434
* Copyright (c) 1992-2001 by David Flanagan.
12435
* All Rights Reserved. See the file COPYRIGHT for details.
12436
* This is open source software. See the file LICENSE for details.
12437
* There is no warranty for this software. See NO_WARRANTY for details.
12440
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12441
! * Initial checkin.
12443
! * Revision 1.1 2001/06/21 17:47:46 andre
12444
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12445
! * kerberos compilation support
12447
! * Revision 1.2 2001/06/12 16:25:28 andre
12448
! * *** empty log message ***
12454
* This file is derived in part from the XPM 3.0 distribution by
12455
*************** typedef struct {
12457
char *Eoa; /* string ending assignment */
12460
static LexerTypeData lexer_types[] =
12462
! "", '\0', '\n', "", "", "", "", /* Natural type */
12463
! "C", '"', '"', ",\n", "static char *", "[] = {\n", "};\n",
12464
! "Lisp", '"', '"', "\n", "(setq ", " '(\n", "))\n",
12465
! NULL, 0, 0, NULL, NULL, NULL, NULL
12469
* these strings come directly before the optional default color string
12470
* for each of the visuals. The string "s" comes before the optional
12472
char *Eoa; /* string ending assignment */
12475
static LexerTypeData lexer_types[] =
12477
! {"", '\0', '\n', "", "", "", ""}, /* Natural type */
12478
! {"C", '"', '"', ",\n", "static char *", "[] = {\n", "};\n"},
12479
! {"Lisp", '"', '"', "\n", "(setq ", " '(\n", "))\n"},
12480
! {NULL, 0, 0, NULL, NULL, NULL, NULL}
12484
* these strings come directly before the optional default color string
12485
* for each of the visuals. The string "s" comes before the optional
12486
diff -bpcBNC 5 Xmt310/Xmt/XtProcs.c Xmt310.ge/Xmt/XtProcs.c
12487
*** Xmt310/Xmt/XtProcs.c Sun Feb 4 22:57:02 2001
12488
--- Xmt310.ge/Xmt/XtProcs.c Tue Jun 12 18:25:28 2001
12492
* Motif Tools Library, Version 3.1
12495
* Written by David Flanagan.
12496
* Copyright (c) 1992-2001 by David Flanagan.
12497
* All Rights Reserved. See the file COPYRIGHT for details.
12498
* This is open source software. See the file LICENSE for details.
12499
* There is no warranty for this software. See NO_WARRANTY for details.
12502
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12503
! * Initial checkin.
12505
! * Revision 1.1 2001/06/21 17:47:46 andre
12506
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12507
! * kerberos compilation support
12513
#include <Xmt/Xmt.h>
12516
* Motif Tools Library, Version 3.1
12519
* Written by David Flanagan.
12520
* Copyright (c) 1992-2001 by David Flanagan.
12521
* All Rights Reserved. See the file COPYRIGHT for details.
12522
* This is open source software. See the file LICENSE for details.
12523
* There is no warranty for this software. See NO_WARRANTY for details.
12526
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
12527
! * Initial checkin.
12529
! * Revision 1.1 2001/06/21 17:47:46 andre
12530
! * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
12531
! * kerberos compilation support
12533
! * Revision 1.2 2001/06/12 16:25:28 andre
12534
! * *** empty log message ***
12540
#include <Xmt/Xmt.h>