| 1 |
! UIMX ascii 2.0 key: 6992 |
| 2 |
|
| 3 |
*translation.table: SaveTextTab |
| 4 |
*translation.parent: SaveAsShell |
| 5 |
*translation.policy: override |
| 6 |
*translation.<Key>Delete: delete-previous-character() |
| 7 |
*translation.<Key>BackSpace: delete-previous-character() |
| 8 |
*translation.<Key>osfBackSpace: delete-previous-character() |
| 9 |
*translation.<Key>osfDelete: delete-previous-character() |
| 10 |
|
| 11 |
*SaveAsShell.class: topLevelShell |
| 12 |
*SaveAsShell.parent: NO_PARENT |
| 13 |
*SaveAsShell.static: true |
| 14 |
*SaveAsShell.gbldecl: #include <stdio.h>\ |
| 15 |
#include <ExternResources.h>\ |
| 16 |
#include <alice_global.h>\ |
| 17 |
#include <alice_help.h>\ |
| 18 |
|
| 19 |
*SaveAsShell.ispecdecl: |
| 20 |
*SaveAsShell.funcdecl: swidget create_SaveAsShell()\ |
| 21 |
|
| 22 |
*SaveAsShell.funcname: create_SaveAsShell |
| 23 |
*SaveAsShell.funcdef: "swidget", "<create_SaveAsShell>(%)" |
| 24 |
*SaveAsShell.icode: |
| 25 |
*SaveAsShell.fcode: return(rtrn);\ |
| 26 |
|
| 27 |
*SaveAsShell.auxdecl: |
| 28 |
*SaveAsShell.name: SaveAsShell |
| 29 |
*SaveAsShell.x: 456 |
| 30 |
*SaveAsShell.y: 426 |
| 31 |
*SaveAsShell.width: 296 |
| 32 |
*SaveAsShell.height: 133 |
| 33 |
*SaveAsShell.iconName: "Save As" |
| 34 |
*SaveAsShell.keyboardFocusPolicy: "pointer" |
| 35 |
|
| 36 |
*SaveAsTopForm.class: form |
| 37 |
*SaveAsTopForm.parent: SaveAsShell |
| 38 |
*SaveAsTopForm.static: true |
| 39 |
*SaveAsTopForm.name: SaveAsTopForm |
| 40 |
*SaveAsTopForm.resizePolicy: "resize_none" |
| 41 |
*SaveAsTopForm.unitType: "pixels" |
| 42 |
*SaveAsTopForm.x: 76 |
| 43 |
*SaveAsTopForm.y: 62 |
| 44 |
*SaveAsTopForm.width: 142 |
| 45 |
*SaveAsTopForm.height: 110 |
| 46 |
*SaveAsTopForm.background: WindowBackground |
| 47 |
|
| 48 |
*TextLabel.class: label |
| 49 |
*TextLabel.parent: SaveAsTopForm |
| 50 |
*TextLabel.static: true |
| 51 |
*TextLabel.name: TextLabel |
| 52 |
*TextLabel.x: 10 |
| 53 |
*TextLabel.y: 18 |
| 54 |
*TextLabel.width: 110 |
| 55 |
*TextLabel.height: 34 |
| 56 |
*TextLabel.background: LabelBackground |
| 57 |
*TextLabel.fontList: TextFont |
| 58 |
*TextLabel.labelString: "Output file:" |
| 59 |
*TextLabel.foreground: TextForeground |
| 60 |
*TextLabel.highlightColor: "Black" |
| 61 |
|
| 62 |
*SaveAsText.class: text |
| 63 |
*SaveAsText.parent: SaveAsTopForm |
| 64 |
*SaveAsText.static: true |
| 65 |
*SaveAsText.name: SaveAsText |
| 66 |
*SaveAsText.x: 126 |
| 67 |
*SaveAsText.y: 16 |
| 68 |
*SaveAsText.width: 152 |
| 69 |
*SaveAsText.height: 38 |
| 70 |
*SaveAsText.background: TextBackground |
| 71 |
*SaveAsText.fontList: TextFont |
| 72 |
*SaveAsText.createCallback: {\ |
| 73 |
UxPutText(UxFindSwidget("SaveAsText"),"noname.bdf" );\ |
| 74 |
} |
| 75 |
*SaveAsText.translations: SaveTextTab |
| 76 |
*SaveAsText.foreground: TextForeground |
| 77 |
*SaveAsText.highlightColor: "Black" |
| 78 |
|
| 79 |
*SaveAsForm2.class: form |
| 80 |
*SaveAsForm2.parent: SaveAsTopForm |
| 81 |
*SaveAsForm2.static: true |
| 82 |
*SaveAsForm2.name: SaveAsForm2 |
| 83 |
*SaveAsForm2.resizePolicy: "resize_none" |
| 84 |
*SaveAsForm2.x: 0 |
| 85 |
*SaveAsForm2.y: 80 |
| 86 |
*SaveAsForm2.width: 296 |
| 87 |
*SaveAsForm2.height: 52 |
| 88 |
*SaveAsForm2.background: ButtonBackground |
| 89 |
|
| 90 |
*OkSaveAs.class: pushButton |
| 91 |
*OkSaveAs.parent: SaveAsForm2 |
| 92 |
*OkSaveAs.static: false |
| 93 |
*OkSaveAs.name: OkSaveAs |
| 94 |
*OkSaveAs.x: 20 |
| 95 |
*OkSaveAs.y: 10 |
| 96 |
*OkSaveAs.width: 90 |
| 97 |
*OkSaveAs.height: 30 |
| 98 |
*OkSaveAs.background: ButtonBackground |
| 99 |
*OkSaveAs.fontList: BoldTextFont |
| 100 |
*OkSaveAs.foreground: ButtonForeground |
| 101 |
*OkSaveAs.labelString: "Ok" |
| 102 |
*OkSaveAs.highlightOnEnter: "true" |
| 103 |
*OkSaveAs.activateCallback: {\ |
| 104 |
strcpy(specSaveName,UxGetText(UxFindSwidget("SaveAsText")));\ |
| 105 |
save_file(specSaveName);\ |
| 106 |
UxPopdownInterface(UxFindSwidget("SaveAsShell"));\ |
| 107 |
\ |
| 108 |
} |
| 109 |
*OkSaveAs.highlightColor: "#000000" |
| 110 |
|
| 111 |
*CancelSaveAs.class: pushButton |
| 112 |
*CancelSaveAs.parent: SaveAsForm2 |
| 113 |
*CancelSaveAs.static: false |
| 114 |
*CancelSaveAs.name: CancelSaveAs |
| 115 |
*CancelSaveAs.x: 126 |
| 116 |
*CancelSaveAs.y: 10 |
| 117 |
*CancelSaveAs.width: 90 |
| 118 |
*CancelSaveAs.height: 30 |
| 119 |
*CancelSaveAs.background: ButtonBackground |
| 120 |
*CancelSaveAs.fontList: BoldTextFont |
| 121 |
*CancelSaveAs.foreground: CancelForeground |
| 122 |
*CancelSaveAs.labelString: "Cancel" |
| 123 |
*CancelSaveAs.activateCallback: {\ |
| 124 |
UxPopdownInterface(UxFindSwidget("SaveAsShell"));\ |
| 125 |
} |
| 126 |
*CancelSaveAs.highlightOnEnter: "true" |
| 127 |
*CancelSaveAs.highlightColor: "#000000" |
| 128 |
|
| 129 |
*SaveAsSeparator.class: separator |
| 130 |
*SaveAsSeparator.parent: SaveAsTopForm |
| 131 |
*SaveAsSeparator.static: true |
| 132 |
*SaveAsSeparator.name: SaveAsSeparator |
| 133 |
*SaveAsSeparator.x: 0 |
| 134 |
*SaveAsSeparator.y: 72 |
| 135 |
*SaveAsSeparator.width: 300 |
| 136 |
*SaveAsSeparator.height: 10 |
| 137 |
*SaveAsSeparator.background: ButtonBackground |
| 138 |
|