Add "Save" and "Save As..." items to the menus. No code behind them yet.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 18 Jan 2003 17:14:34 +0000 (17:14 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 18 Jan 2003 17:14:34 +0000 (17:14 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2642 cda61777-01e9-0310-a592-d414129be87e

mac/mac_res.r
mac/macresid.h

index f486371..b0fdd5e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mac_res.r,v 1.18 2003/01/18 16:10:21 ben Exp $ */
+/* $Id: mac_res.r,v 1.19 2003/01/18 17:14:34 ben Exp $ */
 /*
  * Copyright (c) 1999, 2002 Ben Harris
  * All rights reserved.
@@ -893,13 +893,15 @@ resource 'MENU' (mApple, preload) {
 resource 'MENU' (mFile, preload) {
     mFile,
     textMenuProc,
-    0b11111111111111111111111111110111,
+    0b11111111111111111111111111011111,
     enabled,
     "Session",
     {
        "New",                  noicon, "N",   nomark, plain,
        "Open\0xc9",            noicon, "O",   nomark, plain,
        "Close",                noicon, "W",   nomark, plain,
+       "Save",                 noicon, "S",   nomark, plain,
+       "Save As\0xc9",         noicon, nokey, nomark, plain,
        "-",                    noicon, nokey, nomark, plain,
        "Quit",                 noicon, "Q",   nomark, plain,
     }
index 2fc8539..983832f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: macresid.h,v 1.4 2003/01/18 16:10:21 ben Exp $ */
+/* $Id: macresid.h,v 1.5 2003/01/18 17:14:34 ben Exp $ */
 
 /*
  * macresid.h -- Mac resource IDs
@@ -24,7 +24,9 @@
 #define iNew           1
 #define iOpen          2
 #define iClose         3
-#define iQuit          5
+#define iSave          4
+#define iSaveAs                5
+#define iQuit          7
 /* Edit menu */
 #define iUndo          1
 #define iCut           3