aboutsummaryrefslogtreecommitdiff
path: root/gdb/macgdb.r
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/macgdb.r')
-rw-r--r--gdb/macgdb.r153
1 files changed, 153 insertions, 0 deletions
diff --git a/gdb/macgdb.r b/gdb/macgdb.r
new file mode 100644
index 0000000..c6798f7
--- /dev/null
+++ b/gdb/macgdb.r
@@ -0,0 +1,153 @@
+/* Resource file for MacGDB. */
+
+#include "Types.r"
+
+#include "mac-defs.h"
+
+resource 'MBAR' (128) {
+ { mApple, mFile, mEdit, mDebug };
+};
+
+resource 'MENU' (mApple, preload) {
+ mApple,
+ textMenuProc,
+ 0x7FFFFFFD,
+ enabled,
+ apple,
+ {
+ "About...", noIcon, noKey, noMark, plain,
+ "-", noIcon, noKey, noMark, plain
+ }
+};
+
+resource 'MENU' (mFile, preload) {
+ mFile,
+ textMenuProc,
+ 0xFFF,
+ enabled,
+ "File",
+ {
+ "New", noIcon, "N", noMark, plain,
+ "Open...", noIcon, "O", noMark, plain,
+ "-", noIcon, noKey, noMark, plain,
+ "Quit", noIcon, "Q", noMark, plain
+ }
+};
+
+resource 'MENU' (mEdit, preload) {
+ mEdit,
+ textMenuProc,
+ 0x3400,
+ enabled,
+ "Edit",
+ {
+ "Undo", noIcon, "Z", noMark, plain,
+ "-", noIcon, noKey, noMark, plain,
+ "Cut", noIcon, "X", noMark, plain,
+ "Copy", noIcon, "C", noMark, plain,
+ "Paste", noIcon, "V", noMark, plain,
+ "Clear", noIcon, noKey, noMark, plain
+ }
+};
+
+resource 'MENU' (mDebug, preload) {
+ mDebug,
+ textMenuProc,
+ 0x7FFFFFDD,
+ enabled,
+ "Debug",
+ {
+ "Target", noIcon, "T", noMark, plain,
+ "-", noIcon, noKey, noMark, plain,
+ "Run", noIcon, "R", noMark, plain,
+ "Continue", noIcon, noKey, noMark, plain,
+ "Step", noIcon, noKey, noMark, plain,
+ "Next", noIcon, noKey, noMark, plain
+ }
+};
+
+resource 'ALRT' (128) {
+ {40, 40, 229, 363},
+ 128,
+ { /* array: 4 elements */
+ /* [1] */
+ OK, visible, sound1,
+ /* [2] */
+ OK, visible, sound1,
+ /* [3] */
+ OK, visible, sound1,
+ /* [4] */
+ OK, visible, sound1
+ }
+};
+
+resource 'DITL' (128) {
+ { /* array DITLarray: 4 elements */
+ /* [1] */
+ {164, 115, 184, 185},
+ Button {
+ enabled,
+ "OK"
+ },
+ /* [2] */
+ {5, 10, 43, 290},
+ StaticText {
+ disabled,
+ "MacGDB"
+ },
+ /* [3] */
+ {76, 3, 154, 301},
+ StaticText {
+ disabled,
+ "GNU Debugger"
+ "\nCopyright © 1994 Free Software Foundation Inc.\n"
+ "Written by Stan Shebs."
+ },
+ /* [4] */
+ {53, 82, 71, 227},
+ StaticText {
+ disabled,
+ "version 4.12.1"
+ }
+ }
+};
+
+resource 'WIND' (wConsole, preload, purgeable) {
+ {40, 40, 310, 572},
+ documentProc,
+ visible,
+ noGoAway,
+ 0x0,
+ "GDB Console"
+};
+
+resource 'SIZE' (-1) {
+ reserved,
+ acceptSuspendResumeEvents,
+ reserved,
+ canBackground,
+ multiFinderAware,
+ backgroundAndForeground,
+ dontGetFrontClicks,
+ ignoreChildDiedEvents,
+ not32BitCompatible,
+ isHighLevelEventAware,
+ localAndRemoteHLEvents,
+ notStationeryAware,
+ dontUseTextEditServices,
+ reserved,
+ reserved,
+ reserved,
+ 50000,
+ 50000
+};
+
+resource 'DLOG' (128) {
+ {40, 40, 240, 280},
+ documentProc,
+ visible,
+ goAway,
+ 0x0,
+ 128,
+ ""
+};