mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-25 04:34:13 +01:00
* [Screen Ruler] simplify lines calculation * [Screen Ruler] Add inches and centimeters support * [Chore] prefer x64 toolset to avoid hitting C1076 * [Screen Ruler] Allow making screenshots in non-continuous mode * [Screen Ruler] Use single d3d device for all ops * [Screen Ruler] remove gpu mutex and clean up screen capturing * [Screen Ruler] handle and log DXGI initialization failure * [Screen Ruler] Add unhandled exception handler * [Screen Ruler] comment out Units of Measure setting * [Screen Ruler] introduce a separate device dedicated for capturing
12 lines
395 B
C++
12 lines
395 B
C++
#pragma once
|
|
|
|
#include "DxgiAPI.h"
|
|
#include "ToolState.h"
|
|
|
|
#include <common/utils/serialized.h>
|
|
|
|
std::thread StartCapturingThread(DxgiAPI* dxgiAPI,
|
|
const CommonState& commonState,
|
|
Serialized<MeasureToolState>& state,
|
|
HWND targetWindow,
|
|
MonitorInfo targetMonitor); |