📄 mac_res.r
字号:
$"0FFFCFC0C0FFFF00"
$"0FFF0C0FFCFCFF00"
$"0FCFC0C0CFCFFF00"
$"0F0C0F0FFC0FFF00"
$"0FC0CFC0C0F0CF00"
$"0FFFFFFFFFFFFF"
};
resource 'ics8' (FREF_Seed) {
$"00FFFFFFFFFFFFFFFFFFFF0000000000"
$"00FFF5FFF5FFFF05FFF5FFFF00000000"
$"00FFF5FFFF0505FFFFF5FF2BFF000000"
$"00FFFF050505FFFFF5FFFFFFFFFF0000"
$"00FFF5FF050505FFFFFFF5FFFFFF0000"
$"00FFFF0505FFFFFFFFF5F5FFF5FF0000"
$"00FF05FFFFF5F5FFFFF5FFF5FFFF0000"
$"00FFFFFFF5FFFFF5FFFFFFF5FFFF0000"
$"00FFFFFFF5F5FFF5F5F5FFF5F5FF0000"
$"00FFFFFFFFFFF5F5F5FFFFF5FFFF0000"
$"00FFFFFFF5FFF5F5F5F5FFFFFFFF0000"
$"00FFFFFFF5F5F5FFFFF5FFF5FFFF0000"
$"00FFF5FFF5F5F5F5F5FFF5FFFFFF0000"
$"00FFF5F5F5FFF5FFFFF5F5FFFFFF0000"
$"00FFF5F5F5FFF5F5F5F5FFF5F5FF0000"
$"00FFFFFFFFFFFFFFFFFFFFFFFFFF"
};
/*
* Resources to copy into created files
*/
/*
* Application-missing message string, for random seed and host key database
* files.
*/
resource 'STR ' (-16397, purgeable) {
"This file is used internally by PuTTY. It cannot be opened."
};
/* Missing-application name string, for saved sessions. */
resource 'STR ' (-16396, purgeable) {
"PuTTY"
};
/* ResEdit template resource for saved sessions. */
type 'TMPL' {
array {
pstring;
literal longint;
};
};
resource 'TMPL' (TMPL_Int, "Int ", purgeable) {
{ "Value", 'DLNG' }
};
/*
* Internal resources
*/
/* Menu bar */
resource 'MBAR' (MBAR_Main, preload) {
{ mApple, mFile, mEdit, mWindow }
};
resource 'MENU' (mApple, preload) {
mApple,
textMenuProc,
0b11111111111111111111111111111101,
enabled,
apple,
{
"About PuTTY\0xc9", noicon, nokey, nomark, plain,
"-", noicon, nokey, nomark, plain,
}
};
resource 'MENU' (mFile, preload) {
mFile,
textMenuProc,
0b11111111111111111111110111101011,
enabled,
"File",
{
"New", noicon, "N", nomark, plain,
"Open\0xc9", noicon, "O", nomark, plain,
"-", noicon, nokey, nomark, plain,
"Change Settings", noicon, nokey, nomark, plain,
"-", noicon, nokey, nomark, plain,
"Close", noicon, "W", nomark, plain,
"Save", noicon, "S", nomark, plain,
"Save As\0xc9", noicon, nokey, nomark, plain,
"Duplicate", noicon, "D", nomark, plain,
"-", noicon, nokey, nomark, plain,
"Quit", noicon, "Q", nomark, plain,
}
};
resource 'MENU' (mEdit, preload) {
mEdit,
textMenuProc,
0b11111111111111111111111111111101,
enabled,
"Edit",
{
"Undo", noicon, "Z", nomark, plain,
"-", noicon, nokey, nomark, plain,
"Cut", noicon, "X", nomark, plain,
"Copy", noicon, "C", nomark, plain,
"Paste", noicon, "V", nomark, plain,
"Clear", noicon, nokey, nomark, plain,
"Select All", noicon, "A", nomark, plain,
}
};
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) {
{54, 67, 152, 435},
wFatal,
beepStages,
alertPositionMainScreen
};
resource 'DITL' (wFatal, "fatalbox", purgeable) {
{ /* array DITLarray: 3 elements */
/* [1] */
{68, 299, 88, 358},
Button {
enabled,
"OK"
},
/* [2] */
{68, 227, 88, 286},
StaticText {
disabled,
""
},
/* [3] */
{7, 74, 55, 358},
StaticText {
disabled,
"^0"
}
}
};
/* 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"
}
}
};
/* Absent host key */
resource 'ALRT' (wAbsent, "absent", purgeable) {
{37, 67, 337, 435},
wAbsent,
beepStages,
alertPositionMainScreen
};
resource 'DITL' (wAbsent, "absent", purgeable) {
{ /* array DITLarray: 8 elements */
/* [1] */
{10, 72, 60, 357},
StaticText {
disabled,
"The server's host key is not cached. You "
"have no guarantee that the server is the "
"computer you think it is."
},
/* [2] */
{65, 72, 113, 355},
StaticText {
disabled,
"The server's ^0 key fingerprint is:\n^1"
},
/* [3] */
{121, 72, 172, 354},
StaticText {
disabled,
"If you trust this host, hit Add Key to add "
"the key to ^2's cache and carry on "
"connecting."
},
/* [4] */
{178, 72, 226, 354},
StaticText {
disabled,
"If you want to carry on connecting just "
"once, without adding the key to the cache, "
"select Just Once."
},
/* [5] */
{233, 72, 271, 353},
StaticText {
disabled,
"If you do not trust this host, hit Cancel "
"to abandon the connection."
},
/* [6] */
{275, 72, 295, 139},
Button {
enabled,
"Add Key"
},
/* [7] */
{275, 217, 295, 277},
Button {
enabled,
"Cancel"
},
/* [8] */
{275, 290, 295, 360},
Button {
enabled,
"Just Once"
}
}
};
/* Wrong host key */
resource 'ALRT' (wWrong, "wrong", purgeable) {
{32, 67, 422, 435},
wWrong,
beepStages,
alertPositionMainScreen
};
resource 'DITL' (wWrong, "wrong", purgeable) {
{ /* array DITLarray: 9 elements */
/* [1] */
{10, 72, 26, 358},
StaticText {
disabled,
"WARNING - POTENTIAL SECURITY BREACH!"
},
/* [2] */
{32, 72, 131, 357},
StaticText {
disabled,
"The server's host key does not match the "
"one ^0 has cached. This means that either "
"the server administrator has changed "
"the host key, or you have actually connected "
"to another computer pretending to be the "
"server."
},
/* [3] */
{136, 72, 190, 356},
StaticText {
disabled,
"The new ^1 key fingerprint is:\n^2"
},
/* [4] */
{190, 72, 238, 357},
StaticText {
disabled,
"If you were expecting this change and "
"trust the new key, hit Update Key to update "
"^0's cache and continue connecting."
},
/* [5] */
{246, 72, 294, 358},
StaticText {
disabled,
"If you want to carry on connecting just "
"once, without adding the key to the cache, "
"select Just Once."
},
/* [6] */
{301, 72, 349, 358},
StaticText {
disabled,
"If you do not trust this host, hit Cancel "
"to abandon the connection. This is the "
"ONLY guaranteed safe choice."
},
/* [7] */
{360, 72, 380, 163},
Button {
enabled,
"Update Key"
},
/* [8] */
{360, 217, 380, 277},
Button {
enabled,
"Cancel"
},
/* [9] */
{360, 290, 380, 360},
Button {
enabled,
"Just Once"
}
}
};
/* Terminal window */
resource 'WIND' (wTerminal, "terminal", purgeable) {
{ 0, 0, 200, 200 },
zoomDocProc,
invisible,
goAway,
0x0,
"untitled",
staggerParentWindowScreen
};
resource 'CNTL' (cVScroll, "vscroll", purgeable) {
{ 0, 0, 48, 16 },
0, invisible, 0, 0,
scrollBarProc, 0, ""
};
/* Settings dialogue */
resource 'WIND' (wSettings, "settings", purgeable) {
{ 0, 0, 432, 626 },
noGrowDocProc,
invisible,
goAway,
0x0,
"untitled",
staggerParentWindowScreen
};
/* 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) {
{ 0, 0, 120, 240 },
noGrowDocProc,
invisible,
goAway,
wAbout, /* RefCon -- identifies the window to PuTTY */
wAbout, /* DITL ID */
"About PuTTY",
alertPositionMainScreen
};
resource 'dlgx' (wAbout, "about", purgeable) {
versionZero {
kDialogFlagsUseThemeBackground | kDialogFlagsUseThemeControls
}
};
resource 'DITL' (wAbout, "about", purgeable) {
{
{ 87, 13, 107, 227 },
Button { enabled, "View Licence" },
{ 13, 13, 29, 227 },
StaticText { disabled, "PuTTY"},
{ 42, 13, 74, 227 },
StaticText { disabled, "Some version or other\n"
"Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -