clean_ryujinx/src/Ryujinx/UI/Windows
yell0wsuit 2b6cc4b353
Add the "Auto" theme option in setting (#6611)
* Add "Follow OS theme" option

* Update App.axaml.cs

* Add "Follow OS theme" option

* Update App.axaml.cs

* Remove `this`

* Remove annotation for nullable reference

* Change into switch expression to make it concise

* Change comments to XML docs

* Update en_US.json

* Fix icons in About dialog do not response to "auto" theme

The theme icons seemingly use Dark variant event when the OS theme is light. In addition, I added ThemeManager common to make it accessible for both App and AboutWindow

* Newline at the end

* newline moment

* Update ThemeManager.cs

* bait to switch to lf

* change to lf

* temp. revert

* Add back ThemeManager.cs common, pls pass the format check

* I found the mistake: should have put `ThemeManager.OnThemeChanged();` in try block

Finally solve the formatting check

* test formatting

* Update App.axaml.cs

* Ok i seem to forget to add version lol

* Fix info CA1816
2024-05-14 17:00:03 +02:00
..
AboutWindow.axaml infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
AboutWindow.axaml.cs infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
AmiiboWindow.axaml infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
AmiiboWindow.axaml.cs infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
CheatWindow.axaml infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
CheatWindow.axaml.cs infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
ContentDialogOverlayWindow.axaml infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
ContentDialogOverlayWindow.axaml.cs Ava UI: Content Dialog Fixes (#6482) 2024-03-16 20:34:26 +01:00
DownloadableContentManagerWindow.axaml infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
DownloadableContentManagerWindow.axaml.cs Ava UI: Content Dialog Fixes (#6482) 2024-03-16 20:34:26 +01:00
IconColorPicker.cs Update dependencies from SixLabors to the latest version before the license change (#6440) 2024-03-08 13:16:32 -03:00
MainWindow.axaml UI: Update minimum window size to 800x500 (#6425) 2024-03-07 20:38:56 -03:00
MainWindow.axaml.cs Add the "Auto" theme option in setting (#6611) 2024-05-14 17:00:03 +02:00
ModManagerWindow.axaml infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
ModManagerWindow.axaml.cs Add missing ModWindowTitle locale key (#6601) 2024-04-05 12:54:08 -03:00
SettingsWindow.axaml infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
SettingsWindow.axaml.cs Ava UI: Input Menu Refactor (#5826) 2024-04-17 18:52:12 -03:00
StyleableWindow.cs infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
TitleUpdateWindow.axaml infra: Make Avalonia the default UI (#6375) 2024-03-02 12:51:05 +01:00
TitleUpdateWindow.axaml.cs Ava UI: Content Dialog Fixes (#6482) 2024-03-16 20:34:26 +01:00