JPRED-2 Add sources of all binaries (except alscript) to Git
[jpred.git] / sources / readseq / macinit.r
1 /*------------------------------------------------------------------------------
2 #
3 #
4 #       MultiFinder-Aware Simple Input/Output Window resource
5 #
6 #       for ReadSeq
7 #
8 ------------------------------------------------------------------------------*/
9
10 #include "systypes.r"
11 #include "types.r"
12
13
14 resource 'MENU' (20000, preload) {
15         20000,
16         textMenuProc,
17         0x7FFFFFFD,
18         enabled,
19         apple,
20         {       /* array: 2 elements */
21                 /* [1] */
22                 "About ReadSeqÉ", noIcon, noKey, noMark, plain,
23                 /* [2] */
24                 "-", noIcon, noKey, noMark, plain
25         }
26 };
27
28 resource 'MENU' (20001, preload) {
29         20001,
30         textMenuProc,
31         0x0,
32         enabled,
33         "File",
34         {       /* array: 11 elements */
35                 /* [1] */
36                 "New", noIcon, "N", noMark, plain,
37                 /* [2] */
38                 "Open", noIcon, "O", noMark, plain,
39                 /* [3] */
40                 "-", noIcon, noKey, noMark, plain,
41                 /* [4] */
42                 "Close", noIcon, "W", noMark, plain,
43                 /* [5] */
44                 "Save", noIcon, "S", noMark, plain,
45                 /* [6] */
46                 "Save AsÉ", noIcon, noKey, noMark, plain,
47                 /* [7] */
48                 "-", noIcon, noKey, noMark, plain,
49                 /* [8] */
50                 "Page SetupÉ", noIcon, noKey, noMark, plain,
51                 /* [9] */
52                 "PrintÉ", noIcon, noKey, noMark, plain,
53                 /* [10] */
54                 "-", noIcon, noKey, noMark, plain,
55                 /* [11] */
56                 "Quit", noIcon, "Q", noMark, plain
57         }
58 };
59
60 resource 'MENU' (20002, preload) {
61         20002,
62         textMenuProc,
63         0x0,
64         enabled,
65         "Edit",
66         {       /* array: 6 elements */
67                 /* [1] */
68                 "Undo", noIcon, "Z", noMark, plain,
69                 /* [2] */
70                 "-", noIcon, noKey, noMark, plain,
71                 /* [3] */
72                 "Cut", noIcon, "X", noMark, plain,
73                 /* [4] */
74                 "Copy", noIcon, "C", noMark, plain,
75                 /* [5] */
76                 "Paste", noIcon, "V", noMark, plain,
77                 /* [6] */
78                 "Clear", noIcon, noKey, noMark, plain
79         }
80 };
81
82 resource 'MENU' (20003, preload) {
83         20003,
84         textMenuProc,
85         allEnabled,
86         enabled,
87         "Font",
88         {       /* array: 0 elements */
89         }
90 };
91
92 resource 'ALRT' (20000, purgeable) {
93         {98, 108, 314, 405},
94         20000,
95         {       /* array: 4 elements */
96                 /* [1] */
97                 OK, visible, silent,
98                 /* [2] */
99                 OK, visible, silent,
100                 /* [3] */
101                 OK, visible, silent,
102                 /* [4] */
103                 OK, visible, silent
104         }
105 };
106
107 resource 'ALRT' (20001, purgeable) {
108         {40, 20, 150, 260},
109         20001,
110         {       /* array: 4 elements */
111                 /* [1] */
112                 OK, visible, silent,
113                 /* [2] */
114                 OK, visible, silent,
115                 /* [3] */
116                 OK, visible, silent,
117                 /* [4] */
118                 OK, visible, silent
119         }
120 };
121
122 resource 'ALRT' (20002, preload) {
123         {72, 64, 212, 372},
124         20002,
125         {       /* array: 4 elements */
126                 /* [1] */
127                 OK, visible, silent,
128                 /* [2] */
129                 OK, visible, silent,
130                 /* [3] */
131                 OK, visible, silent,
132                 /* [4] */
133                 OK, visible, silent
134         }
135 };
136
137 resource 'DITL' (20000, purgeable) {
138         {       /* array DITLarray: 8 elements */
139                 /* [1] */
140                 {191, 98, 211, 178},
141                 Button {
142                         enabled,
143                         "OK"
144                 },
145                 /* [2] */
146                 {110, 24, 130, 256},
147                 StaticText {
148                         disabled,
149                         " Copyright © 1990 by d.g.gilbert\n"
150                 },
151                 /* [3] */
152                 {6, 93, 24, 281},
153                 StaticText {
154                         disabled,
155                         "A tool for molecular biology."
156                 },
157                 /* [4] */
158                 {31, 25, 86, 281},
159                 StaticText {
160                         disabled,
161                         "Reads and writes nucleic or protein sequ"
162                         "ences in various formats. Data files may"
163                         " have multiple sequences."
164                 },
165                 /* [5] */
166                 {6, 17, 22, 92},
167                 StaticText {
168                         disabled,
169                         "ReadSeq"
170                 },
171                 /* [6] */
172                 {150, 28, 186, 262},
173                 StaticText {
174                         disabled,
175                         "land mail: biology dept., indiana univer"
176                         "sity, bloomington, in 47405\n"
177                 },
178                 /* [7] */
179                 {129, 25, 153, 258},
180                 StaticText {
181                         disabled,
182                         " e-mail: gilbertd@bio.indiana.edu\n"
183                 },
184                 /* [8] */
185                 {86, 12, 107, 281},
186                 StaticText {
187                         disabled,
188                         "This program may be freely distributed."
189                 }
190         }
191 };
192
193 resource 'DITL' (20001, purgeable) {
194         {       /* array DITLarray: 3 elements */
195                 /* [1] */
196                 {80, 150, 100, 230},
197                 Button {
198                         enabled,
199                         "OK"
200                 },
201                 /* [2] */
202                 {10, 60, 60, 230},
203                 StaticText {
204                         disabled,
205                         "Error. ^0."
206                 },
207                 /* [3] */
208                 {8, 8, 40, 40},
209                 Icon {
210                         disabled,
211                         2
212                 }
213         }
214 };
215
216 resource 'DITL' (20002, preload) {
217         {       /* array DITLarray: 4 elements */
218                 /* [1] */
219                 {58, 25, 76, 99},
220                 Button {
221                         enabled,
222                         "Yes"
223                 },
224                 /* [2] */
225                 {86, 25, 104, 99},
226                 Button {
227                         enabled,
228                         "No"
229                 },
230                 /* [3] */
231                 {12, 20, 45, 277},
232                 StaticText {
233                         disabled,
234                         "Save changes before closing?"
235                 },
236                 /* [4] */
237                 {86, 195, 104, 269},
238                 Button {
239                         enabled,
240                         "Cancel"
241                 }
242         }
243 };
244
245 resource 'CNTL' (20000, purgeable, preload) {
246         {-1, 465, 272, 481},
247         0,
248         invisible,
249         0,
250         0,
251         scrollBarProc,
252         0,
253         ""
254 };
255
256 resource 'CNTL' (20001, purgeable, preload) {
257         {271, -1, 287, 466},
258         0,
259         invisible,
260         0,
261         0,
262         scrollBarProc,
263         0,
264         ""
265 };
266
267 data 'pzza' (128, purgeable) {
268         $"4D50 5320"                                          /* MPS  */
269 };
270
271 resource 'MBAR' (20000, preload) {
272         {       /* array MenuArray: 4 elements */
273                 /* [1] */
274                 20000,
275                 /* [2] */
276                 20001,
277                 /* [3] */
278                 20002,
279                 /* [4] */
280                 20003
281         }
282 };
283
284 resource 'WIND' (20000, purgeable, preload) {
285         {0, 0, 286, 480},
286         zoomDocProc,
287         invisible,
288         noGoAway,
289         0x0,
290         "untitled"
291 };
292
293 resource 'STR#' (20000, purgeable) {
294         {       /* array StringArray: 11 elements */
295                 /* [1] */
296                 "You must run on 512Ke or later",
297                 /* [2] */
298                 "Application Memory Size is too small",
299                 /* [3] */
300                 "Not enough memory to run SIOW",
301                 /* [4] */
302                 "Not enough memory to do Cut",
303                 /* [5] */
304                 "Cannot do Cut",
305                 /* [6] */
306                 "Cannot do Copy",
307                 /* [7] */
308                 "Cannot exceed 32,000 characters with Pas"
309                 "te",
310                 /* [8] */
311                 "Not enough memory to do Paste",
312                 /* [9] */
313                 "Cannot create window",
314                 /* [10] */
315                 "Cannot exceed 32,000 characters",
316                 /* [11] */
317                 "Cannot do PasteFont not found"
318         }
319 };
320
321 resource 'SIZE' (-1) {
322         reserved,
323         acceptSuspendResumeEvents,
324         reserved,
325         canBackground,
326         multiFinderAware,
327         backgroundAndForeground,
328         dontGetFrontClicks,
329         ignoreChildDiedEvents,
330         not32BitCompatible,
331         notHighLevelEventAware,
332         onlyLocalHLEvents,
333         notStationeryAware,
334         dontUseTextEditServices,
335         reserved,
336         reserved,
337         reserved,
338         124928,
339         38912
340 };
341
342 resource 'SIZE' (0) {
343         reserved,
344         acceptSuspendResumeEvents,
345         reserved,
346         canBackground,
347         multiFinderAware,
348         backgroundAndForeground,
349         dontGetFrontClicks,
350         ignoreChildDiedEvents,
351         not32BitCompatible,
352         notHighLevelEventAware,
353         onlyLocalHLEvents,
354         notStationeryAware,
355         dontUseTextEditServices,
356         reserved,
357         reserved,
358         reserved,
359         256000,
360         38912
361 };
362
363 data 'siow' (0) {
364         $"0F52 6561 6453 6571 2069 6E20 5349 4F57"            /* .ReadSeq in SIOW */
365 };
366
367 resource 'BNDL' (128) {
368         'siow',
369         0,
370         {       /* array TypeArray: 2 elements */
371                 /* [1] */
372                 'ICN#',
373                 {       /* array IDArray: 1 elements */
374                         /* [1] */
375                         0, 128
376                 },
377                 /* [2] */
378                 'FREF',
379                 {       /* array IDArray: 1 elements */
380                         /* [1] */
381                         0, 128
382                 }
383         }
384 };
385
386 resource 'FREF' (128) {
387         'APPL',
388         0,
389         ""
390 };
391
392 resource 'ICN#' (128) {
393         {       /* array: 2 elements */
394                 /* [1] */
395                 $"0000 0000 0000 0000 0010 4100 0010 2200"
396                 $"0020 2200 0020 2100 0020 4100 0010 4200"
397                 $"0010 4200 0010 2200 0020 2100 0020 0100"
398                 $"00FF FF00 03FF FFE0 0791 03F0 0ED1 0E7C"
399                 $"1C31 321C 380D C10E 3FFF FFFE 3003 C106"
400                 $"380D 300E 1E31 0E3C 1FC1 01F8 07FF FFE0"
401                 $"00FF FE",
402                 /* [2] */
403                 $"0000 0000 0000 0000 0010 4100 0010 2200"
404                 $"0020 2200 0020 2100 0020 4100 0010 4200"
405                 $"0010 4200 0010 2200 0020 2100 0020 0100"
406                 $"00FF FF00 03FF FFE0 07FF FFF0 0FFF FFFC"
407                 $"1FFF FFFC 3FFF FFFE 3FFF FFFE 3FFF FFFE"
408                 $"3FFF FFFE 1FFF FFFC 1FFF FFF8 07FF FFE0"
409                 $"00FF FE"
410         }
411 };
412