1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-13 00:58:06 -05:00

Add "Save" and "Save As..." items to the menus. No code behind them yet.

[originally from svn r2642]
This commit is contained in:
Ben Harris 2003-01-18 17:14:34 +00:00
parent 2dc0bf7a60
commit 56209f1741
2 changed files with 8 additions and 4 deletions

View 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,
}

View 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