1
0
mirror of https://github.com/minetest/minetest.git synced 2025-06-30 07:00:23 +02:00

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

@ -8,8 +8,8 @@
</security>
</trustInfo>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</windowsSettings>
</application>
</assembly>

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"