Lines Matching refs:wParam
59 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
163 static skui::ModifierKey get_modifiers(UINT message, WPARAM wParam, LPARAM lParam) { in get_modifiers() argument
198 if (wParam & MK_CONTROL) { in get_modifiers()
201 if (wParam & MK_SHIFT) { in get_modifiers()
210 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
242 eventHandled = window->onChar((SkUnichar)wParam, in WndProc()
243 get_modifiers(message, wParam, lParam)); in WndProc()
247 const uint16_t* c = reinterpret_cast<uint16_t*>(&wParam); in WndProc()
249 get_modifiers(message, wParam, lParam)); in WndProc()
254 eventHandled = window->onKey(get_key(wParam), skui::InputState::kDown, in WndProc()
255 get_modifiers(message, wParam, lParam)); in WndProc()
260 eventHandled = window->onKey(get_key(wParam), skui::InputState::kUp, in WndProc()
261 get_modifiers(message, wParam, lParam)); in WndProc()
277 skui::InputState istate = ((wParam & MK_LBUTTON) != 0) ? skui::InputState::kDown in WndProc()
281 get_modifiers(message, wParam, lParam)); in WndProc()
297 get_modifiers(message, wParam, lParam)); in WndProc()
301 eventHandled = window->onMouseWheel(GET_WHEEL_DELTA_WPARAM(wParam) > 0 ? +1.0f : -1.0f, in WndProc()
302 get_modifiers(message, wParam, lParam)); in WndProc()
306 uint16_t numInputs = LOWORD(wParam); in WndProc()
334 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()