Debian Codegraph @

gui/XAlice/prj/sh_list1.i

raw
1 ! UIMX ascii 2.0 key: 1162
2
3 *sh_list1.class: topLevelShell
4 *sh_list1.parent: NO_PARENT
5 *sh_list1.static: false
6 *sh_list1.gbldecl: #include <stdio.h>\
7 #include <ExternResources.h>\
8 #include <alice_global.h>\
9
10 *sh_list1.ispecdecl:
11 *sh_list1.funcdecl: swidget create_sh_list1()\
12
13 *sh_list1.funcname: create_sh_list1
14 *sh_list1.funcdef: "swidget", "<create_sh_list1>(%)"
15 *sh_list1.icode:
16 *sh_list1.fcode: return(rtrn);\
17
18 *sh_list1.auxdecl:
19 *sh_list1.name: sh_list1
20 *sh_list1.x: 468
21 *sh_list1.y: 426
22 *sh_list1.width: 210
23 *sh_list1.height: 350
24 *sh_list1.iconName: "List selection"
25 *sh_list1.keyboardFocusPolicy: "pointer"
26 *sh_list1.background: SHelpBackground
27 *sh_list1.borderColor: WindowBackground
28 *sh_list1.defaultFontList: TextFont
29
30 *form4.class: form
31 *form4.parent: sh_list1
32 *form4.static: false
33 *form4.name: form4
34 *form4.resizePolicy: "resize_none"
35 *form4.unitType: "pixels"
36 *form4.x: 0
37 *form4.y: 0
38 *form4.width: 305
39 *form4.height: 240
40 *form4.background: WindowBackground
41 *form4.foreground: TextForeground
42
43 *pushButton2.class: pushButton
44 *pushButton2.parent: form4
45 *pushButton2.static: false
46 *pushButton2.name: pushButton2
47 *pushButton2.x: 0
48 *pushButton2.y: 314
49 *pushButton2.width: 210
50 *pushButton2.height: 35
51 *pushButton2.background: ButtonBackground
52 *pushButton2.fontList: BoldTextFont
53 *pushButton2.labelString: "Cancel"
54 *pushButton2.activateCallback: {\
55 extern swidget ListPopup;\
56 \
57 UxPopdownInterface(ListPopup);\
58 }
59 *pushButton2.foreground: CancelForeground
60 *pushButton2.highlightOnEnter: "true"
61
62 *scrolledWindow1.class: scrolledWindow
63 *scrolledWindow1.parent: form4
64 *scrolledWindow1.static: false
65 *scrolledWindow1.name: scrolledWindow1
66 *scrolledWindow1.scrollingPolicy: "application_defined"
67 *scrolledWindow1.x: 0
68 *scrolledWindow1.y: 0
69 *scrolledWindow1.visualPolicy: "variable"
70 *scrolledWindow1.scrollBarDisplayPolicy: "static"
71 *scrolledWindow1.shadowThickness: 0
72 *scrolledWindow1.scrollBarPlacement: "bottom_left"
73 *scrolledWindow1.background: WindowBackground
74 *scrolledWindow1.height: 314
75 *scrolledWindow1.foreground: TextForeground
76 *scrolledWindow1.bottomShadowColor: WindowBackground
77 *scrolledWindow1.topShadowColor: "Black"
78
79 *scrolledList1.class: scrolledList
80 *scrolledList1.parent: scrolledWindow1
81 *scrolledList1.static: false
82 *scrolledList1.name: scrolledList1
83 *scrolledList1.width: 191
84 *scrolledList1.height: 184
85 *scrolledList1.scrollBarDisplayPolicy: "static"
86 *scrolledList1.listSizePolicy: "constant"
87 *scrolledList1.background: SHelpBackground
88 *scrolledList1.fontList: TextFont
89 *scrolledList1.visibleItemCount: 15
90 *scrolledList1.browseSelectionCallback: {\
91 char *choice,prgname[40];\
92 XmListCallbackStruct *cbs;\
93 extern swidget TextSwidget, ListPopup;\
94 /*UxPopdownInterface(ListPopup); */\
95 cbs = (XmListCallbackStruct *)UxCallbackArg;\
96 \
97 XmStringGetLtoR(cbs->item, XmSTRING_DEFAULT_CHARSET, &choice);\
98 switch(caseList)\
99 {\
100 case CASEBDF:\
101 strcpy(specImageName,choice);\
102 read_image(specImageName);\
103 UxPopdownInterface(ListPopup);\
104 break;\
105 case CASEPRG: \
106 strcpy(prgname,choice);\
107 read_prg(prgname);\
108 UxPopdownInterface(ListPopup);\
109 break;\
110 case OVERBDF:\
111 read_image_over(choice);\
112 break;\
113 }\
114 XtFree(choice); \
115 \
116 \
117 }
118 *scrolledList1.createCallback: {\
119 extern Widget FileListWidget;\
120 \
121 /*\
122 FileListWidget = UxWidget;\
123 */\
124 }
125 *scrolledList1.foreground: TextForeground
126 *scrolledList1.highlightColor: "Black"
127