windows: add support for system theme
Use registry "HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion /Themes/Personalize/AppsUseLightTheme" to check if system theme is supported and if it is dark or light. Removes "EnableDarkTheme" in favor of "AppTheme". Requires Windows SDK version 10.0.18362.0 to build with system theme support. Note: This does not watch for changes in system theme in runtime as the support for it requires Windows Runtime version 10.0.10240.0. GitLab: #723 Change-Id: Ice8f7936a90535f47dc1870d4f18215e062684ba
Showing
- INSTALL.md 2 additions, 2 deletionsINSTALL.md
- build.py 1 addition, 1 deletionbuild.py
- extras/scripts/build-windows.py 4 additions, 1 deletionextras/scripts/build-windows.py
- src/app/appsettingsmanager.h 0 additions, 1 deletionsrc/app/appsettingsmanager.h
- src/app/utilsadapter.cpp 65 additions, 14 deletionssrc/app/utilsadapter.cpp
- src/app/utilsadapter.h 18 additions, 8 deletionssrc/app/utilsadapter.h
Loading
Please register or sign in to comment