2023-07-09 07:06:19 +02:00
|
|
|
#include <windows.h>
|
|
|
|
#include "xW-resources.h"
|
|
|
|
|
2023-07-15 23:34:37 +02:00
|
|
|
// https://devblogs.microsoft.com/oldnewthing/20190607-00/?p=102569
|
|
|
|
// For UTF-8 literals to work in both MinGW and Microsoft resource compilers,
|
|
|
|
// the pragma needs to be in this file, and before they're included.
|
|
|
|
#pragma code_page(65001)
|
|
|
|
#include "config.h"
|
|
|
|
|
2023-07-09 07:06:19 +02:00
|
|
|
// Beware of this madness https://gitlab.kitware.com/cmake/cmake/-/issues/23066
|
|
|
|
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "xW.manifest"
|
|
|
|
|
|
|
|
IDI_ICON ICON "xW.ico"
|
|
|
|
IDI_HIGHLIGHTED ICON "xW-highlighted.ico"
|
|
|
|
|
|
|
|
IDA_ACCELERATORS ACCELERATORS
|
|
|
|
BEGIN
|
|
|
|
"^p", ID_PREVIOUS_BUFFER
|
|
|
|
"^n", ID_NEXT_BUFFER
|
|
|
|
VK_F5, ID_PREVIOUS_BUFFER, VIRTKEY
|
|
|
|
VK_F6, ID_NEXT_BUFFER, VIRTKEY
|
|
|
|
VK_PRIOR, ID_PREVIOUS_BUFFER, CONTROL, VIRTKEY
|
|
|
|
VK_NEXT, ID_NEXT_BUFFER, CONTROL, VIRTKEY
|
|
|
|
VK_TAB, ID_SWITCH_BUFFER, CONTROL, VIRTKEY
|
2023-07-21 12:36:31 +02:00
|
|
|
// These are proper, but llvm-rc won't accept them (GitHub #64002).
|
|
|
|
#ifndef __clang__
|
2023-07-09 07:06:19 +02:00
|
|
|
"!", ID_GOTO_HIGHLIGHT, ALT
|
|
|
|
"a", ID_GOTO_ACTIVITY, ALT
|
|
|
|
"H", ID_TOGGLE_UNIMPORTANT, ALT
|
|
|
|
"h", ID_DISPLAY_FULL_LOG, ALT
|
2023-07-21 12:36:31 +02:00
|
|
|
#endif
|
2023-07-09 07:06:19 +02:00
|
|
|
END
|
2023-07-15 23:34:37 +02:00
|
|
|
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
|
|
FILEVERSION PROJECT_MAJOR, PROJECT_MINOR, PROJECT_PATCH, PROJECT_TWEAK
|
|
|
|
PRODUCTVERSION PROJECT_MAJOR, PROJECT_MINOR, PROJECT_PATCH, PROJECT_TWEAK
|
|
|
|
FILETYPE VFT_APP
|
|
|
|
BEGIN
|
|
|
|
BLOCK "StringFileInfo"
|
|
|
|
BEGIN
|
|
|
|
BLOCK "040904B0"
|
|
|
|
BEGIN
|
|
|
|
VALUE "CompanyName", PROJECT_AUTHOR
|
|
|
|
VALUE "FileDescription", PROJECT_DESCRIPTION
|
|
|
|
VALUE "FileVersion", PROJECT_VERSION
|
|
|
|
VALUE "InternalName", PROJECT_NAME
|
|
|
|
VALUE "LegalCopyright", PROJECT_AUTHOR
|
|
|
|
VALUE "OriginalFilename", PROJECT_NAME ".exe"
|
|
|
|
VALUE "ProductName", PROJECT_NAME
|
|
|
|
VALUE "ProductVersion", PROJECT_VERSION
|
|
|
|
END
|
|
|
|
END
|
|
|
|
|
|
|
|
BLOCK "VarFileInfo"
|
|
|
|
BEGIN
|
|
|
|
VALUE "Translation", 0x409, 1200
|
|
|
|
END
|
|
|
|
END
|