1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-24 12:13:16 +00:00

Updated win-dialog to better support HighDPI displays

This commit is contained in:
Bryan Roe
2022-02-11 19:43:30 -08:00
parent b668b2543e
commit cb7179057b
3 changed files with 261 additions and 33 deletions

File diff suppressed because one or more lines are too long

View File

@@ -66,6 +66,10 @@ function WindowsMessagePump(options)
this._user32.CreateMethod('IsDlgButtonChecked');
this._user32.CreateMethod('CheckDlgButton');
this._user32.CreateMethod('BeginDeferWindowPos');
this._user32.CreateMethod('DeferWindowPos');
this._user32.CreateMethod('EndDeferWindowPos');
this._gdi32 = GM.CreateNativeProxy('Gdi32.dll');
this._gdi32.mp = this;
this._gdi32.CreateMethod('CreateFontW');