summaryrefslogtreecommitdiff
path: root/indra/newview/macview.r
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/macview.r')
-rw-r--r--indra/newview/macview.r123
1 files changed, 123 insertions, 0 deletions
diff --git a/indra/newview/macview.r b/indra/newview/macview.r
new file mode 100644
index 0000000000..8124232cf1
--- /dev/null
+++ b/indra/newview/macview.r
@@ -0,0 +1,123 @@
+/* main.r */
+
+#include <Carbon/Carbon.r>
+#include "macmain.h"
+
+resource 'MBAR' (rMenuBar, preload) {
+ { /* array MenuArray: 3 elements */
+ /* [1] */
+ 128,
+ /* [2] */
+ 129,
+ /* [3] */
+ 130
+ }
+};
+
+resource 'MENU' (mApple, preload) {
+ 128,
+ textMenuProc,
+ 0x7FFFFFFD,
+ enabled,
+ apple,
+ { /* array: 2 elements */
+ /* [1] */
+ "About Second Life", noIcon, noKey, noMark, plain,
+ /* [2] */
+ "-", noIcon, noKey, noMark, plain
+ }
+};
+
+resource 'MENU' (mFile, preload) {
+ 129,
+ textMenuProc,
+ 0x1400,
+ enabled,
+ "File",
+ { /* array: 11 elements */
+ /* [1] */
+ "New", noIcon, "N", noMark, plain,
+ /* [2] */
+ "Open", noIcon, "O", noMark, plain,
+ /* [3] */
+ "-", noIcon, noKey, noMark, plain,
+ /* [4] */
+ "Close", noIcon, "W", noMark, plain,
+ /* [5] */
+ "Save", noIcon, "S", noMark, plain,
+ /* [6] */
+ "Save AsÉ", noIcon, noKey, noMark, plain,
+ /* [7] */
+ "-", noIcon, noKey, noMark, plain,
+ /* [8] */
+ "Page SetupÉ", noIcon, noKey, noMark, plain,
+ /* [9] */
+ "PrintÉ", noIcon, noKey, noMark, plain,
+ /* [10] */
+ "-", noIcon, noKey, noMark, plain,
+ /* [11] */
+ "Quit", noIcon, "Q", noMark, plain
+ }
+};
+
+resource 'MENU' (mEdit, preload) {
+ 130,
+ textMenuProc,
+ 0x0,
+ enabled,
+ "Edit",
+ { /* array: 6 elements */
+ /* [1] */
+ "Undo", noIcon, "Z", noMark, plain,
+ /* [2] */
+ "-", noIcon, noKey, noMark, plain,
+ /* [3] */
+ "Cut", noIcon, "X", noMark, plain,
+ /* [4] */
+ "Copy", noIcon, "C", noMark, plain,
+ /* [5] */
+ "Paste", noIcon, "V", noMark, plain,
+ /* [6] */
+ "Clear", noIcon, noKey, noMark, plain
+ }
+};
+
+resource 'DITL' (kAboutBox) {
+ { /* array DITLarray: 3 elements */
+ /* [1] */
+ {16, 21, 38, 208},
+ StaticText {
+ disabled,
+ "Hello hello hello..."
+ },
+ /* [2] */
+ {116, 287, 136, 345},
+ Button {
+ enabled,
+ "OK"
+ },
+ /* [3] */
+ {54, 139, 74, 197},
+ Button {
+ enabled,
+ "OK"
+ }
+ }
+};
+
+resource 'ALRT' (kAboutBox) {
+ {40, 40, 139, 280},
+ 200,
+ { /* array: 4 elements */
+ /* [1] */
+ OK, visible, sound1,
+ /* [2] */
+ OK, visible, sound1,
+ /* [3] */
+ OK, visible, sound1,
+ /* [4] */
+ OK, visible, sound1
+ },
+ noAutoCenter
+};
+