PowerToys/src/settings
yuyoyuppe f3e25ae3e6
Fix for different per-monitor scaling (#657)
* Use DPIAware::DEFAULT_DPI

* Make runner DPI-unaware, since it doesn't need to use a Per Monitor V2 DPI.

* Programmatically enable "Per Monitor V2 DPI" for the runner proccess and use a separate DPI-unaware thread for the corresponding API calls

* Increase PCH memory limit for settings project

* Address review issues

* Draw zoneWindows properly scaled
2019-11-07 21:56:32 +03:00
..
settings-html Now working on 0.13.0 (#617) 2019-10-31 17:51:20 +01:00
main.cpp Add darkmode support for the settings window (#494) 2019-10-16 10:21:44 +02:00
pch.cpp rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02:00
pch.h rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02:00
README.md rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02:00
resource.h rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02:00
settings.rc Add version number to telemetry event 2019-10-14 19:22:14 +02:00
settings.vcxproj Fix for different per-monitor scaling (#657) 2019-11-07 21:56:32 +03:00
settings.vcxproj.filters rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02:00
StreamURIResolverFromFile.cpp rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02:00
StreamUriResolverFromFile.h rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02:00

PowerToys Settings project

Introduction

This path contains the WebView project for editing the PowerToys settings.

The html portion of the project that is shown in the WebView is contained in settings-html. Instructions on how build a new version and update this project are in the Web project for the Settings UI.

While developing, it's possible to connect the WebView to the development server running in localhost by setting the _DEBUG_WITH_LOCALHOST flag to 1 and following the instructions near it in ./main.cpp.

Code Organization

main.cpp

Contains the main executable code, initializing and managing the Window containing the WebView and communication with the main PowerToys executable.

StreamURIResolverFromFile.cpp

Defines a class implementing IUriToStreamResolver. Allows the WebView to navigate to filesystem files in this Win32 project.

settings-html/

Contains the assets file from building the Web project for the Settings UI. It will be loaded by the WebView.