| 1 |
! UIMX ascii 2.0 key: 8000 |
| 2 |
|
| 3 |
*file_list.class: topLevelShell |
| 4 |
*file_list.parent: NO_PARENT |
| 5 |
*file_list.static: true |
| 6 |
*file_list.gbldecl: #include <stdio.h>\ |
| 7 |
#include <ExternResources.h> |
| 8 |
*file_list.ispecdecl: |
| 9 |
*file_list.funcdecl: swidget create_file_list()\ |
| 10 |
|
| 11 |
*file_list.funcname: create_file_list |
| 12 |
*file_list.funcdef: "swidget", "<create_file_list>(%)" |
| 13 |
*file_list.icode: |
| 14 |
*file_list.fcode: return(rtrn);\ |
| 15 |
|
| 16 |
*file_list.auxdecl: |
| 17 |
*file_list.name: file_list |
| 18 |
*file_list.x: 302 |
| 19 |
*file_list.y: 321 |
| 20 |
*file_list.width: 260 |
| 21 |
*file_list.height: 353 |
| 22 |
*file_list.iconName: "List selection" |
| 23 |
*file_list.keyboardFocusPolicy: "pointer" |
| 24 |
*file_list.background: "AntiqueWhite" |
| 25 |
*file_list.geometry: "+100+100" |
| 26 |
*file_list.title: "List selection" |
| 27 |
|
| 28 |
*form6.class: form |
| 29 |
*form6.parent: file_list |
| 30 |
*form6.static: true |
| 31 |
*form6.name: form6 |
| 32 |
*form6.resizePolicy: "resize_none" |
| 33 |
*form6.unitType: "pixels" |
| 34 |
*form6.x: 0 |
| 35 |
*form6.y: 0 |
| 36 |
*form6.width: 214 |
| 37 |
*form6.height: 352 |
| 38 |
*form6.background: ApplicBackground |
| 39 |
|
| 40 |
*pushButton9.class: pushButton |
| 41 |
*pushButton9.parent: form6 |
| 42 |
*pushButton9.static: true |
| 43 |
*pushButton9.name: pushButton9 |
| 44 |
*pushButton9.x: 0 |
| 45 |
*pushButton9.y: 318 |
| 46 |
*pushButton9.width: 260 |
| 47 |
*pushButton9.height: 35 |
| 48 |
*pushButton9.background: ButtonBackground |
| 49 |
*pushButton9.fontList: BoldTextFont |
| 50 |
*pushButton9.labelString: "Cancel" |
| 51 |
*pushButton9.activateCallback: {\ |
| 52 |
extern swidget FileListInterface;\ |
| 53 |
\ |
| 54 |
UxPopdownInterface(FileListInterface);\ |
| 55 |
} |
| 56 |
*pushButton9.foreground: ButtonForeground |
| 57 |
|
| 58 |
*scrolledWindow1.class: scrolledWindow |
| 59 |
*scrolledWindow1.parent: form6 |
| 60 |
*scrolledWindow1.static: true |
| 61 |
*scrolledWindow1.name: scrolledWindow1 |
| 62 |
*scrolledWindow1.scrollingPolicy: "application_defined" |
| 63 |
*scrolledWindow1.x: 21 |
| 64 |
*scrolledWindow1.y: 2 |
| 65 |
*scrolledWindow1.visualPolicy: "variable" |
| 66 |
*scrolledWindow1.scrollBarDisplayPolicy: "static" |
| 67 |
*scrolledWindow1.shadowThickness: 0 |
| 68 |
*scrolledWindow1.scrollBarPlacement: "bottom_left" |
| 69 |
*scrolledWindow1.background: ListBackground |
| 70 |
*scrolledWindow1.height: 316 |
| 71 |
*scrolledWindow1.rightAttachment: "attach_form" |
| 72 |
*scrolledWindow1.rightOffset: 2 |
| 73 |
*scrolledWindow1.leftAttachment: "attach_form" |
| 74 |
*scrolledWindow1.leftOffset: 2 |
| 75 |
*scrolledWindow1.width: 270 |
| 76 |
|
| 77 |
*sl_file_list.class: scrolledList |
| 78 |
*sl_file_list.parent: scrolledWindow1 |
| 79 |
*sl_file_list.static: true |
| 80 |
*sl_file_list.name: sl_file_list |
| 81 |
*sl_file_list.width: 191 |
| 82 |
*sl_file_list.height: 316 |
| 83 |
*sl_file_list.scrollBarDisplayPolicy: "static" |
| 84 |
*sl_file_list.listSizePolicy: "variable" |
| 85 |
*sl_file_list.background: TextBackground |
| 86 |
*sl_file_list.fontList: SmallFont |
| 87 |
*sl_file_list.visibleItemCount: 19 |
| 88 |
*sl_file_list.browseSelectionCallback: {\ |
| 89 |
char *choice;\ |
| 90 |
XmListCallbackStruct *cbs;\ |
| 91 |
extern int IndexMemory;\ |
| 92 |
\ |
| 93 |
cbs = (XmListCallbackStruct *)UxCallbackArg;\ |
| 94 |
XmStringGetLtoR(cbs->item, XmSTRING_DEFAULT_CHARSET, &choice);\ |
| 95 |
\ |
| 96 |
ChoiceList(choice);\ |
| 97 |
\ |
| 98 |
} |
| 99 |
*sl_file_list.createCallback: {\ |
| 100 |
extern Widget FileListWidget;\ |
| 101 |
\ |
| 102 |
FileListWidget = UxWidget;\ |
| 103 |
} |
| 104 |
*sl_file_list.foreground: ListForeground |
| 105 |
|