JinxRyu/Ryujinx
sharmander d5081e3f93
Make windows DPI aware to display properly on high-resolution screens. (#1983)
* Make Windows DPI aware to display properly on high-resolution screens.

* remove empty line

* Don't use app manifest, set process dpi aware programatically.

Store variables in Program.cs for use instead of re-creating them per class/ method.

* Fix for linux/osx

* Add braces

* Re-use manifest. It appears to be required on linux.

* Undo previous commit -- it appears linux was simply never affected.

* Addressed AcK's comments

* Remove unused usings

* Address comments by AcK #2

* Re-order

* Move FromHwnd call to ForceDpiAware class. Wrap in Try-Catch to prevent crashes on systems that don't support it.

* Additional code cleanup

* Remove "global::" reference.
2021-02-20 01:34:41 +01:00
..
Modules Fix Updater Icon On Linux (#1995) 2021-02-08 10:27:12 +11:00
Ui Make windows DPI aware to display properly on high-resolution screens. (#1983) 2021-02-20 01:34:41 +01:00
_schema.json Hide Cursor On Idle (#1993) 2021-02-15 22:48:21 +01:00
Config.json Hide Cursor On Idle (#1993) 2021-02-15 22:48:21 +01:00
Program.cs Make windows DPI aware to display properly on high-resolution screens. (#1983) 2021-02-20 01:34:41 +01:00
Ryujinx.csproj gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
Ryujinx.ico Added Program Icon (#900) 2020-01-24 16:14:51 +01:00
THIRDPARTY.md Distribute with OpenAL Soft on Windows (#1847) 2020-12-31 09:08:09 +11:00