1/* mac/scrnmgr/ScrnMgr.r: resources for scrnmgr code
2
3   Copyright (c) 1989-1991 Curtis McCauley, James E. Wilson
4
5   You may copy this subroutine package freely, modify it as you desire,
6   and distribute it at will, as long as the copyright notice in the source
7   material is not disturbed, excepting that no one may use this package or
8   any part of it for commercial purposes of any kind without the express
9   written consent of its author. */
10
11#include "Types.r"
12
13type 'INFO'	{
14	rect;
15	integer;
16	longint white, black, red, green, blue, cyan, magenta, yellow;
17	longint white, black, red, green, blue, cyan, magenta, yellow;
18};
19
20type 'acur' {
21	integer = $$Countof(cursors);
22	integer = 0;
23	array cursors {
24		integer;
25		integer = 0;
26	};
27};
28
29resource 'acur' (128, "Rotating Watch") {
30	{ 256, 257, 258, 259, 260, 261, 262, 263 }
31};
32
33resource 'CURS' (256) {
34	$"3F 00 3F 00 3F 00 3F 00 40 80 84 40 84 40 84 60"
35	$"9C 60 80 40 80 40 40 80 3F 00 3F 00 3F 00 3F",
36	$"3F 00 3F 00 3F 00 3F 00 7F 80 FF C0 FF C0 FF C0"
37	$"FF C0 FF C0 FF C0 7F 80 3F 00 3F 00 3F 00 3F",
38	{8, 8}
39};
40
41resource 'CURS' (257) {
42	$"3F 00 3F 00 3F 00 3F 00 40 80 80 40 81 40 82 60"
43	$"9C 60 80 40 80 40 40 80 3F 00 3F 00 3F 00 3F",
44	$"3F 00 3F 00 3F 00 3F 00 7F 80 FF C0 FF C0 FF C0"
45	$"FF C0 FF C0 FF C0 7F 80 3F 00 3F 00 3F 00 3F",
46	{8, 8}
47};
48
49resource 'CURS' (258) {
50	$"3F 00 3F 00 3F 00 3F 00 40 80 80 40 80 40 80 60"
51	$"9F 60 80 40 80 40 40 80 3F 00 3F 00 3F 00 3F",
52	$"3F 00 3F 00 3F 00 3F 00 7F 80 FF C0 FF C0 FF C0"
53	$"FF C0 FF C0 FF C0 7F 80 3F 00 3F 00 3F 00 3F",
54	{8, 8}
55};
56
57resource 'CURS' (259) {
58	$"3F 00 3F 00 3F 00 3F 00 40 80 80 40 80 40 80 60"
59	$"9C 60 82 40 80 40 40 80 3F 00 3F 00 3F 00 3F",
60	$"3F 00 3F 00 3F 00 3F 00 7F 80 FF C0 FF C0 FF C0"
61	$"FF C0 FF C0 FF C0 7F 80 3F 00 3F 00 3F 00 3F",
62	{8, 8}
63};
64
65resource 'CURS' (260) {
66	$"3F 00 3F 00 3F 00 3F 00 40 80 80 40 80 40 80 60"
67	$"9C 60 84 40 84 40 40 80 3F 00 3F 00 3F 00 3F",
68	$"3F 00 3F 00 3F 00 3F 00 7F 80 FF C0 FF C0 FF C0"
69	$"FF C0 FF C0 FF C0 7F 80 3F 00 3F 00 3F 00 3F",
70	{8, 8}
71};
72
73resource 'CURS' (261) {
74	$"3F 00 3F 00 3F 00 3F 00 40 80 80 40 80 40 80 60"
75	$"9C 60 88 40 90 40 40 80 3F 00 3F 00 3F 00 3F",
76	$"3F 00 3F 00 3F 00 3F 00 7F 80 FF C0 FF C0 FF C0"
77	$"FF C0 FF C0 FF C0 7F 80 3F 00 3F 00 3F 00 3F",
78	{8, 8}
79};
80
81resource 'CURS' (262) {
82	$"3F 00 3F 00 3F 00 3F 00 40 80 80 40 80 40 80 60"
83	$"BC 60 80 40 80 40 40 80 3F 00 3F 00 3F 00 3F",
84	$"3F 00 3F 00 3F 00 3F 00 7F 80 FF C0 FF C0 FF C0"
85	$"FF C0 FF C0 FF C0 7F 80 3F 00 3F 00 3F 00 3F",
86	{8, 8}
87};
88
89resource 'CURS' (263) {
90	$"3F 00 3F 00 3F 00 3F 00 40 80 80 40 90 40 88 60"
91	$"9C 60 80 40 80 40 40 80 3F 00 3F 00 3F 00 3F",
92	$"3F 00 3F 00 3F 00 3F 00 7F 80 FF C0 FF C0 FF C0"
93	$"FF C0 FF C0 FF C0 7F 80 3F 00 3F 00 3F 00 3F",
94	{8, 8}
95};
96
97resource 'STR ' (128, "About Title", purgeable) {
98	"About ScrnMgr\311"
99};
100
101resource 'STR ' (129, "Font Name", purgeable) {
102	"Monaco"
103};
104
105resource 'DLOG' (128, "About", purgeable) {
106	{44, 26, 162, 314},
107	dBoxProc,
108	invisible,
109	noGoAway,
110	0x0,
111	128,
112	""
113};
114
115resource 'DLOG' (129, "Colors", purgeable) {
116	{56, 32, 228, 364},
117	dBoxProc,
118	invisible,
119	noGoAway,
120	0x0,
121	129,
122	""
123};
124
125resource 'DLOG' (130, "Yes or No", purgeable) {
126	{40, 40, 142, 300},
127	dBoxProc,
128	invisible,
129	noGoAway,
130	0x0,
131	130,
132	""
133};
134
135resource 'DITL' (128, "About", purgeable) {
136	{ /* array DITLarray: 4 elements */
137		/* [1] */
138		{73, 103, 97, 191},
139		Button {
140			enabled,
141			"OK"
142		},
143		/* [2] */
144		{80, 158, 89, 167},
145		UserItem {
146			disabled
147		},
148		/* [3] */
149		{16, 8, 32, 273},
150		StaticText {
151			enabled,
152			"ScrnMgr: Version 1.0 22 July 1989"
153		},
154		/* [4] */
155		{40, 8, 56, 120},
156		StaticText {
157			enabled,
158			"Curtis McCauley"
159		}
160	}
161};
162
163resource 'DITL' (129, "Colors", purgeable) {
164	{ /* array DITLarray: 23 elements */
165		/* [1] */
166		{40, 256, 60, 316},
167		Button {
168			enabled,
169			"OK"
170		},
171		/* [2] */
172		{88, 256, 108, 316},
173		Button {
174			enabled,
175			"Cancel"
176		},
177		/* [3] */
178		{32, 32, 48, 112},
179		RadioButton {
180			enabled,
181			"White"
182		},
183		/* [4] */
184		{48, 32, 64, 112},
185		RadioButton {
186			enabled,
187			"Black"
188		},
189		/* [5] */
190		{64, 32, 80, 112},
191		RadioButton {
192			enabled,
193			"Red"
194		},
195		/* [6] */
196		{80, 32, 96, 112},
197		RadioButton {
198			enabled,
199			"Green"
200		},
201		/* [7] */
202		{96, 32, 112, 112},
203		RadioButton {
204			enabled,
205			"Blue"
206		},
207		/* [8] */
208		{112, 32, 128, 112},
209		RadioButton {
210			enabled,
211			"Cyan"
212		},
213		/* [9] */
214		{128, 32, 144, 112},
215		RadioButton {
216			enabled,
217			"Magenta"
218		},
219		/* [10] */
220		{144, 32, 160, 112},
221		RadioButton {
222			enabled,
223			"Yellow"
224		},
225		/* [11] */
226		{32, 152, 48, 232},
227		RadioButton {
228			enabled,
229			"White"
230		},
231		/* [12] */
232		{48, 152, 64, 232},
233		RadioButton {
234			enabled,
235			"Black"
236		},
237		/* [13] */
238		{64, 152, 80, 232},
239		RadioButton {
240			enabled,
241			"Red"
242		},
243		/* [14] */
244		{80, 152, 96, 232},
245		RadioButton {
246			enabled,
247			"Green"
248		},
249		/* [15] */
250		{96, 152, 112, 232},
251		RadioButton {
252			enabled,
253			"Blue"
254		},
255		/* [16] */
256		{112, 152, 128, 232},
257		RadioButton {
258			enabled,
259			"Cyan"
260		},
261		/* [17] */
262		{128, 152, 144, 232},
263		RadioButton {
264			enabled,
265			"Magenta"
266		},
267		/* [18] */
268		{144, 152, 160, 232},
269		RadioButton {
270			enabled,
271			"Yellow"
272		},
273		/* [19] */
274		{16, 16, 168, 120},
275		UserItem {
276			disabled
277		},
278		/* [20] */
279		{16, 136, 168, 240},
280		UserItem {
281			disabled
282		},
283		/* [21] */
284		{8, 24, 24, 104},
285		StaticText {
286			disabled,
287			"Foreground"
288		},
289		/* [22] */
290		{8, 144, 24, 224},
291		StaticText {
292			disabled,
293			"Background"
294		},
295		/* [23] */
296		{48, 296, 56, 304},
297		UserItem {
298			disabled
299		}
300	}
301};
302
303resource 'DITL' (130, "Yes or No", purgeable) {
304	{ /* array DITLarray: 5 elements */
305		/* [1] */
306		{16, 184, 36, 244},
307		Button {
308			enabled,
309			"Yes"
310		},
311		/* [2] */
312		{64, 184, 84, 244},
313		Button {
314			enabled,
315			"No"
316		},
317		/* [3] */
318		{19, 227, 33, 241},
319		UserItem {
320			disabled
321		},
322		/* [4] */
323		{9, 48, 89, 168},
324		StaticText {
325			disabled,
326			"Are you sure?"
327		},
328		/* [5] */
329		{8, 8, 40, 40},
330		Icon {
331			disabled,
332			0
333		}
334	}
335};
336
337resource 'MENU' (128, "Apple") {
338	128,
339	textMenuProc,
340	0x7FFFFFFD,
341	enabled,
342	apple,
343	{	/* array: 2 elements */
344		/* [1] */
345		"About ScrnMgr\311", noIcon, "", "", plain,
346		/* [2] */
347		"-", noIcon, "", "", plain
348	}
349};
350
351resource 'MENU' (129, "File") {
352	129,
353	textMenuProc,
354	0x7FFFFFFB,
355	enabled,
356	"File",
357	{	/* array: 4 elements */
358		/* [1] */
359		"Open", noIcon, "O", "", plain,
360		/* [2] */
361		"Close", noIcon, "W", "", plain,
362		/* [3] */
363		"-", noIcon, "", "", plain,
364		/* [4] */
365		"Quit", noIcon, "Q", "", plain
366	}
367};
368
369resource 'MENU' (130, "Edit") {
370	130,
371	textMenuProc,
372	0x7FFFFFC0,
373	enabled,
374	"Edit",
375	{	/* array: 6 elements */
376		/* [1] */
377		"Undo", noIcon, "Z", "", plain,
378		/* [2] */
379		"-", noIcon, "", "", plain,
380		/* [3] */
381		"Cut", noIcon, "X", "", plain,
382		/* [4] */
383		"Copy", noIcon, "C", "", plain,
384		/* [5] */
385		"Paste", noIcon, "V", "", plain,
386		/* [6] */
387		"Clear", noIcon, "", "", plain
388	}
389};
390
391resource 'MENU' (229, "File (No Keys)") {
392	129,
393	textMenuProc,
394	0x7FFFFFFB,
395	enabled,
396	"File",
397	{	/* array: 4 elements */
398		/* [1] */
399		"Open", noIcon, "", "", plain,
400		/* [2] */
401		"Close", noIcon, "", "", plain,
402		/* [3] */
403		"-", noIcon, "", "", plain,
404		/* [4] */
405		"Quit", noIcon, "", "", plain
406	}
407};
408
409resource 'MENU' (230, "Edit (No Keys)") {
410	130,
411	textMenuProc,
412	0x7FFFFFC0,
413	enabled,
414	"Edit",
415	{	/* array: 6 elements */
416		/* [1] */
417		"Undo", noIcon, "", "", plain,
418		/* [2] */
419		"-", noIcon, "", "", plain,
420		/* [3] */
421		"Cut", noIcon, "", "", plain,
422		/* [4] */
423		"Copy", noIcon, "", "", plain,
424		/* [5] */
425		"Paste", noIcon, "", "", plain,
426		/* [6] */
427		"Clear", noIcon, "", "", plain
428	}
429};
430
431resource 'MENU' (131, "Screen") {
432	131,
433	textMenuProc,
434	0x7FFFFFFD,
435	enabled,
436	"Screen",
437	{	/* array: 2 elements */
438		/* [1] */
439		"Colors\311", noIcon, "", "", plain,
440		/* [2] */
441		"-", noIcon, "", "", plain,
442	}
443};
444
445resource 'MENU' (132, "FontSize") {
446	132,
447	textMenuProc,
448	allEnabled,
449	enabled,
450	"FontSize",
451	{	/* array: 0 elements */
452	}
453};
454
455resource 'MBAR' (128, "Main Menu") {
456	{	/* array MenuArray: 3 elements */
457		/* [1] */
458		128,
459		/* [2] */
460		129,
461		/* [3] */
462		130
463	}
464};
465
466resource 'MBAR' (228, "Main Menu (No Keys)") {
467	{	/* array MenuArray: 3 elements */
468		/* [1] */
469		128,
470		/* [2] */
471		229,
472		/* [3] */
473		230
474	}
475};
476
477resource 'INFO' (1, "Screen Info") {
478	{ 50, 10, 250, 310 },
479	9,
480	black,
481	white
482};
483