Lines Matching refs:event
252 Event event; in WndProc() local
253 event.Type = Event::EVENT_CLOSED; in WndProc()
254 window->pushEvent(event); in WndProc()
268 Event event; in WndProc() local
269 event.Type = Event::EVENT_MOVED; in WndProc()
270 event.Move.X = topLeft.x; in WndProc()
271 event.Move.Y = topLeft.y; in WndProc()
272 window->pushEvent(event); in WndProc()
292 Event event; in WndProc() local
293 event.Type = Event::EVENT_RESIZED; in WndProc()
294 event.Size.Width = botRight.x - topLeft.x; in WndProc()
295 event.Size.Height = botRight.y - topLeft.y; in WndProc()
296 window->pushEvent(event); in WndProc()
303 Event event; in WndProc() local
304 event.Type = Event::EVENT_GAINED_FOCUS; in WndProc()
305 window->pushEvent(event); in WndProc()
311 Event event; in WndProc() local
312 event.Type = Event::EVENT_LOST_FOCUS; in WndProc()
313 window->pushEvent(event); in WndProc()
324 Event event; in WndProc() local
325 event.Type = down ? Event::EVENT_KEY_PRESSED : Event::EVENT_KEY_RELEASED; in WndProc()
326 event.Key.Alt = HIWORD(GetAsyncKeyState(VK_MENU)) != 0; in WndProc()
327 event.Key.Control = HIWORD(GetAsyncKeyState(VK_CONTROL)) != 0; in WndProc()
328 event.Key.Shift = HIWORD(GetAsyncKeyState(VK_SHIFT)) != 0; in WndProc()
329 event.Key.System = in WndProc()
331 event.Key.Code = VirtualKeyCodeToKey(wParam, lParam); in WndProc()
332 window->pushEvent(event); in WndProc()
339 Event event; in WndProc() local
340 event.Type = Event::EVENT_MOUSE_WHEEL_MOVED; in WndProc()
341 event.MouseWheel.Delta = static_cast<short>(HIWORD(wParam)) / 120; in WndProc()
342 window->pushEvent(event); in WndProc()
349 Event event; in WndProc() local
350 event.Type = Event::EVENT_MOUSE_BUTTON_PRESSED; in WndProc()
351 event.MouseButton.Button = MOUSEBUTTON_LEFT; in WndProc()
352 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
353 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
354 window->pushEvent(event); in WndProc()
360 Event event; in WndProc() local
361 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in WndProc()
362 event.MouseButton.Button = MOUSEBUTTON_LEFT; in WndProc()
363 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
364 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
365 window->pushEvent(event); in WndProc()
372 Event event; in WndProc() local
373 event.Type = Event::EVENT_MOUSE_BUTTON_PRESSED; in WndProc()
374 event.MouseButton.Button = MOUSEBUTTON_RIGHT; in WndProc()
375 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
376 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
377 window->pushEvent(event); in WndProc()
384 Event event; in WndProc() local
385 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in WndProc()
386 event.MouseButton.Button = MOUSEBUTTON_RIGHT; in WndProc()
387 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
388 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
389 window->pushEvent(event); in WndProc()
397 Event event; in WndProc() local
398 event.Type = Event::EVENT_MOUSE_BUTTON_PRESSED; in WndProc()
399 event.MouseButton.Button = MOUSEBUTTON_MIDDLE; in WndProc()
400 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
401 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
402 window->pushEvent(event); in WndProc()
409 Event event; in WndProc() local
410 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in WndProc()
411 event.MouseButton.Button = MOUSEBUTTON_MIDDLE; in WndProc()
412 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
413 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
414 window->pushEvent(event); in WndProc()
422 Event event; in WndProc() local
423 event.Type = Event::EVENT_MOUSE_BUTTON_PRESSED; in WndProc()
424 event.MouseButton.Button = in WndProc()
426 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
427 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
428 window->pushEvent(event); in WndProc()
435 Event event; in WndProc() local
436 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in WndProc()
437 event.MouseButton.Button = in WndProc()
439 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()
440 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()
441 window->pushEvent(event); in WndProc()
450 Event event; in WndProc() local
451 event.Type = Event::EVENT_MOUSE_ENTERED; in WndProc()
452 window->pushEvent(event); in WndProc()
458 Event event; in WndProc() local
459 event.Type = Event::EVENT_MOUSE_MOVED; in WndProc()
460 event.MouseMove.X = mouseX; in WndProc()
461 event.MouseMove.Y = mouseY; in WndProc()
462 window->pushEvent(event); in WndProc()
468 Event event; in WndProc() local
469 event.Type = Event::EVENT_MOUSE_LEFT; in WndProc()
470 window->pushEvent(event); in WndProc()
810 void Win32Window::pushEvent(Event event) in pushEvent() argument
812 OSWindow::pushEvent(event); in pushEvent()
814 switch (event.Type) in pushEvent()