PowerToys/src/common/Themes
William Bradley b7fccc3211
Immersive dark mode + Theme Listener (#18315)
* C++ impl of immersive dark mode

* Stop using the hardcoded value.

* Conjured up theme listener based on registry.

* Update MainWindow.xaml.cpp

* Update expect.txt

* Moved themehelpers to the common themes lib.

* Ported theme helpers back to .NET

* Update expect.txt

* Updated C# Theme Listening logic to mimic the one from Windows Community Toolkit.

* Replaced unmanaged code for RegisterForImmersiveDarkMode with unmanaged ThemeListener class.

* Fix upstream changes

* Update ThemeListener.h

* Update ThemeListener.h

* Proper formatting

* Added handler to Keyboard Manager.

* Update EditKeyboardWindow.cpp

* Added dwmapi.lib to runner, removed condition from additional dependencies.

* Update PowerRenameUI.vcxproj

* Added new deps for ManagedCommon to Product.wxs

* Crude attempts and understanding installer

* Removed Microsoft.Win32.Registry.dll from product.wxs.

* Updated dictionary

* Renamed ThemeListener class file for consistency, removed unused CheckImmersiveDarkMode in theme_helpers.

* Update Themes.vcxproj

* Update theme_listener.cpp

* Removed SupportsImmersiveDarkMode version check

* Removed SupportsImmersiveDarkMode version check

* Whoops

* Update expect.txt
2022-07-01 10:52:48 +01:00
..
icon_helpers.cpp common: refactor common library pt2 (#8588) 2020-12-15 15:16:09 +03:00
icon_helpers.h common: refactor common library pt2 (#8588) 2020-12-15 15:16:09 +03:00
packages.config [PowerRename] Move to WinAppSDK WinUI3 Unpackaged & ARM64 Support (#18171) 2022-05-11 16:38:12 +02:00
theme_helpers.cpp Immersive dark mode + Theme Listener (#18315) 2022-07-01 10:52:48 +01:00
theme_helpers.h Immersive dark mode + Theme Listener (#18315) 2022-07-01 10:52:48 +01:00
theme_listener.cpp Immersive dark mode + Theme Listener (#18315) 2022-07-01 10:52:48 +01:00
theme_listener.h Immersive dark mode + Theme Listener (#18315) 2022-07-01 10:52:48 +01:00
Themes.vcxproj Immersive dark mode + Theme Listener (#18315) 2022-07-01 10:52:48 +01:00
windows_colors.cpp Immersive dark mode + Theme Listener (#18315) 2022-07-01 10:52:48 +01:00
windows_colors.h common: refactor common library pt2 (#8588) 2020-12-15 15:16:09 +03:00