Merged from the latest developing branch.
[MacVim.git] / src / vim.rc
blobaffdb9a5a30740eeac820e58de2e3a2f2c70eba8
1 // vim:ts=8:sw=4:sts=4:
2 //
3 // VIM - Vi IMproved    by Bram Moolenaar
4 //
5 // Do ":help uganda"  in Vim to read copying and usage conditions.
6 // Do ":help credits" in Vim to see a list of people who contributed.
8 // vim.rc
9 //   Icon and version information for the Win32 version of Vim
10 //   Must be in DOS format <CR><NL>!
12 #include <winver.h>
13 #include "version.h"
14 #include "gui_w32_rc.h"
15 // #if defined(__BORLANDC__) || defined(__CYGWIN32__) || defined(__MINGW32__)
16 # include <winresrc.h>
17 // #else
18 // # include <winres.h>
19 // #endif
22 // Icons
24 IDR_VIM         ICON "vim.ico"
26 #ifdef FEAT_GUI_W32
27 IDR_VIM_ERROR   ICON "vim_error.ico"
28 IDR_VIM_ALERT   ICON "vim_alert.ico"
29 IDR_VIM_INFO    ICON "vim_info.ico"
30 IDR_VIM_QUESTION ICON "vim_quest.ico"
33 // Bitmaps
35 IDB_TEAROFF     BITMAP  DISCARDABLE  "tearoff.bmp"
36 IDR_TOOLBAR1    BITMAP  DISCARDABLE  "tools.bmp"
39 // WinXP theme support
41 #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID
42 # define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
43 #endif
44 #ifndef RT_MANIFEST
45 # define RT_MANIFEST 24
46 #endif
48 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gvim.exe.mnf"
49 #endif // FEAT_GUI_W32
52 // Type Library
54 #ifdef FEAT_OLE
55  1 TYPELIB "VIM.TLB"
56 #endif
59 // Version
62 VS_VERSION_INFO         VERSIONINFO
63   FILEVERSION           VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL
64   PRODUCTVERSION        VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL
65   FILEFLAGSMASK         VS_FFI_FILEFLAGSMASK
67 #if VIM_VERSION_PATCHLEVEL > 0
68  #ifdef _DEBUG
69   FILEFLAGS             VS_FF_PRERELEASE | VS_FF_DEBUG | VS_FF_PATCHED
70  #else
71   FILEFLAGS             VS_FF_PRERELEASE | VS_FF_PATCHED
72  #endif
73 #else
74  #ifdef _DEBUG
75   FILEFLAGS             VS_FF_PRERELEASE | VS_FF_DEBUG
76  #else
77   FILEFLAGS             VS_FF_PRERELEASE
78  #endif
79 #endif
81   FILEOS                VOS__WINDOWS32
82   FILETYPE              VFT_APP
83   FILESUBTYPE           0x0L
84 BEGIN
85   BLOCK "StringFileInfo"
86   BEGIN
87     // 0x0409 == U.S. English; 0x04E4 => Windows Multilingual
88     BLOCK "040904E4"
89     BEGIN
90         VALUE "CompanyName",            "Vim Developers\0"
91         VALUE "FileDescription",        "Vi Improved - A Text Editor\0"
92         VALUE "FileVersion",            VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR  "\0"
93         VALUE "InternalName",           "VIM\0"
94         VALUE "LegalCopyright",         "Copyright \251 1996-2005\0"
95         VALUE "LegalTrademarks",        "Vim\0"
96         VALUE "OriginalFilename",       "VIM.EXE\0"
97         VALUE "ProductName",            "Vim\0"
98         VALUE "ProductVersion",         VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR "\0"
99     END
100   END
101   BLOCK "VarFileInfo"
102   BEGIN
103         VALUE "Translation", 0x409, 0x4E4
104   END
108  *  Printing Status Dialog (should only be used when FEAT_PRINTER is defined)
109  */
110 #define IDC_BOX1                400
111 #define IDC_PRINTTEXT1          401
112 #define IDC_PRINTTEXT2          402
113 #define IDC_PROGRESS            403
114 PRINTDLGBOX DIALOG 115, 63, 210, 80
115 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
116 FONT 8, "Helv"
117 BEGIN
118     DEFPUSHBUTTON   "Cancel", IDCANCEL, 85, 60, 40, 14
119     CTEXT           "Printing",IDC_PRINTTEXT1,23,15,157,8
120     CTEXT           " ",IDC_PRINTTEXT2,23,25,157,8
121     CTEXT           "Initializing...",IDC_PROGRESS,24,38,157,8
122     GROUPBOX        "",IDC_BOX1,19,9,170,47