]>
Commit | Line | Data |
---|---|---|
a6922ef0 SS |
1 | /* Resource file for MacGDB. */ |
2 | ||
3 | #include "SysTypes.r" | |
4 | #include "Types.r" | |
5 | ||
6 | #include "mac-defs.h" | |
7 | ||
c148ab3c SS |
8 | /* Version resources. */ |
9 | ||
a6922ef0 | 10 | resource 'vers' (1) { |
c148ab3c SS |
11 | 0, |
12 | 0, | |
13 | 0, | |
14 | 0, | |
a6922ef0 | 15 | verUS, |
c148ab3c SS |
16 | VERSION_STRING, |
17 | VERSION_STRING " (C) 1986-95 FSF, Inc." | |
18 | }; | |
19 | ||
20 | resource 'vers' (2, purgeable) { | |
21 | 0, | |
22 | 0, | |
23 | 0, | |
24 | 0, | |
25 | verUs, | |
26 | VERSION_STRING, | |
27 | "GDB " VERSION_STRING " for MPW" | |
a6922ef0 SS |
28 | }; |
29 | ||
c148ab3c SS |
30 | #ifdef WANT_CFRG |
31 | ||
32 | #include "CodeFragmentTypes.r" | |
33 | ||
34 | resource 'cfrg' (0) { | |
35 | { | |
36 | kPowerPC, | |
37 | kFullLib, | |
38 | kNoVersionNum, kNoVersionNum, | |
39 | 0, 0, | |
40 | kIsApp, kOnDiskFlat, kZeroOffset, kWholeFork, | |
41 | PROG_NAME | |
42 | } | |
43 | }; | |
44 | ||
45 | #endif /* WANT_CFRG */ | |
46 | ||
ccb98a5a RJ |
47 | #ifdef Macgdb /* Exclude the following from SIOWgdb which uses SIOW.r. */ |
48 | ||
a6922ef0 SS |
49 | resource 'MBAR' (128) { |
50 | { mApple, mFile, mEdit, mDebug }; | |
51 | }; | |
52 | ||
53 | resource 'MENU' (mApple, preload) { | |
54 | mApple, | |
55 | textMenuProc, | |
56 | 0x7FFFFFFD, | |
57 | enabled, | |
58 | apple, | |
59 | { | |
60 | "About...", noIcon, noKey, noMark, plain, | |
61 | "-", noIcon, noKey, noMark, plain | |
62 | } | |
63 | }; | |
64 | ||
65 | resource 'MENU' (mFile, preload) { | |
66 | mFile, | |
67 | textMenuProc, | |
68 | allEnabled, | |
69 | enabled, | |
70 | "File", | |
71 | { | |
72 | "New", noIcon, noKey, noMark, plain, | |
73 | "Open...", noIcon, "O", noMark, plain, | |
74 | "-", noIcon, noKey, noMark, plain, | |
75 | "Quit", noIcon, "Q", noMark, plain | |
76 | } | |
77 | }; | |
78 | ||
79 | resource 'MENU' (mEdit, preload) { | |
80 | mEdit, | |
81 | textMenuProc, | |
82 | allEnabled, | |
83 | enabled, | |
84 | "Edit", | |
85 | { | |
86 | "Undo", noIcon, "Z", noMark, plain, | |
87 | "-", noIcon, noKey, noMark, plain, | |
88 | "Cut", noIcon, "X", noMark, plain, | |
89 | "Copy", noIcon, "C", noMark, plain, | |
90 | "Paste", noIcon, "V", noMark, plain, | |
91 | "Clear", noIcon, noKey, noMark, plain | |
92 | } | |
93 | }; | |
94 | ||
95 | resource 'MENU' (mDebug, preload) { | |
96 | mDebug, | |
97 | textMenuProc, | |
98 | allEnabled, | |
99 | enabled, | |
100 | "Debug", | |
101 | { | |
102 | "Target", noIcon, "T", noMark, plain, | |
103 | "-", noIcon, noKey, noMark, plain, | |
104 | "Run", noIcon, "R", noMark, plain, | |
105 | "Continue", noIcon, "K", noMark, plain, | |
106 | "Step", noIcon, "S", noMark, plain, | |
107 | "Next", noIcon, "N", noMark, plain | |
108 | } | |
109 | }; | |
110 | ||
111 | resource 'ALRT' (128) { | |
112 | {40, 40, 180, 420}, | |
113 | 128, | |
114 | { /* array: 4 elements */ | |
115 | /* [1] */ | |
116 | OK, visible, sound1, | |
117 | /* [2] */ | |
118 | OK, visible, sound1, | |
119 | /* [3] */ | |
120 | OK, visible, sound1, | |
121 | /* [4] */ | |
122 | OK, visible, sound1 | |
123 | } | |
124 | }; | |
125 | ||
126 | resource 'DITL' (128) { | |
127 | { /* array DITLarray: 2 elements */ | |
128 | /* [1] */ | |
129 | {110, 150, 128, 200}, | |
130 | Button { | |
131 | enabled, | |
132 | "OK" | |
133 | }, | |
134 | /* [2] */ | |
135 | {10, 10, 100, 370}, | |
136 | StaticText { | |
137 | disabled, | |
138 | "GDB 4.12.3\n" | |
139 |