X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/6dd1ecd8a2cb10212d4caf19f72eefd6558700b7..2d15c1e4b43171e04f5005228e74fdb19ad25a42:/win_res.rc diff --git a/win_res.rc b/win_res.rc index f453e420..2c955015 100644 --- a/win_res.rc +++ b/win_res.rc @@ -1,4 +1,7 @@ +/* Some compilers, like Borland, don't have winresrc.h */ +#ifndef NO_WINRESRC_H #include +#endif /* Some systems don't define this, so I do it myself if necessary */ #ifndef TCS_MULTILINE @@ -30,8 +33,13 @@ BEGIN DEFPUSHBUTTON "&Open", IDOK, 86, 199, 44, 14 PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14 PUSHBUTTON "&About", IDC_ABOUT, 3, 199, 44, 14, NOT WS_TABSTOP - CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP, - 3, 3, 174, 193 + CONTROL "", IDC_TAB, +#ifdef ASCIICTLS + "SysTabControl32", +#else + L"SysTabControl32", +#endif + TCS_MULTILINE | WS_TABSTOP, 3, 3, 174, 193 END IDD_RECONF DIALOG DISCARDABLE 0, 0, 180, 216 @@ -41,8 +49,13 @@ FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "&Apply", IDOK, 86, 199, 44, 14 PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14 - CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP, - 3, 3, 174, 193 + CONTROL "", IDC_TAB, +#ifdef ASCIICTLS + "SysTabControl32", +#else + L"SysTabControl32", +#endif + TCS_MULTILINE | WS_TABSTOP, 3, 3, 174, 193 END IDD_PANEL0 DIALOG DISCARDABLE 6, 30, 168, 163 @@ -62,8 +75,10 @@ BEGIN RTEXT "Protocol:", IDC0_PROTSTATIC, 3, 29, 52, 8 AUTORADIOBUTTON "&Raw", IDC0_PROTRAW, 61, 29, 33, 10, WS_GROUP AUTORADIOBUTTON "&Telnet", IDC0_PROTTELNET, 96, 29, 33, 10 +#ifndef NO_SSH AUTORADIOBUTTON "SS&H", IDC0_PROTSSH, 132, 29, 33, 10 #endif +#endif LTEXT "Stor&ed Sessions", IDC0_SESSSTATIC, 3, 40, 122, 8 EDITTEXT IDC0_SESSEDIT, 3, 48, 122, 12, ES_AUTOHSCROLL LISTBOX IDC0_SESSLIST, 3, 63, 122, 81, @@ -220,10 +235,15 @@ IDD_PANEL6 DIALOG DISCARDABLE 6, 30, 168, 163 STYLE WS_CHILD | WS_VISIBLE FONT 8, "MS Sans Serif" BEGIN - AUTOCHECKBOX "Enable &KOI8-Win1251 translation", - IDC6_ENABLEKOIWINXLAT, 13, 14, 135, 10 - AUTOCHECKBOX "&CAPS LOCK acts as cyrillic switch", - IDC6_CAPSLOCKCYR, 13, 30, 136, 10 + LTEXT "Character set translation:", IDC6_XLATSTATIC, 3, 3, 162, 8 + AUTORADIOBUTTON "&None", + IDC6_NOXLAT, 3, 12, 162, 10, WS_GROUP + AUTORADIOBUTTON "&KOI8 / Win-1251", + IDC6_KOI8WIN1251, 3, 22, 162, 10 + AUTORADIOBUTTON "&ISO-8859-2 / Win-1250", + IDC6_88592WIN1250, 3, 32, 162, 10 + AUTOCHECKBOX "CA&PS LOCK acts as cyrillic switch", + IDC6_CAPSLOCKCYR, 3, 46, 162, 10 END IDD_LOGBOX DIALOG DISCARDABLE 100, 20, 160, 119 @@ -235,36 +255,35 @@ BEGIN LISTBOX IDN_LIST, 3, 3, 154, 95, LBS_HASSTRINGS | LBS_USETABSTOPS | WS_VSCROLL END -IDD_LICENCEBOX DIALOG DISCARDABLE 50, 50, 226, 231 +IDD_LICENCEBOX DIALOG DISCARDABLE 50, 50, 226, 223 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "PuTTY Licence" FONT 8, "MS Sans Serif" BEGIN - DEFPUSHBUTTON "OK", IDOK, 98, 211, 44, 14 + DEFPUSHBUTTON "OK", IDOK, 98, 203, 44, 14 - LTEXT "Copyright \251 1997-9 Simon Tatham", 1000, 10, 10, 206, 8 - LTEXT "Portions copyright Gary S. Brown and Eric Young", 1100, 10, 18, 206, 8 + LTEXT "Copyright \251 1997-2000 Simon Tatham", 1000, 10, 10, 206, 8 - LTEXT "Permission is hereby granted, free of charge, to any person", 1002, 10, 34, 206, 8 - LTEXT "obtaining a copy of this software and associated documentation", 1003, 10, 42, 206, 8 - LTEXT "files (the ""Software""), to deal in the Software without restriction,", 1004, 10, 50, 206, 8 - LTEXT "including without limitation the rights to use, copy, modify, merge,", 1005, 10, 58, 206, 8 - LTEXT "publish, distribute, sublicense, and/or sell copies of the Software,", 1006, 10, 66, 206, 8 - LTEXT "and to permit persons to whom the Software is furnished to do so,", 1007, 10, 74, 206, 8 - LTEXT "subject to the following conditions:", 1008, 10, 82, 206, 8 + LTEXT "Permission is hereby granted, free of charge, to any person", 1002, 10, 26, 206, 8 + LTEXT "obtaining a copy of this software and associated documentation", 1003, 10, 34, 206, 8 + LTEXT "files (the ""Software""), to deal in the Software without restriction,", 1004, 10, 42, 206, 8 + LTEXT "including without limitation the rights to use, copy, modify, merge,", 1005, 10, 50, 206, 8 + LTEXT "publish, distribute, sublicense, and/or sell copies of the Software,", 1006, 10, 58, 206, 8 + LTEXT "and to permit persons to whom the Software is furnished to do so,", 1007, 10, 66, 206, 8 + LTEXT "subject to the following conditions:", 1008, 10, 74, 206, 8 - LTEXT "The above copyright notice and this permission notice shall be", 1010, 10, 98, 206, 8 - LTEXT "included in all copies or substantial portions of the Software.", 1011, 10, 106, 206, 8 + LTEXT "The above copyright notice and this permission notice shall be", 1010, 10, 90, 206, 8 + LTEXT "included in all copies or substantial portions of the Software.", 1011, 10, 98, 206, 8 - LTEXT "THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT", 1013, 10, 122, 206, 8 - LTEXT "WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,", 1014, 10, 130, 206, 8 - LTEXT "INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF", 1015, 10, 138, 206, 8 - LTEXT "MERCHANTABILITY, FITNESS FOR A PARTICULAR", 1016, 10, 146, 206, 8 - LTEXT "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL", 1017, 10, 154, 206, 8 - LTEXT "SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR", 1018, 10, 162, 206, 8 - LTEXT "OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,", 1019, 10, 170, 206, 8 - LTEXT "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN", 1020, 10, 178, 206, 8 - LTEXT "CONNECTION WITH THE SOFTWARE OR THE USE OR", 1021, 10, 186, 206, 8 - LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 194, 206, 8 + LTEXT "THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT", 1013, 10, 114, 206, 8 + LTEXT "WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,", 1014, 10, 122, 206, 8 + LTEXT "INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF", 1015, 10, 130, 206, 8 + LTEXT "MERCHANTABILITY, FITNESS FOR A PARTICULAR", 1016, 10, 138, 206, 8 + LTEXT "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL", 1017, 10, 146, 206, 8 + LTEXT "SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR", 1018, 10, 154, 206, 8 + LTEXT "OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,", 1019, 10, 162, 206, 8 + LTEXT "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN", 1020, 10, 170, 206, 8 + LTEXT "CONNECTION WITH THE SOFTWARE OR THE USE OR", 1021, 10, 178, 206, 8 + LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 186, 206, 8 END