mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-08-01 11:14:06 -05:00
Crude Event Log implementation for the Mac. I'm fairly convinced now that
using the List Manager was entirely the wrong decision on my part, so I'll probably rewrite this to use TextEdit at some point, but it's better than stderr even so. [originally from svn r2811]
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: mac_res.r,v 1.25 2003/02/02 15:59:00 ben Exp $ */
|
||||
/* $Id: mac_res.r,v 1.26 2003/02/07 01:38:12 ben Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1999, 2002 Ben Harris
|
||||
* All rights reserved.
|
||||
@@ -899,7 +899,7 @@ resource 'TMPL' (TMPL_Int, "Int ", purgeable) {
|
||||
/* Menu bar */
|
||||
|
||||
resource 'MBAR' (MBAR_Main, preload) {
|
||||
{ mApple, mFile, mEdit }
|
||||
{ mApple, mFile, mEdit, mWindow }
|
||||
};
|
||||
|
||||
resource 'MENU' (mApple, preload) {
|
||||
@@ -950,6 +950,17 @@ resource 'MENU' (mEdit, preload) {
|
||||
}
|
||||
};
|
||||
|
||||
resource 'MENU' (mWindow, preload) {
|
||||
mWindow,
|
||||
textMenuProc,
|
||||
0b11111111111111111111111111111111,
|
||||
enabled,
|
||||
"Window",
|
||||
{
|
||||
"Show Event Log", noicon, nokey, nomark, plain,
|
||||
}
|
||||
};
|
||||
|
||||
/* Fatal error box. Stolen from the Finder. */
|
||||
|
||||
resource 'ALRT' (wFatal, "fatalbox", purgeable) {
|
||||
@@ -1026,6 +1037,17 @@ resource 'DITL' (wSettings, "settings", purgeable) {
|
||||
}
|
||||
};
|
||||
|
||||
/* Event log */
|
||||
resource 'WIND' (wEventLog, "event log", purgeable) {
|
||||
{ 0, 0, 200, 200 },
|
||||
zoomDocProc,
|
||||
invisible,
|
||||
goAway,
|
||||
0x0,
|
||||
"PuTTY Event Log",
|
||||
staggerParentWindowScreen
|
||||
};
|
||||
|
||||
/* "About" box */
|
||||
|
||||
resource 'DLOG' (wAbout, "about", purgeable) {
|
||||
|
Reference in New Issue
Block a user