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