Reflection -UI is a c++20 desktop application library. It offers an c++ api to add visual elements to a window.
Internally it uses the WebView2 browser to renderer UI components.
Note
This project is currently only supported on windows. WebView2 is not cross-platform.
Feel free to open a pr with a different browser framework implementation
To keep this repository small the dependencies have not been shipped but will be explained here: For JSON parsing nlohmann json.
place the contents of the single_include in the include folder of the json dependency In the include folder place
WebView2.h
& WebView2EnvironmentOptions.h
. In the lib folder place
WebView2LoaderStatic.lib
Copy the wil folder direcly into the include folder of the wil dependency.
Just link the .lib of either the debug or release depending on your target and link the header files that come included, no extra libraries needed.
PS> mkdir build
PS> cd build
PS> cmake .. -G "Visual Studio 17 2022" -A x64
PS> cmake --build . --config Release