Now that we have Subversion's file renaming ability, it's time at
[u/mdw/putty] / windows / win_res.rc
CommitLineData
a7088bde 1/* Some compilers, like Borland, don't have winresrc.h */
4e95095a 2#ifdef __LCC__
3#include <win.h>
4#else
5
a7088bde 6#ifndef NO_WINRESRC_H
9a1291fe 7#ifndef MSVC4
374330e2 8#include <winresrc.h>
9a1291fe 9#else
10#include <winres.h>
11#endif
a7088bde 12#endif
374330e2 13
b47d07f0 14#endif /* end #ifdef __LCC__ */
4e95095a 15
6dd1ecd8 16/* Some systems don't define this, so I do it myself if necessary */
17#ifndef TCS_MULTILINE
374330e2 18#define TCS_MULTILINE 0x0200
6dd1ecd8 19#endif
374330e2 20
a4bf087a 21/* Likewise */
22#ifndef RT_MANIFEST
23#define RT_MANIFEST 24
24#endif
25
83623b0a 26#ifdef MINGW32_FIX
27#define EDITTEXT EDITTEXT "",
28#endif
29
374330e2 30#include "win_res.h"
31
7f84563e 32IDI_MAINICON ICON "putty.ico"
33
648947d4 34IDI_CFGICON ICON "puttycfg.ico"
35
defab6b8 36/* Accelerators used: clw */
37IDD_ABOUTBOX DIALOG DISCARDABLE 140, 40, 214, 70
374330e2 38STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
39CAPTION "About PuTTY"
1c5b937e 40FONT 8, "MS Shell Dlg"
374330e2 41BEGIN
defab6b8 42 DEFPUSHBUTTON "&Close", IDOK, 160, 52, 48, 14
067a15ea 43 PUSHBUTTON "View &Licence", IDA_LICENCE, 6, 52, 70, 14
defab6b8 44 PUSHBUTTON "Visit &Web Site", IDA_WEB, 84, 52, 70, 14
45 CTEXT "PuTTY", IDA_TEXT1, 10, 6, 194, 8
46 CTEXT "", IDA_VERSION, 10, 16, 194, 16
4dee460f 47 CTEXT "\251 1997-2004 Simon Tatham. All rights reserved.",
defab6b8 48 IDA_TEXT2, 10, 34, 194, 16
374330e2 49END
50
979310f1 51/* Accelerators used: aco */
a401e5f3 52IDD_MAINBOX DIALOG DISCARDABLE 0, 0, 280, 252
374330e2 53STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
54CAPTION "PuTTY Configuration"
1c5b937e 55FONT 8, "MS Shell Dlg"
2979718a 56CLASS "PuTTYConfigBox"
374330e2 57BEGIN
14963b8f 58END
59
2784cd09 60/* Accelerators used: co */
71346075 61IDD_LOGBOX DIALOG DISCARDABLE 100, 20, 300, 119
374330e2 62STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
c5e9c988 63CAPTION "PuTTY Event Log"
1c5b937e 64FONT 8, "MS Shell Dlg"
374330e2 65BEGIN
2784cd09 66 DEFPUSHBUTTON "&Close", IDOK, 135, 102, 44, 14
67 PUSHBUTTON "C&opy", IDN_COPY, 81, 102, 44, 14
71346075 68 LISTBOX IDN_LIST, 3, 3, 294, 95, LBS_HASSTRINGS | LBS_USETABSTOPS | WS_VSCROLL | LBS_EXTENDEDSEL
374330e2 69END
70
979310f1 71/* No accelerators used */
c0e64ad7 72IDD_LICENCEBOX DIALOG DISCARDABLE 50, 50, 226, 263
374330e2 73STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
74CAPTION "PuTTY Licence"
1c5b937e 75FONT 8, "MS Shell Dlg"
374330e2 76BEGIN
c0e64ad7 77 DEFPUSHBUTTON "OK", IDOK, 98, 243, 44, 14
374330e2 78
4dee460f 79 LTEXT "Copyright \251 1997-2004 Simon Tatham", 1000, 10, 10, 206, 8
374330e2 80
9e55cd45 81 LTEXT "Portions copyright Robert de Bath, Joris van Rantwijk, Delian", 1001, 10, 26, 206, 8
82 LTEXT "Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas", 1002, 10, 34, 206, 8
c0e64ad7 83 LTEXT "Barry, Justin Bradford, Ben Harris, Malcolm Smith, and CORE", 1003, 10, 42, 206, 8
84 LTEXT "SDI S.A.", 1004, 10, 50, 206, 8
85
86 LTEXT "Permission is hereby granted, free of charge, to any person", 1005, 10, 66, 206, 8
87 LTEXT "obtaining a copy of this software and associated documentation", 1006, 10, 74, 206, 8
88 LTEXT "files (the ""Software""), to deal in the Software without restriction,", 1007, 10, 82, 206, 8
89 LTEXT "including without limitation the rights to use, copy, modify, merge,", 1008, 10, 90, 206, 8
90 LTEXT "publish, distribute, sublicense, and/or sell copies of the Software,", 1009, 10, 98, 206, 8
91 LTEXT "and to permit persons to whom the Software is furnished to do so,", 1010, 10, 106, 206, 8
92 LTEXT "subject to the following conditions:", 1011, 10, 114, 206, 8
93
94 LTEXT "The above copyright notice and this permission notice shall be", 1012, 10, 130, 206, 8
95 LTEXT "included in all copies or substantial portions of the Software.", 1013, 10, 138, 206, 8
96
97 LTEXT "THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT", 1014, 10, 154, 206, 8
98 LTEXT "WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,", 1015, 10, 162, 206, 8
99 LTEXT "INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF", 1016, 10, 170, 206, 8
100 LTEXT "MERCHANTABILITY, FITNESS FOR A PARTICULAR", 1017, 10, 178, 206, 8
101 LTEXT "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE", 1018, 10, 186, 206, 8
102 LTEXT "COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES", 1019, 10, 194, 206, 8
103 LTEXT "OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,", 1020, 10, 202, 206, 8
104 LTEXT "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN", 1021, 10, 210, 206, 8
105 LTEXT "CONNECTION WITH THE SOFTWARE OR THE USE OR", 1022, 10, 218, 206, 8
106 LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1023, 10, 226, 206, 8
374330e2 107
108END
a4bf087a 109
1101 RT_MANIFEST "putty.mft"