PageRenderTime 110ms CodeModel.GetById 100ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/newview/macview.r

https://bitbucket.org/lindenlab/viewer-beta/
R | 123 lines | 113 code | 8 blank | 2 comment | 0 complexity | 7dd3add6333316c9ee9efa2a88e4f38e MD5 | raw file
Possible License(s): LGPL-2.1
  1. /* main.r */
  2. #include <Carbon/Carbon.r>
  3. #include "macmain.h"
  4. resource 'MBAR' (rMenuBar, preload) {
  5. { /* array MenuArray: 3 elements */
  6. /* [1] */
  7. 128,
  8. /* [2] */
  9. 129,
  10. /* [3] */
  11. 130
  12. }
  13. };
  14. resource 'MENU' (mApple, preload) {
  15. 128,
  16. textMenuProc,
  17. 0x7FFFFFFD,
  18. enabled,
  19. apple,
  20. { /* array: 2 elements */
  21. /* [1] */
  22. "About Second Life", noIcon, noKey, noMark, plain,
  23. /* [2] */
  24. "-", noIcon, noKey, noMark, plain
  25. }
  26. };
  27. resource 'MENU' (mFile, preload) {
  28. 129,
  29. textMenuProc,
  30. 0x1400,
  31. enabled,
  32. "File",
  33. { /* array: 11 elements */
  34. /* [1] */
  35. "New", noIcon, "N", noMark, plain,
  36. /* [2] */
  37. "Open", noIcon, "O", noMark, plain,
  38. /* [3] */
  39. "-", noIcon, noKey, noMark, plain,
  40. /* [4] */
  41. "Close", noIcon, "W", noMark, plain,
  42. /* [5] */
  43. "Save", noIcon, "S", noMark, plain,
  44. /* [6] */
  45. "Save AsÉ", noIcon, noKey, noMark, plain,
  46. /* [7] */
  47. "-", noIcon, noKey, noMark, plain,
  48. /* [8] */
  49. "Page SetupÉ", noIcon, noKey, noMark, plain,
  50. /* [9] */
  51. "PrintÉ", noIcon, noKey, noMark, plain,
  52. /* [10] */
  53. "-", noIcon, noKey, noMark, plain,
  54. /* [11] */
  55. "Quit", noIcon, "Q", noMark, plain
  56. }
  57. };
  58. resource 'MENU' (mEdit, preload) {
  59. 130,
  60. textMenuProc,
  61. 0x0,
  62. enabled,
  63. "Edit",
  64. { /* array: 6 elements */
  65. /* [1] */
  66. "Undo", noIcon, "Z", noMark, plain,
  67. /* [2] */
  68. "-", noIcon, noKey, noMark, plain,
  69. /* [3] */
  70. "Cut", noIcon, "X", noMark, plain,
  71. /* [4] */
  72. "Copy", noIcon, "C", noMark, plain,
  73. /* [5] */
  74. "Paste", noIcon, "V", noMark, plain,
  75. /* [6] */
  76. "Clear", noIcon, noKey, noMark, plain
  77. }
  78. };
  79. resource 'DITL' (kAboutBox) {
  80. { /* array DITLarray: 3 elements */
  81. /* [1] */
  82. {16, 21, 38, 208},
  83. StaticText {
  84. disabled,
  85. "Hello hello hello..."
  86. },
  87. /* [2] */
  88. {116, 287, 136, 345},
  89. Button {
  90. enabled,
  91. "OK"
  92. },
  93. /* [3] */
  94. {54, 139, 74, 197},
  95. Button {
  96. enabled,
  97. "OK"
  98. }
  99. }
  100. };
  101. resource 'ALRT' (kAboutBox) {
  102. {40, 40, 139, 280},
  103. 200,
  104. { /* array: 4 elements */
  105. /* [1] */
  106. OK, visible, sound1,
  107. /* [2] */
  108. OK, visible, sound1,
  109. /* [3] */
  110. OK, visible, sound1,
  111. /* [4] */
  112. OK, visible, sound1
  113. },
  114. noAutoCenter
  115. };