JinxRyu/Ryujinx/Ui
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
..
App Initial Setup: Reload keys before verifying firmware (#1955) 2021-01-26 18:45:07 +01:00
Applet Fix Linux Icon (#1927) 2021-01-19 07:33:58 +11:00
Helper gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
Resources Hotfix for Joy-Con Images (#2011) 2021-02-11 09:57:39 +01:00
Widgets Fix Linux Icon (#1927) 2021-01-19 07:33:58 +11:00
Windows Make windows DPI aware to display properly on high-resolution screens. (#1983) 2021-02-20 01:34:41 +01:00
GLRenderer.cs Hide Cursor On Idle (#1993) 2021-02-15 22:48:21 +01:00
JoystickController.cs system: Make index 0 of keyboards in configuration 'all keyboards' 2020-05-03 15:00:29 +02:00
KeyboardController.cs Fix SL/SR typo in keyboard controller mapping (#1938) 2021-01-20 18:59:51 +01:00
MainWindow.cs Make windows DPI aware to display properly on high-resolution screens. (#1983) 2021-02-20 01:34:41 +01:00
MainWindow.glade Load default config when an invalid config is found (#1008) 2021-02-09 10:24:37 +01:00
StatusUpdatedEventArgs.cs gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00