mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-15 18:18:05 -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:
parent
2dc0bf7a60
commit
56209f1741
@ -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
|
* Copyright (c) 1999, 2002 Ben Harris
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -893,13 +893,15 @@ resource 'MENU' (mApple, preload) {
|
|||||||
resource 'MENU' (mFile, preload) {
|
resource 'MENU' (mFile, preload) {
|
||||||
mFile,
|
mFile,
|
||||||
textMenuProc,
|
textMenuProc,
|
||||||
0b11111111111111111111111111110111,
|
0b11111111111111111111111111011111,
|
||||||
enabled,
|
enabled,
|
||||||
"Session",
|
"Session",
|
||||||
{
|
{
|
||||||
"New", noicon, "N", nomark, plain,
|
"New", noicon, "N", nomark, plain,
|
||||||
"Open\0xc9", noicon, "O", nomark, plain,
|
"Open\0xc9", noicon, "O", nomark, plain,
|
||||||
"Close", noicon, "W", nomark, plain,
|
"Close", noicon, "W", nomark, plain,
|
||||||
|
"Save", noicon, "S", nomark, plain,
|
||||||
|
"Save As\0xc9", noicon, nokey, nomark, plain,
|
||||||
"-", noicon, nokey, nomark, plain,
|
"-", noicon, nokey, nomark, plain,
|
||||||
"Quit", noicon, "Q", nomark, plain,
|
"Quit", noicon, "Q", nomark, plain,
|
||||||
}
|
}
|
||||||
|
@ -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
|
* macresid.h -- Mac resource IDs
|
||||||
@ -24,7 +24,9 @@
|
|||||||
#define iNew 1
|
#define iNew 1
|
||||||
#define iOpen 2
|
#define iOpen 2
|
||||||
#define iClose 3
|
#define iClose 3
|
||||||
#define iQuit 5
|
#define iSave 4
|
||||||
|
#define iSaveAs 5
|
||||||
|
#define iQuit 7
|
||||||
/* Edit menu */
|
/* Edit menu */
|
||||||
#define iUndo 1
|
#define iUndo 1
|
||||||
#define iCut 3
|
#define iCut 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user