Finalize PR before review

This commit is contained in:
ivan100sic
2020-10-26 12:23:56 +01:00
committed by Ivan Stosic
parent 51faca5b69
commit 191c5c3b37
2 changed files with 0 additions and 6 deletions

View File

@@ -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)

View File

@@ -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;