mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Implement DPI scaling for Windows (#9586)
This commit is contained in:
parent
5cc06e4748
commit
40df3931d8
5 changed files with 69 additions and 25 deletions
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue