mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
Finalize PR before review
This commit is contained in:
@@ -39,8 +39,6 @@ ID2D1Factory* ZoneWindowDrawing::GetD2DFactory()
|
||||
D2D1CreateFactory(D2D1_FACTORY_TYPE_MULTI_THREADED, &pD2DFactory);
|
||||
}
|
||||
return pD2DFactory;
|
||||
|
||||
// TODO: Destroy factory
|
||||
}
|
||||
|
||||
IDWriteFactory* ZoneWindowDrawing::GetWriteFactory()
|
||||
@@ -51,8 +49,6 @@ IDWriteFactory* ZoneWindowDrawing::GetWriteFactory()
|
||||
DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory), &pDWriteFactory);
|
||||
}
|
||||
return reinterpret_cast<IDWriteFactory*>(pDWriteFactory);
|
||||
|
||||
// TODO: Destroy factory
|
||||
}
|
||||
|
||||
D2D1_COLOR_F ZoneWindowDrawing::ConvertColor(COLORREF color)
|
||||
|
||||
@@ -23,7 +23,6 @@ class ZoneWindowDrawing
|
||||
|
||||
HWND m_window;
|
||||
RECT m_clientRect;
|
||||
// winrt::com_ptr<IZoneWindowHost> m_host;
|
||||
ID2D1HwndRenderTarget* m_renderTarget;
|
||||
std::optional<std::chrono::steady_clock::time_point> m_tAnimationStart;
|
||||
unsigned m_animationDuration;
|
||||
@@ -37,7 +36,6 @@ class ZoneWindowDrawing
|
||||
static D2D1_COLOR_F ConvertColor(COLORREF color);
|
||||
static D2D1_RECT_F ConvertRect(RECT rect);
|
||||
void Render();
|
||||
void StopRendering();
|
||||
|
||||
std::atomic<bool> m_shouldRender;
|
||||
std::atomic<bool> m_abortThread;
|
||||
|
||||
Reference in New Issue
Block a user