Lines Matching refs:wParam
57 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
161 static uint32_t get_modifiers(UINT message, WPARAM wParam, LPARAM lParam) { in get_modifiers() argument
196 if (wParam & MK_CONTROL) { in get_modifiers()
199 if (wParam & MK_SHIFT) { in get_modifiers()
208 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
240 eventHandled = window->onChar((SkUnichar)wParam, in WndProc()
241 get_modifiers(message, wParam, lParam)); in WndProc()
245 const uint16_t* c = reinterpret_cast<uint16_t*>(&wParam); in WndProc()
247 get_modifiers(message, wParam, lParam)); in WndProc()
252 eventHandled = window->onKey(get_key(wParam), Window::kDown_InputState, in WndProc()
253 get_modifiers(message, wParam, lParam)); in WndProc()
258 eventHandled = window->onKey(get_key(wParam), Window::kUp_InputState, in WndProc()
259 get_modifiers(message, wParam, lParam)); in WndProc()
275 Window::InputState istate = ((wParam & MK_LBUTTON) != 0) ? Window::kDown_InputState in WndProc()
279 get_modifiers(message, wParam, lParam)); in WndProc()
295 get_modifiers(message, wParam, lParam)); in WndProc()
299 eventHandled = window->onMouseWheel(GET_WHEEL_DELTA_WPARAM(wParam) > 0 ? +1.0f : -1.0f, in WndProc()
300 get_modifiers(message, wParam, lParam)); in WndProc()
304 uint16_t numInputs = LOWORD(wParam); in WndProc()
332 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()