platform code refactor (#242)

This commit is contained in:
Turánszki János
2021-02-23 00:29:29 +01:00
committed by GitHub
parent bf10893bc7
commit 666dd4ff03
20 changed files with 266 additions and 305 deletions
+6
View File
@@ -184,6 +184,12 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
case WM_INPUT:
wiRawInput::ParseMessage((void*)lParam);
break;
case WM_KILLFOCUS:
tests.is_window_active = false;
break;
case WM_SETFOCUS:
tests.is_window_active = true;
break;
case WM_PAINT:
{
PAINTSTRUCT ps;