PowerToys/src/settings
2019-10-31 17:51:20 +01: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 rename 'src/editor' to '/src/settings' 2019-10-07 15:58:21 +02: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.