mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Couple two members of ZoneWindowDrawing
This commit is contained in:
@@ -21,11 +21,16 @@ class ZoneWindowDrawing
|
||||
size_t id;
|
||||
};
|
||||
|
||||
struct AnimationInfo
|
||||
{
|
||||
std::chrono::steady_clock::time_point tStart;
|
||||
unsigned duration;
|
||||
};
|
||||
|
||||
HWND m_window;
|
||||
RECT m_clientRect;
|
||||
ID2D1HwndRenderTarget* m_renderTarget;
|
||||
std::optional<std::chrono::steady_clock::time_point> m_tAnimationStart;
|
||||
unsigned m_animationDuration;
|
||||
std::optional<AnimationInfo> m_animation;
|
||||
|
||||
std::mutex m_mutex;
|
||||
std::vector<DrawableRect> m_sceneRects;
|
||||
|
||||
Reference in New Issue
Block a user