Mercurial > hg > xemacs-beta
comparison lisp/oobr/tree-x/intf.c @ 24:4103f0995bd7 r19-15b95
Import from CVS: tag r19-15b95
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:03 +0200 |
parents | 376386a54a3c |
children | 131b0175ea99 |
comparison
equal
deleted
inserted
replaced
23:0edd3412f124 | 24:4103f0995bd7 |
---|---|
8 | 8 |
9 #include <stdio.h> | 9 #include <stdio.h> |
10 #include <string.h> | 10 #include <string.h> |
11 #include <fcntl.h> | 11 #include <fcntl.h> |
12 | 12 |
13 #include "X11/IntrinsicP.h" | 13 #include <X11/IntrinsicP.h> |
14 #include <X11/ShellP.h> | 14 #include <X11/ShellP.h> |
15 | 15 |
16 #include <X11/Intrinsic.h> | 16 #include <X11/Intrinsic.h> |
17 #include <X11/StringDefs.h> | 17 #include <X11/StringDefs.h> |
18 #include <X11/Xaw/Box.h> | 18 |
19 #include <X11/Xaw/Simple.h> | 19 #ifdef XAW3D |
20 #include <X11/Xaw/MenuButton.h> | 20 #include <X11/Xaw3d/Box.h> |
21 #include <X11/Xaw/SimpleMenu.h> | 21 #include <X11/Xaw3d/Simple.h> |
22 #include <X11/Xaw/SmeBSB.h> | 22 #include <X11/Xaw3d/MenuButton.h> |
23 #include <X11/Xaw/SmeLine.h> | 23 #include <X11/Xaw3d/SimpleMenu.h> |
24 #include <X11/Xaw/Form.h> | 24 #include <X11/Xaw3d/SmeBSB.h> |
25 #include <X11/Xaw/Label.h> | 25 #include <X11/Xaw3d/SmeLine.h> |
26 #include <X11/Xaw/Dialog.h> | 26 #include <X11/Xaw3d/Form.h> |
27 #include <X11/Xaw/AsciiText.h> | 27 #include <X11/Xaw3d/Label.h> |
28 #include <X11/Xaw/AsciiSrc.h> | 28 #include <X11/Xaw3d/Dialog.h> |
29 #include <X11/Xaw/Viewport.h> | 29 #include <X11/Xaw3d/AsciiText.h> |
30 #include <X11/Xaw/Scrollbar.h> | 30 #include <X11/Xaw3d/AsciiSrc.h> |
31 #include <X11/Xaw/Paned.h> | 31 #include <X11/Xaw3d/Viewport.h> |
32 #include <X11/Xaw/Panner.h> | 32 #include <X11/Xaw3d/Scrollbar.h> |
33 #include <X11/Xaw/Reports.h> | 33 #include <X11/Xaw3d/Paned.h> |
34 #include <X11/Xaw3d/Panner.h> | |
35 #include <X11/Xaw3d/Reports.h> | |
36 #else | |
37 #include <X11/Xaw/Box.h> | |
38 #include <X11/Xaw/Simple.h> | |
39 #include <X11/Xaw/MenuButton.h> | |
40 #include <X11/Xaw/SimpleMenu.h> | |
41 #include <X11/Xaw/SmeBSB.h> | |
42 #include <X11/Xaw/SmeLine.h> | |
43 #include <X11/Xaw/Form.h> | |
44 #include <X11/Xaw/Label.h> | |
45 #include <X11/Xaw/Dialog.h> | |
46 #include <X11/Xaw/AsciiText.h> | |
47 #include <X11/Xaw/AsciiSrc.h> | |
48 #include <X11/Xaw/Viewport.h> | |
49 #include <X11/Xaw/Scrollbar.h> | |
50 #include <X11/Xaw/Paned.h> | |
51 #include <X11/Xaw/Panner.h> | |
52 #include <X11/Xaw/Reports.h> | |
53 #endif | |
34 | 54 |
35 #include "defs.h" | 55 #include "defs.h" |
36 #include "tree.h" | 56 #include "tree.h" |
37 #include "dbl.h" | 57 #include "dbl.h" |
38 #include "intf.h" | 58 #include "intf.h" |
1164 colors[ACTION_COLOR].pixel = applRsrcsPtr->action_color; | 1184 colors[ACTION_COLOR].pixel = applRsrcsPtr->action_color; |
1165 XQueryColor(TreeDisplay, cmap, &(colors[ACTION_COLOR])); | 1185 XQueryColor(TreeDisplay, cmap, &(colors[ACTION_COLOR])); |
1166 | 1186 |
1167 TreeDrawingAreaDB = | 1187 TreeDrawingAreaDB = |
1168 DBLcreate_double_buffer(TreeDisplay, | 1188 DBLcreate_double_buffer(TreeDisplay, |
1169 XtWindow(TreeDrawingArea), FALSE, | 1189 XtWindow(TreeDrawingArea), TRUE, |
1170 colors, NUM_COLORS); | 1190 colors, NUM_COLORS); |
1171 | 1191 |
1172 ASSERT(TreeDrawingAreaDB, "could not create double buffer"); | 1192 ASSERT(TreeDrawingAreaDB, "could not create double buffer"); |
1173 | 1193 |
1174 background = DBLinq_background(TreeDrawingAreaDB); | 1194 background = DBLinq_background(TreeDrawingAreaDB); |