1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Alert box to support host-key checking.

[originally from svn r2920]
This commit is contained in:
Ben Harris 2003-03-06 23:46:06 +00:00
parent 33e7ee09ab
commit 43d2fa847f
2 changed files with 35 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $Id: mac_res.r,v 1.29 2003/02/27 23:21:23 ben Exp $ */
/* $Id: mac_res.r,v 1.30 2003/03/06 23:46:06 ben Exp $ */
/*
* Copyright (c) 1999, 2002, 2003 Ben Harris
* All rights reserved.
@ -971,6 +971,38 @@ resource 'DITL' (wFatal, "fatalbox", purgeable) {
}
};
/* Caution box. Stolen from the Finder. */
resource 'ALRT' (wQuestion, "questionbox", purgeable) {
{54, 67, 152, 435},
wQuestion,
beepStages,
alertPositionMainScreen
};
resource 'DITL' (wQuestion, "fatalbox", purgeable) {
{ /* array DITLarray: 3 elements */
/* [1] */
{68, 299, 88, 358},
Button {
enabled,
"OK"
},
/* [2] */
{68, 227, 88, 286},
Button {
enabled,
"Cancel"
},
/* [3] */
{7, 74, 55, 358},
StaticText {
disabled,
"^0"
}
}
};
/* Terminal window */
resource 'WIND' (wTerminal, "terminal", purgeable) {

View File

@ -1,4 +1,4 @@
/* $Id: macresid.h,v 1.9 2003/02/07 01:38:12 ben Exp $ */
/* $Id: macresid.h,v 1.10 2003/03/06 23:46:06 ben Exp $ */
/*
* macresid.h -- Mac resource IDs
@ -54,6 +54,7 @@
#define wSettings 132
#define wiSettingsOpen 1
#define wEventLog 133
#define wQuestion 134
/* Controls */
#define cVScroll 128