Implement DPI scaling for Windows (#9586)

This commit is contained in:
sfan5
2020-04-11 20:03:59 +02:00
committed by GitHub
parent 5cc06e4748
commit 40df3931d8
5 changed files with 69 additions and 25 deletions

View File

@@ -1,6 +1,8 @@
#include <windows.h>
#include <winuser.h>
#include <commctrl.h>
#include <richedit.h>
#ifndef USE_CMAKE_CONFIG_H
#define USE_CMAKE_CONFIG_H
#endif
@@ -13,6 +15,10 @@
#define BUILDMODE "RUN_IN_PLACE=0"
#endif
#ifdef __MINGW32__
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "minetest.exe.manifest"
#endif
LANGUAGE 0, SUBLANG_NEUTRAL
130 ICON "minetest-icon.ico"