Move code from .h to .cpp

This commit is contained in:
ivan100sic
2020-10-23 14:37:14 +02:00
committed by Ivan Stosic
parent ad4a6b3386
commit 97ee0205e9
3 changed files with 258 additions and 274 deletions

View File

@@ -128,8 +128,6 @@ private:
static const UINT m_showAnimationDuration = 200; // ms
static const UINT m_flashDuration = 700; // ms
std::unique_ptr<ZoneWindowDrawing> m_zoneWindowDrawing;
std::thread m_toy;
};
ZoneWindow::ZoneWindow(HINSTANCE hinstance)
@@ -185,13 +183,6 @@ bool ZoneWindow::Init(IZoneWindowHost* host, HINSTANCE hinstance, HMONITOR monit
m_zoneWindowDrawing = std::make_unique<ZoneWindowDrawing>(m_window.get());
m_toy = std::thread([this]() {
while (1)
{
OnPaintD2D();
}
});
return true;
}