2000-03-21 J.T. Conklin <jtc@redback.com>
[platform/upstream/binutils.git] / gdb / mac-gdb.r
1 /* Resource file for MacGDB. */
2
3 #include "SysTypes.r"
4 #include "Types.r"
5
6 #include "mac-defs.h"
7
8 /* Version resources. */
9
10 resource 'vers' (1) {
11         0,
12         0,
13         0,
14         0,
15         verUS,
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"
28 };
29
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
47 #ifdef Macgdb /* Exclude the following from SIOWgdb which uses SIOW.r.  */
48
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                         "Copyright ©  1994 Free Software Foundation, Inc.\n"
140                 },
141         }
142 };
143
144 resource 'WIND' (wConsole, preload, purgeable) {
145         {40, 40, 310, 572},
146         zoomDocProc,
147         visible,
148         goAway,
149         0x0,
150         "GDB Console"
151 };
152
153 resource 'SIZE' (-1) {
154         reserved,
155         acceptSuspendResumeEvents,
156         reserved,
157         canBackground,
158         multiFinderAware,
159         backgroundAndForeground,
160         dontGetFrontClicks,
161         ignoreChildDiedEvents,
162         not32BitCompatible,
163         isHighLevelEventAware,
164         localAndRemoteHLEvents,
165         notStationeryAware,
166         dontUseTextEditServices,
167         reserved,
168         reserved,
169         reserved,
170         5000*1024,
171         2000*1024
172 };
173
174 resource 'DLOG' (128) {
175         {40, 40, 240, 280},
176         documentProc,
177         visible,
178         goAway,
179         0x0,
180         128,
181         ""
182 };
183
184 #endif