]>
Commit | Line | Data |
---|---|---|
56cff986 GD |
1 | #ifdef __UNIX__ |
2 | #include <Carbon.r> | |
3 | #else | |
4 | #include <Types.r> | |
5 | #if UNIVERSAL_INTERFACES_VERSION > 0x320 | |
6 | #include <ControlDefinitions.r> | |
7 | #endif | |
519cb848 SC |
8 | #endif |
9 | ||
10 | #define kMacOKAlertResourceID 128 | |
11 | #define kMacYesNoAlertResourceID 129 | |
12 | #define kMacYesNoCancelAlertResourceID 130 | |
13 | #define kMacNoYesAlertResourceID 131 | |
14 | #define kMacNoYesCancelAlertResourceID 132 | |
15 | ||
16 | resource 'ALRT' (kMacOKAlertResourceID, purgeable) { | |
17 | {70, 50, 198, 470}, | |
18 | kMacOKAlertResourceID, | |
19 | { /* array: 4 elements */ | |
20 | /* [1] */ | |
21 | OK, visible, sound1, | |
22 | /* [2] */ | |
23 | OK, visible, sound1, | |
24 | /* [3] */ | |
25 | OK, visible, sound1, | |
26 | /* [4] */ | |
27 | OK, visible, sound1 | |
28 | }, | |
29 | noAutoCenter | |
30 | }; | |
31 | ||
32 | resource 'ALRT' (kMacYesNoAlertResourceID, purgeable) { | |
33 | {70, 50, 198, 470}, | |
34 | kMacYesNoAlertResourceID, | |
35 | { /* array: 4 elements */ | |
36 | /* [1] */ | |
37 | OK, visible, sound1, | |
38 | /* [2] */ | |
39 | OK, visible, sound1, | |
40 | /* [3] */ | |
41 | OK, visible, sound1, | |
42 | /* [4] */ | |
43 | OK, visible, sound1 | |
44 | }, | |
45 | noAutoCenter | |
46 | }; | |
47 | ||
48 | resource 'ALRT' (kMacYesNoAlertResourceID + 10, purgeable) { | |
a6248982 | 49 | {70, 50, 198, 470}, |
519cb848 | 50 | kMacYesNoAlertResourceID + 10, |
a6248982 SC |
51 | { /* array: 4 elements */ |
52 | /* [1] */ | |
53 | OK, visible, sound1, | |
54 | /* [2] */ | |
55 | OK, visible, sound1, | |
56 | /* [3] */ | |
57 | OK, visible, sound1, | |
58 | /* [4] */ | |
59 | OK, visible, sound1 | |
60 | }, | |
61 | noAutoCenter | |
62 | }; | |
63 | ||
519cb848 | 64 | resource 'ALRT' (kMacYesNoAlertResourceID + 20, purgeable) { |
a6248982 | 65 | {70, 50, 198, 470}, |
519cb848 | 66 | kMacYesNoAlertResourceID + 20, |
a6248982 SC |
67 | { /* array: 4 elements */ |
68 | /* [1] */ | |
69 | OK, visible, sound1, | |
70 | /* [2] */ | |
71 | OK, visible, sound1, | |
72 | /* [3] */ | |
73 | OK, visible, sound1, | |
74 | /* [4] */ | |
75 | OK, visible, sound1 | |
76 | }, | |
77 | noAutoCenter | |
78 | }; | |
79 | ||
519cb848 | 80 | resource 'ALRT' (kMacYesNoCancelAlertResourceID, purgeable) { |
a6248982 SC |
81 | {70, 50, 198, 470}, |
82 | 130, | |
83 | { /* array: 4 elements */ | |
84 | /* [1] */ | |
85 | OK, visible, sound1, | |
86 | /* [2] */ | |
87 | OK, visible, sound1, | |
88 | /* [3] */ | |
89 | OK, visible, sound1, | |
90 | /* [4] */ | |
91 | OK, visible, sound1 | |
92 | }, | |
93 | noAutoCenter | |
94 | }; | |
95 | ||
519cb848 | 96 | resource 'ALRT' (kMacNoYesAlertResourceID, purgeable) { |
a6248982 SC |
97 | {70, 50, 198, 470}, |
98 | 131, | |
99 | { /* array: 4 elements */ | |
100 | /* [1] */ | |
101 | OK, visible, sound1, | |
102 | /* [2] */ | |
103 | OK, visible, sound1, | |
104 | /* [3] */ | |
105 | OK, visible, sound1, | |
106 | /* [4] */ | |
107 | OK, visible, sound1 | |
108 | }, | |
109 | noAutoCenter | |
110 | }; | |
111 | ||
519cb848 | 112 | resource 'ALRT' (kMacNoYesCancelAlertResourceID, purgeable) { |
a6248982 SC |
113 | {70, 50, 198, 470}, |
114 | 132, | |
115 | { /* array: 4 elements */ | |
116 | /* [1] */ | |
117 | OK, visible, sound1, | |
118 | /* [2] */ | |
119 | OK, visible, sound1, | |
120 | /* [3] */ | |
121 | OK, visible, sound1, | |
122 | /* [4] */ | |
123 | OK, visible, sound1 | |
124 | }, | |
125 | noAutoCenter | |
126 | }; | |
127 | ||
519cb848 | 128 | resource 'DITL' (kMacOKAlertResourceID, purgeable) { |
a6248982 SC |
129 | { /* array DITLarray: 3 elements */ |
130 | /* [1] */ | |
131 | {100, 340, 120, 408}, | |
132 | Button { | |
133 | enabled, | |
134 | "OK" | |
135 | }, | |
136 | /* [2] */ | |
137 | {38, 64, 88, 408}, | |
138 | StaticText { | |
139 | disabled, | |
140 | "^1" | |
141 | }, | |
142 | /* [3] */ | |
143 | {10, 64, 30, 412}, | |
144 | StaticText { | |
145 | disabled, | |
146 | "^0" | |
147 | } | |
148 | } | |
149 | }; | |
150 | ||
519cb848 | 151 | resource 'DITL' (kMacYesNoAlertResourceID, purgeable) { |
a6248982 SC |
152 | { /* array DITLarray: 4 elements */ |
153 | /* [1] */ | |
154 | {100, 340, 120, 408}, | |
155 | Button { | |
156 | enabled, | |
519cb848 SC |
157 | "Ja" |
158 | }, | |
159 | /* [2] */ | |
160 | {100, 260, 120, 324}, | |
161 | Button { | |
162 | enabled, | |
163 | "Nein" | |
164 | }, | |
165 | /* [3] */ | |
166 | {38, 64, 88, 408}, | |
167 | StaticText { | |
168 | disabled, | |
169 | "^1" | |
170 | }, | |
171 | /* [4] */ | |
172 | {10, 64, 30, 412}, | |
173 | StaticText { | |
174 | disabled, | |
175 | "^0" | |
176 | } | |
177 | } | |
178 | }; | |
179 | ||
180 | resource 'DITL' (kMacYesNoAlertResourceID + 10, purgeable) { | |
181 | { /* array DITLarray: 4 elements */ | |
182 | /* [1] */ | |
183 | {100, 340, 120, 408}, | |
184 | Button { | |
185 | enabled, | |
186 | "Oui" | |
187 | }, | |
188 | /* [2] */ | |
189 | {100, 260, 120, 324}, | |
190 | Button { | |
191 | enabled, | |
192 | "Non" | |
193 | }, | |
194 | /* [3] */ | |
195 | {38, 64, 88, 408}, | |
196 | StaticText { | |
197 | disabled, | |
198 | "^1" | |
199 | }, | |
200 | /* [4] */ | |
201 | {10, 64, 30, 412}, | |
202 | StaticText { | |
203 | disabled, | |
204 | "^0" | |
205 | } | |
206 | } | |
207 | }; | |
208 | ||
209 | resource 'DITL' (kMacYesNoAlertResourceID + 20, purgeable) { | |
210 | { /* array DITLarray: 4 elements */ | |
211 | /* [1] */ | |
212 | {100, 340, 120, 408}, | |
213 | Button { | |
214 | enabled, | |
215 | "Si" | |
a6248982 SC |
216 | }, |
217 | /* [2] */ | |
218 | {100, 260, 120, 324}, | |
219 | Button { | |
220 | enabled, | |
221 | "No" | |
222 | }, | |
223 | /* [3] */ | |
224 | {38, 64, 88, 408}, | |
225 | StaticText { | |
226 | disabled, | |
227 | "^1" | |
228 | }, | |
229 | /* [4] */ | |
230 | {10, 64, 30, 412}, | |
231 | StaticText { | |
232 | disabled, | |
233 | "^0" | |
234 | } | |
235 | } | |
236 | }; | |
237 | ||
519cb848 | 238 | resource 'DITL' (kMacYesNoCancelAlertResourceID, purgeable) { |
a6248982 SC |
239 | { /* array DITLarray: 5 elements */ |
240 | /* [1] */ | |
241 | {100, 340, 120, 408}, | |
242 | Button { | |
243 | enabled, | |
244 | "Yes" | |
245 | }, | |
246 | /* [2] */ | |
247 | {100, 260, 120, 324}, | |
248 | Button { | |
249 | enabled, | |
250 | "No" | |
251 | }, | |
252 | /* [3] */ | |
253 | {100, 65, 120, 145}, | |
254 | Button { | |
255 | enabled, | |
256 | "Cancel" | |
257 | }, | |
258 | /* [4] */ | |
259 | {38, 64, 88, 408}, | |
260 | StaticText { | |
261 | disabled, | |
262 | "^1" | |
263 | }, | |
264 | /* [5] */ | |
265 | {10, 64, 30, 412}, | |
266 | StaticText { | |
267 | disabled, | |
268 | "^0" | |
269 | } | |
270 | } | |
271 | }; | |
272 | ||
519cb848 | 273 | resource 'DITL' (kMacNoYesAlertResourceID, purgeable) { |
a6248982 SC |
274 | { /* array DITLarray: 4 elements */ |
275 | /* [1] */ | |
276 | {100, 340, 120, 408}, | |
277 | Button { | |
278 | enabled, | |
279 | "No" | |
280 | }, | |
281 | /* [2] */ | |
282 | {100, 260, 120, 324}, | |
283 | Button { | |
284 | enabled, | |
285 | "Yes" | |
286 | }, | |
287 | /* [3] */ | |
288 | {38, 64, 88, 408}, | |
289 | StaticText { | |
290 | disabled, | |
291 | "^1" | |
292 | }, | |
293 | /* [4] */ | |
294 | {10, 64, 30, 412}, | |
295 | StaticText { | |
296 | disabled, | |
297 | "^0" | |
298 | } | |
299 | } | |
300 | }; | |
301 | ||
519cb848 | 302 | resource 'DITL' (kMacNoYesCancelAlertResourceID, purgeable) { |
a6248982 SC |
303 | { /* array DITLarray: 5 elements */ |
304 | /* [1] */ | |
305 | {100, 340, 120, 408}, | |
306 | Button { | |
307 | enabled, | |
308 | "No" | |
309 | }, | |
310 | /* [2] */ | |
311 | {100, 260, 120, 324}, | |
312 | Button { | |
313 | enabled, | |
314 | "Yes" | |
315 | }, | |
316 | /* [3] */ | |
317 | {100, 65, 120, 145}, | |
318 | Button { | |
319 | enabled, | |
320 | "Cancel" | |
321 | }, | |
322 | /* [4] */ | |
323 | {38, 64, 88, 408}, | |
324 | StaticText { | |
325 | disabled, | |
326 | "^1" | |
327 | }, | |
328 | /* [5] */ | |
329 | {10, 64, 30, 412}, | |
330 | StaticText { | |
331 | disabled, | |
332 | "^0" | |
333 | } | |
334 | } | |
335 | }; | |
336 | ||
337 | data 'DLGX' (128) { | |
338 | $"0743 6869 6361 676F 0000 0000 0000 0000" /* .Chicago........ */ | |
339 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
340 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
341 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
342 | $"000C 0000 0000 0001 0004 0004 0000 0000" /* ................ */ | |
343 | $"0003 0002 0000 0000 0000 0000 0000 0006" /* ................ */ | |
344 | $"0000 0000 0000 0000 0000 0006 0000 0000" /* ................ */ | |
345 | $"0000 0000 0000" /* ...... */ | |
346 | }; | |
347 | ||
348 | data 'DLGX' (129) { | |
349 | $"0743 6869 6361 676F 0000 0000 0000 0000" /* .Chicago........ */ | |
350 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
351 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
352 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
353 | $"000C 0000 0000 0001 0004 0004 0000 0000" /* ................ */ | |
354 | $"0004 0002 0000 0000 0000 0000 0000 0002" /* ................ */ | |
355 | $"0000 0000 0000 0000 0000 0006 0000 0000" /* ................ */ | |
356 | $"0000 0000 0000 0006 0000 0000 0000 0000" /* ................ */ | |
357 | $"0000" /* .. */ | |
358 | }; | |
359 | ||
360 | data 'DLGX' (131) { | |
361 | $"0743 6869 6361 676F 0000 0000 0000 0000" /* .Chicago........ */ | |
362 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
363 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
364 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
365 | $"000C 0000 0000 0001 0004 0004 0000 0000" /* ................ */ | |
366 | $"0004 0002 0000 0000 0000 0000 0000 0002" /* ................ */ | |
367 | $"0000 0000 0000 0000 0000 0006 0000 0000" /* ................ */ | |
368 | $"0000 0000 0000 0006 0000 0000 0000 0000" /* ................ */ | |
369 | $"0000" /* .. */ | |
370 | }; | |
371 | ||
372 | data 'DLGX' (132) { | |
373 | $"0743 6869 6361 676F 0000 0000 0000 0000" /* .Chicago........ */ | |
374 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
375 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
376 | $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ | |
377 | $"000C 0000 0000 0001 0004 0004 0000 0000" /* ................ */ | |
378 | $"0005 0002 0000 0000 0000 0000 0000 0002" /* ................ */ | |
379 | $"0000 0000 0000 0000 0000 0002 0000 0000" /* ................ */ | |
380 | $"0000 0000 0000 0006 0000 0000 0000 0000" /* ................ */ | |
381 | $"0000 0006 0000 0000 0000 0000 0000" /* .............. */ | |
382 | }; | |
383 | ||
a6248982 SC |
384 | resource 'ldes' ( 128 ) |
385 | { | |
386 | versionZero | |
387 | { | |
388 | 0 , | |
519cb848 | 389 | 0 , |
a6248982 SC |
390 | 0 , |
391 | 0 , | |
392 | hasVertScroll , | |
393 | noHorizScroll , | |
e42e45a9 | 394 | 0 , |
a6248982 SC |
395 | noGrowSpace , |
396 | } | |
397 | } ; | |
398 | ||
399 | resource 'CURS' (9, "Hand") { | |
5b781a67 SC |
400 | $"0380 04C0 04C0 04C0 04C0 04C0 74F8 9CAE" |
401 | $"4CAB 240B 2403 1003 0803 0806 0406 0406", | |
402 | $"0380 07C0 07C0 07C0 07C0 07C0 77F8 FFFE" | |
403 | $"7FFF 3FFF 3FFF 1FFF 0FFF 0FFE 07FE 07FE", | |
404 | {0, 7} | |
a6248982 SC |
405 | }; |
406 | ||
407 | resource 'CURS' (10, "SizeWE") { | |
408 | $"0000 0180 0180 0180 0180 1188 318C 7FFE" | |
409 | $"318C 1188 0180 0180 0180 0180", | |
410 | $"03C0 03C0 03C0 03C0 1BD8 3BDC 7BFE FFFF" | |
411 | $"7FFE 3BDC 1BD8 03C0 03C0 03C0 03C0", | |
412 | {7, 7} | |
413 | }; | |
414 | ||
415 | resource 'CURS' (11, "Size NS") { | |
416 | $"0000 0080 01C0 03E0 0080 0080 0080 3FFE" | |
417 | $"3FFE 0080 0080 0080 03E0 01C0 0080", | |
418 | $"0080 01C0 03E0 07F0 07F0 0180 7FFF 7FFF" | |
419 | $"7FFF 7FFF 01C0 07F0 07F0 03E0 01C0 0080", | |
420 | {7, 7} | |
421 | }; | |
422 | ||
423 | // get folder | |
424 | ||
425 | resource 'DITL' (250, purgeable) { | |
426 | { /* array DITLarray: 11 elements */ | |
427 | /* [1] */ | |
428 | {157, 253, 177, 333}, | |
429 | Button { | |
430 | enabled, | |
431 | "Open" | |
432 | }, | |
433 | /* [2] */ | |
434 | {126, 253, 146, 333}, | |
435 | Button { | |
436 | enabled, | |
437 | "Cancel" | |
438 | }, | |
439 | /* [3] */ | |
440 | {0, 0, 0, 0}, | |
441 | HelpItem { | |
442 | disabled, | |
443 | HMScanhdlg { | |
444 | -6043 | |
445 | } | |
446 | }, | |
447 | /* [4] */ | |
448 | {30, 236, 46, 338}, | |
449 | UserItem { | |
450 | enabled | |
451 | }, | |
452 | /* [5] */ | |
453 | {54, 253, 74, 333}, | |
454 | Button { | |
455 | enabled, | |
456 | "Eject" | |
457 | }, | |
458 | /* [6] */ | |
459 | {82, 253, 102, 333}, | |
460 | Button { | |
461 | enabled, | |
462 | "Desktop" | |
463 | }, | |
464 | /* [7] */ | |
465 | {51, 13, 181, 231}, | |
466 | UserItem { | |
467 | enabled | |
468 | }, | |
469 | /* [8] */ | |
470 | {28, 13, 47, 231}, | |
471 | UserItem { | |
472 | enabled | |
473 | }, | |
474 | /* [9] */ | |
475 | {113, 252, 114, 334}, | |
476 | Picture { | |
477 | disabled, | |
478 | 11 | |
479 | }, | |
480 | /* [10] */ | |
481 | {189, 24, 209, 211}, | |
482 | Button { | |
483 | enabled, | |
484 | "" | |
485 | }, | |
486 | /* [11] */ | |
487 | {6, 15, 23, 300}, | |
488 | StaticText { | |
489 | disabled, | |
490 | "^0" | |
491 | } | |
492 | } | |
493 | }; | |
494 | ||
495 | resource 'DLOG' (250, purgeable) { | |
496 | {0, 0, 215, 344}, | |
497 | dBoxProc, | |
498 | invisible, | |
499 | noGoAway, | |
500 | 0x0, | |
501 | 250, | |
502 | "" , 0 | |
503 | }; | |
504 | ||
505 | resource 'STR#' (250) { | |
506 | { /* array StringArray: 3 elements */ | |
507 | /* [1] */ | |
508 | "Select \"^0\"", | |
509 | /* [2] */ | |
510 | "Desktop", | |
511 | /* [3] */ | |
512 | "Select ^0" | |
513 | } | |
514 | }; | |
515 | ||
516 | // end of get folder | |
517 | ||
518 | // get file | |
519 | ||
520 | resource 'DITL' (251, purgeable) { | |
521 | { /* array DITLarray: 11 elements */ | |
522 | /* [1] */ | |
523 | {157, 253, 177, 333}, | |
524 | Button { | |
525 | enabled, | |
526 | "Open" | |
527 | }, | |
528 | /* [2] */ | |
529 | {126, 253, 146, 333}, | |
530 | Button { | |
531 | enabled, | |
532 | "Cancel" | |
533 | }, | |
534 | /* [3] */ | |
535 | {0, 0, 0, 0}, | |
536 | HelpItem { | |
537 | disabled, | |
538 | HMScanhdlg { | |
539 | -6043 | |
540 | } | |
541 | }, | |
542 | /* [4] */ | |
543 | {30, 236, 46, 338}, | |
544 | UserItem { | |
545 | enabled | |
546 | }, | |
547 | /* [5] */ | |
548 | {54, 253, 74, 333}, | |
549 | Button { | |
550 | enabled, | |
551 | "Eject" | |
552 | }, | |
553 | /* [6] */ | |
554 | {82, 253, 102, 333}, | |
555 | Button { | |
556 | enabled, | |
557 | "Desktop" | |
558 | }, | |
559 | /* [7] */ | |
560 | {51, 13, 181, 231}, | |
561 | UserItem { | |
562 | enabled | |
563 | }, | |
564 | /* [8] */ | |
565 | {28, 13, 47, 231}, | |
566 | UserItem { | |
567 | enabled | |
568 | }, | |
569 | /* [9] */ | |
570 | {113, 252, 114, 334}, | |
571 | Picture { | |
572 | disabled, | |
573 | 11 | |
574 | }, | |
575 | /* [10] */ | |
576 | {6, 15, 23, 300}, | |
577 | StaticText { | |
578 | disabled, | |
579 | "^0" | |
580 | } | |
581 | } | |
582 | }; | |
583 | ||
584 | resource 'DLOG' (251, purgeable) { | |
585 | {0, 0, 195, 344}, | |
586 | dBoxProc, | |
587 | invisible, | |
588 | noGoAway, | |
589 | 0x0, | |
590 | 251, | |
591 | "" , 0 | |
592 | }; | |
593 | ||
594 | resource 'STR#' (251) { | |
595 | { /* array StringArray: 3 elements */ | |
596 | /* [1] */ | |
597 | "Select \"^0\"", | |
598 | /* [2] */ | |
599 | "Desktop", | |
600 | /* [3] */ | |
601 | "Select ^0" | |
602 | } | |
603 | }; | |
604 | ||
56cff986 | 605 | // end of get file |
ba723d98 SC |
606 | |
607 | data 'PAT#' (128) { | |
608 |