File: macinit.r

package info (click to toggle)
readseq 1-15
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 780 kB
  • sloc: ansic: 10,165; makefile: 424; sh: 32
file content (412 lines) | stat: -rw-r--r-- 7,091 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
/*------------------------------------------------------------------------------
#
#
#	MultiFinder-Aware Simple Input/Output Window resource
#
#	for ReadSeq
#
------------------------------------------------------------------------------*/

#include "systypes.r"
#include "types.r"


resource 'MENU' (20000, preload) {
	20000,
	textMenuProc,
	0x7FFFFFFD,
	enabled,
	apple,
	{	/* array: 2 elements */
		/* [1] */
		"About ReadSeq", noIcon, noKey, noMark, plain,
		/* [2] */
		"-", noIcon, noKey, noMark, plain
	}
};

resource 'MENU' (20001, preload) {
	20001,
	textMenuProc,
	0x0,
	enabled,
	"File",
	{	/* array: 11 elements */
		/* [1] */
		"New", noIcon, "N", noMark, plain,
		/* [2] */
		"Open", noIcon, "O", noMark, plain,
		/* [3] */
		"-", noIcon, noKey, noMark, plain,
		/* [4] */
		"Close", noIcon, "W", noMark, plain,
		/* [5] */
		"Save", noIcon, "S", noMark, plain,
		/* [6] */
		"Save As", noIcon, noKey, noMark, plain,
		/* [7] */
		"-", noIcon, noKey, noMark, plain,
		/* [8] */
		"Page Setup", noIcon, noKey, noMark, plain,
		/* [9] */
		"Print", noIcon, noKey, noMark, plain,
		/* [10] */
		"-", noIcon, noKey, noMark, plain,
		/* [11] */
		"Quit", noIcon, "Q", noMark, plain
	}
};

resource 'MENU' (20002, preload) {
	20002,
	textMenuProc,
	0x0,
	enabled,
	"Edit",
	{	/* array: 6 elements */
		/* [1] */
		"Undo", noIcon, "Z", noMark, plain,
		/* [2] */
		"-", noIcon, noKey, noMark, plain,
		/* [3] */
		"Cut", noIcon, "X", noMark, plain,
		/* [4] */
		"Copy", noIcon, "C", noMark, plain,
		/* [5] */
		"Paste", noIcon, "V", noMark, plain,
		/* [6] */
		"Clear", noIcon, noKey, noMark, plain
	}
};

resource 'MENU' (20003, preload) {
	20003,
	textMenuProc,
	allEnabled,
	enabled,
	"Font",
	{	/* array: 0 elements */
	}
};

resource 'ALRT' (20000, purgeable) {
	{98, 108, 314, 405},
	20000,
	{	/* array: 4 elements */
		/* [1] */
		OK, visible, silent,
		/* [2] */
		OK, visible, silent,
		/* [3] */
		OK, visible, silent,
		/* [4] */
		OK, visible, silent
	}
};

resource 'ALRT' (20001, purgeable) {
	{40, 20, 150, 260},
	20001,
	{	/* array: 4 elements */
		/* [1] */
		OK, visible, silent,
		/* [2] */
		OK, visible, silent,
		/* [3] */
		OK, visible, silent,
		/* [4] */
		OK, visible, silent
	}
};

resource 'ALRT' (20002, preload) {
	{72, 64, 212, 372},
	20002,
	{	/* array: 4 elements */
		/* [1] */
		OK, visible, silent,
		/* [2] */
		OK, visible, silent,
		/* [3] */
		OK, visible, silent,
		/* [4] */
		OK, visible, silent
	}
};

resource 'DITL' (20000, purgeable) {
	{	/* array DITLarray: 8 elements */
		/* [1] */
		{191, 98, 211, 178},
		Button {
			enabled,
			"OK"
		},
		/* [2] */
		{110, 24, 130, 256},
		StaticText {
			disabled,
			" Copyright  1990 by d.g.gilbert\n"
		},
		/* [3] */
		{6, 93, 24, 281},
		StaticText {
			disabled,
			"A tool for molecular biology."
		},
		/* [4] */
		{31, 25, 86, 281},
		StaticText {
			disabled,
			"Reads and writes nucleic or protein sequ"
			"ences in various formats. Data files may"
			" have multiple sequences."
		},
		/* [5] */
		{6, 17, 22, 92},
		StaticText {
			disabled,
			"ReadSeq"
		},
		/* [6] */
		{150, 28, 186, 262},
		StaticText {
			disabled,
			"land mail: biology dept., indiana univer"
			"sity, bloomington, in 47405\n"
		},
		/* [7] */
		{129, 25, 153, 258},
		StaticText {
			disabled,
			" e-mail: gilbertd@bio.indiana.edu\n"
		},
		/* [8] */
		{86, 12, 107, 281},
		StaticText {
			disabled,
			"This program may be freely distributed."
		}
	}
};

resource 'DITL' (20001, purgeable) {
	{	/* array DITLarray: 3 elements */
		/* [1] */
		{80, 150, 100, 230},
		Button {
			enabled,
			"OK"
		},
		/* [2] */
		{10, 60, 60, 230},
		StaticText {
			disabled,
			"Error. ^0."
		},
		/* [3] */
		{8, 8, 40, 40},
		Icon {
			disabled,
			2
		}
	}
};

resource 'DITL' (20002, preload) {
	{	/* array DITLarray: 4 elements */
		/* [1] */
		{58, 25, 76, 99},
		Button {
			enabled,
			"Yes"
		},
		/* [2] */
		{86, 25, 104, 99},
		Button {
			enabled,
			"No"
		},
		/* [3] */
		{12, 20, 45, 277},
		StaticText {
			disabled,
			"Save changes before closing?"
		},
		/* [4] */
		{86, 195, 104, 269},
		Button {
			enabled,
			"Cancel"
		}
	}
};

resource 'CNTL' (20000, purgeable, preload) {
	{-1, 465, 272, 481},
	0,
	invisible,
	0,
	0,
	scrollBarProc,
	0,
	""
};

resource 'CNTL' (20001, purgeable, preload) {
	{271, -1, 287, 466},
	0,
	invisible,
	0,
	0,
	scrollBarProc,
	0,
	""
};

data 'pzza' (128, purgeable) {
	$"4D50 5320"                                          /* MPS  */
};

resource 'MBAR' (20000, preload) {
	{	/* array MenuArray: 4 elements */
		/* [1] */
		20000,
		/* [2] */
		20001,
		/* [3] */
		20002,
		/* [4] */
		20003
	}
};

resource 'WIND' (20000, purgeable, preload) {
	{0, 0, 286, 480},
	zoomDocProc,
	invisible,
	noGoAway,
	0x0,
	"untitled"
};

resource 'STR#' (20000, purgeable) {
	{	/* array StringArray: 11 elements */
		/* [1] */
		"You must run on 512Ke or later",
		/* [2] */
		"Application Memory Size is too small",
		/* [3] */
		"Not enough memory to run SIOW",
		/* [4] */
		"Not enough memory to do Cut",
		/* [5] */
		"Cannot do Cut",
		/* [6] */
		"Cannot do Copy",
		/* [7] */
		"Cannot exceed 32,000 characters with Pas"
		"te",
		/* [8] */
		"Not enough memory to do Paste",
		/* [9] */
		"Cannot create window",
		/* [10] */
		"Cannot exceed 32,000 characters",
		/* [11] */
		"Cannot do PasteFont not found"
	}
};

resource 'SIZE' (-1) {
	reserved,
	acceptSuspendResumeEvents,
	reserved,
	canBackground,
	multiFinderAware,
	backgroundAndForeground,
	dontGetFrontClicks,
	ignoreChildDiedEvents,
	not32BitCompatible,
	notHighLevelEventAware,
	onlyLocalHLEvents,
	notStationeryAware,
	dontUseTextEditServices,
	reserved,
	reserved,
	reserved,
	124928,
	38912
};

resource 'SIZE' (0) {
	reserved,
	acceptSuspendResumeEvents,
	reserved,
	canBackground,
	multiFinderAware,
	backgroundAndForeground,
	dontGetFrontClicks,
	ignoreChildDiedEvents,
	not32BitCompatible,
	notHighLevelEventAware,
	onlyLocalHLEvents,
	notStationeryAware,
	dontUseTextEditServices,
	reserved,
	reserved,
	reserved,
	256000,
	38912
};

data 'siow' (0) {
	$"0F52 6561 6453 6571 2069 6E20 5349 4F57"            /* .ReadSeq in SIOW */
};

resource 'BNDL' (128) {
	'siow',
	0,
	{	/* array TypeArray: 2 elements */
		/* [1] */
		'ICN#',
		{	/* array IDArray: 1 elements */
			/* [1] */
			0, 128
		},
		/* [2] */
		'FREF',
		{	/* array IDArray: 1 elements */
			/* [1] */
			0, 128
		}
	}
};

resource 'FREF' (128) {
	'APPL',
	0,
	""
};

resource 'ICN#' (128) {
	{	/* array: 2 elements */
		/* [1] */
		$"0000 0000 0000 0000 0010 4100 0010 2200"
		$"0020 2200 0020 2100 0020 4100 0010 4200"
		$"0010 4200 0010 2200 0020 2100 0020 0100"
		$"00FF FF00 03FF FFE0 0791 03F0 0ED1 0E7C"
		$"1C31 321C 380D C10E 3FFF FFFE 3003 C106"
		$"380D 300E 1E31 0E3C 1FC1 01F8 07FF FFE0"
		$"00FF FE",
		/* [2] */
		$"0000 0000 0000 0000 0010 4100 0010 2200"
		$"0020 2200 0020 2100 0020 4100 0010 4200"
		$"0010 4200 0010 2200 0020 2100 0020 0100"
		$"00FF FF00 03FF FFE0 07FF FFF0 0FFF FFFC"
		$"1FFF FFFC 3FFF FFFE 3FFF FFFE 3FFF FFFE"
		$"3FFF FFFE 1FFF FFFC 1FFF FFF8 07FF FFE0"
		$"00FF FE"
	}
};