diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/macview.r | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/macview.r')
-rw-r--r-- | linden/indra/newview/macview.r | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/linden/indra/newview/macview.r b/linden/indra/newview/macview.r new file mode 100644 index 0000000..8124232 --- /dev/null +++ b/linden/indra/newview/macview.r | |||
@@ -0,0 +1,123 @@ | |||
1 | /* main.r */ | ||
2 | |||
3 | #include <Carbon/Carbon.r> | ||
4 | #include "macmain.h" | ||
5 | |||
6 | resource 'MBAR' (rMenuBar, preload) { | ||
7 | { /* array MenuArray: 3 elements */ | ||
8 | /* [1] */ | ||
9 | 128, | ||
10 | /* [2] */ | ||
11 | 129, | ||
12 | /* [3] */ | ||
13 | 130 | ||
14 | } | ||
15 | }; | ||
16 | |||
17 | resource 'MENU' (mApple, preload) { | ||
18 | 128, | ||
19 | textMenuProc, | ||
20 | 0x7FFFFFFD, | ||
21 | enabled, | ||
22 | apple, | ||
23 | { /* array: 2 elements */ | ||
24 | /* [1] */ | ||
25 | "About Second Life", noIcon, noKey, noMark, plain, | ||
26 | /* [2] */ | ||
27 | "-", noIcon, noKey, noMark, plain | ||
28 | } | ||
29 | }; | ||
30 | |||
31 | resource 'MENU' (mFile, preload) { | ||
32 | 129, | ||
33 | textMenuProc, | ||
34 | 0x1400, | ||
35 | enabled, | ||
36 | "File", | ||
37 | { /* array: 11 elements */ | ||
38 | /* [1] */ | ||
39 | "New", noIcon, "N", noMark, plain, | ||
40 | /* [2] */ | ||
41 | "Open", noIcon, "O", noMark, plain, | ||
42 | /* [3] */ | ||
43 | "-", noIcon, noKey, noMark, plain, | ||
44 | /* [4] */ | ||
45 | "Close", noIcon, "W", noMark, plain, | ||
46 | /* [5] */ | ||
47 | "Save", noIcon, "S", noMark, plain, | ||
48 | /* [6] */ | ||
49 | "Save AsÉ", noIcon, noKey, noMark, plain, | ||
50 | /* [7] */ | ||
51 | "-", noIcon, noKey, noMark, plain, | ||
52 | /* [8] */ | ||
53 | "Page SetupÉ", noIcon, noKey, noMark, plain, | ||
54 | /* [9] */ | ||
55 | "PrintÉ", noIcon, noKey, noMark, plain, | ||
56 | /* [10] */ | ||
57 | "-", noIcon, noKey, noMark, plain, | ||
58 | /* [11] */ | ||
59 | "Quit", noIcon, "Q", noMark, plain | ||
60 | } | ||
61 | }; | ||
62 | |||
63 | resource 'MENU' (mEdit, preload) { | ||
64 | 130, | ||
65 | textMenuProc, | ||
66 | 0x0, | ||
67 | enabled, | ||
68 | "Edit", | ||
69 | { /* array: 6 elements */ | ||
70 | /* [1] */ | ||
71 | "Undo", noIcon, "Z", noMark, plain, | ||
72 | /* [2] */ | ||
73 | "-", noIcon, noKey, noMark, plain, | ||
74 | /* [3] */ | ||
75 | "Cut", noIcon, "X", noMark, plain, | ||
76 | /* [4] */ | ||
77 | "Copy", noIcon, "C", noMark, plain, | ||
78 | /* [5] */ | ||
79 | "Paste", noIcon, "V", noMark, plain, | ||
80 | /* [6] */ | ||
81 | "Clear", noIcon, noKey, noMark, plain | ||
82 | } | ||
83 | }; | ||
84 | |||
85 | resource 'DITL' (kAboutBox) { | ||
86 | { /* array DITLarray: 3 elements */ | ||
87 | /* [1] */ | ||
88 | {16, 21, 38, 208}, | ||
89 | StaticText { | ||
90 | disabled, | ||
91 | "Hello hello hello..." | ||
92 | }, | ||
93 | /* [2] */ | ||
94 | {116, 287, 136, 345}, | ||
95 | Button { | ||
96 | enabled, | ||
97 | "OK" | ||
98 | }, | ||
99 | /* [3] */ | ||
100 | {54, 139, 74, 197}, | ||
101 | Button { | ||
102 | enabled, | ||
103 | "OK" | ||
104 | } | ||
105 | } | ||
106 | }; | ||
107 | |||
108 | resource 'ALRT' (kAboutBox) { | ||
109 | {40, 40, 139, 280}, | ||
110 | 200, | ||
111 | { /* array: 4 elements */ | ||
112 | /* [1] */ | ||
113 | OK, visible, sound1, | ||
114 | /* [2] */ | ||
115 | OK, visible, sound1, | ||
116 | /* [3] */ | ||
117 | OK, visible, sound1, | ||
118 | /* [4] */ | ||
119 | OK, visible, sound1 | ||
120 | }, | ||
121 | noAutoCenter | ||
122 | }; | ||
123 | |||