]> code.delx.au - gnu-emacs/blobdiff - mac/src/Emacs.r
*** empty log message ***
[gnu-emacs] / mac / src / Emacs.r
index 4a66d7cf49c7ed8f4f9f35f2072df4ac434aefa9..1403a24721c1e8deb59f994c0870d46aaf4a9369 100644 (file)
@@ -1,5 +1,5 @@
 /* Resource definitions for GNU Emacs on the Macintosh.
-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -18,8 +18,9 @@ along with GNU Emacs; see the file COPYING.  If not, write to
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-/* Contributed by Andrew Choi (akochoi@users.sourceforge.net).  */
+/* Contributed by Andrew Choi (akochoi@mac.com).  */
 
+#ifndef TARGET_API_MAC_CARBON
 #include "Types.r"
 /* added for finder icon balloon help --ben */
 #include "Balloons.r"
@@ -59,6 +60,7 @@ resource 'hfdr' (-5696) { /*help for emacs icon*/
 resource 'STR ' (128) { /*help message for emacs icon*/
        "GNU Emacs\0xd1the extensible, customizable, self-documenting real-time display editor."
 };
+#endif
 
 resource 'MENU' (128, preload) {
        128,
@@ -139,9 +141,40 @@ resource 'DITL' (128, purgeable) {
                {10, 60, 72, 278},
                StaticText {
                        disabled,
-                       "GNU Emacs 21.0.90 for Mac OS\n"
-                        "(11 October 2000 release)\n"
-                        "Report bugs to akochoi@users.sourceforge.net"
+                       "GNU Emacs 21 for Mac OS"
+               }
+       }
+};
+
+resource 'ALRT' (129, "Ram Too Large", purgeable) {
+       {40, 20, 160, 297},
+       129,
+       {       /* array: 4 elements */
+               /* [1] */
+               OK, visible, silent,
+               /* [2] */
+               OK, visible, silent,
+               /* [3] */
+               OK, visible, silent,
+               /* [4] */
+               OK, visible, silent
+       },
+       centerMainScreen
+};
+
+resource 'DITL' (129, purgeable) {
+       {       /* array DITLarray: 2 elements */
+               /* [1] */
+               {88, 185, 108, 265},
+               Button {
+                       enabled,
+                       "OK"
+               },
+               /* [2] */
+               {10, 60, 72, 278},
+               StaticText {
+                       disabled,
+                       "Emacs does not run on a Macintosh with more than 512 MB of physical or virtual memory"
                }
        }
 };