Ryujinx-uplift/Ryujinx/Ui/Windows
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
..
AboutWindow.cs Fix Linux Icon (#1927) 2021-01-19 07:33:58 +11:00
AboutWindow.Designer.cs gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
ControllerWindow.cs Hotfix for Joy-Con Images (#2011) 2021-02-11 09:57:39 +01:00
ControllerWindow.glade GUI Update: Fix controller input window to fit all images without scrolling (#1962) 2021-01-26 16:08:22 +11:00
DlcWindow.cs gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
DlcWindow.glade gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
SettingsWindow.cs Make windows DPI aware to display properly on high-resolution screens. (#1983) 2021-02-20 01:34:41 +01:00
SettingsWindow.glade Hide Cursor On Idle (#1993) 2021-02-15 22:48:21 +01:00
TitleUpdateWindow.cs gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
TitleUpdateWindow.glade gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00