Lines Matching refs:event

250                 Event event;  in WndProc()  local
251 event.type = Event::EVENT_CLOSED; in WndProc()
252 window->pushEvent(event); in WndProc()
266 Event event; in WndProc() local
267 event.type = Event::EVENT_MOVED; in WndProc()
268 event.move.x = topLeft.x; in WndProc()
269 event.move.y = topLeft.y; in WndProc()
270 window->pushEvent(event); in WndProc()
290 Event event; in WndProc() local
291 event.type = Event::EVENT_RESIZED; in WndProc()
292 event.size.width = botRight.x - topLeft.x; in WndProc()
293 event.size.height = botRight.y - topLeft.y; in WndProc()
294 window->pushEvent(event); in WndProc()
301 Event event; in WndProc() local
302 event.type = Event::EVENT_GAINED_FOCUS; in WndProc()
303 window->pushEvent(event); in WndProc()
309 Event event; in WndProc() local
310 event.type = Event::EVENT_LOST_FOCUS; in WndProc()
311 window->pushEvent(event); in WndProc()
322 Event event; in WndProc() local
323 event.type = down ? Event::EVENT_KEY_PRESSED : Event::EVENT_KEY_RELEASED; in WndProc()
324 event.key.alt = HIWORD(GetAsyncKeyState(VK_MENU)) != 0; in WndProc()
325 event.key.control = HIWORD(GetAsyncKeyState(VK_CONTROL)) != 0; in WndProc()
326 event.key.shift = HIWORD(GetAsyncKeyState(VK_SHIFT)) != 0; in WndProc()
327 event.key.system = in WndProc()
329 event.key.code = VirtualKeyCodeToKey(wParam, lParam); in WndProc()
330 window->pushEvent(event); in WndProc()
337 Event event; in WndProc() local
338 event.type = Event::EVENT_MOUSE_WHEEL_MOVED; in WndProc()
339 event.mouseWheel.delta = static_cast<short>(HIWORD(wParam)) / 120; in WndProc()
340 window->pushEvent(event); in WndProc()
347 Event event; in WndProc() local
348 event.type = Event::EVENT_MOUSE_BUTTON_PRESSED; in WndProc()
349 event.mouseButton.button = MOUSEBUTTON_LEFT; in WndProc()
350 event.mouseButton.x = static_cast<short>(LOWORD(lParam)); in WndProc()
351 event.mouseButton.y = static_cast<short>(HIWORD(lParam)); in WndProc()
352 window->pushEvent(event); in WndProc()
358 Event event; in WndProc() local
359 event.type = Event::EVENT_MOUSE_BUTTON_RELEASED; in WndProc()
360 event.mouseButton.button = MOUSEBUTTON_LEFT; in WndProc()
361 event.mouseButton.x = static_cast<short>(LOWORD(lParam)); in WndProc()
362 event.mouseButton.y = static_cast<short>(HIWORD(lParam)); in WndProc()
363 window->pushEvent(event); in WndProc()
370 Event event; in WndProc() local
371 event.type = Event::EVENT_MOUSE_BUTTON_PRESSED; in WndProc()
372 event.mouseButton.button = MOUSEBUTTON_RIGHT; in WndProc()
373 event.mouseButton.x = static_cast<short>(LOWORD(lParam)); in WndProc()
374 event.mouseButton.y = static_cast<short>(HIWORD(lParam)); in WndProc()
375 window->pushEvent(event); in WndProc()
382 Event event; in WndProc() local
383 event.type = Event::EVENT_MOUSE_BUTTON_RELEASED; in WndProc()
384 event.mouseButton.button = MOUSEBUTTON_RIGHT; in WndProc()
385 event.mouseButton.x = static_cast<short>(LOWORD(lParam)); in WndProc()
386 event.mouseButton.y = static_cast<short>(HIWORD(lParam)); in WndProc()
387 window->pushEvent(event); in WndProc()
395 Event event; in WndProc() local
396 event.type = Event::EVENT_MOUSE_BUTTON_PRESSED; in WndProc()
397 event.mouseButton.button = MOUSEBUTTON_MIDDLE; in WndProc()
398 event.mouseButton.x = static_cast<short>(LOWORD(lParam)); in WndProc()
399 event.mouseButton.y = static_cast<short>(HIWORD(lParam)); in WndProc()
400 window->pushEvent(event); in WndProc()
407 Event event; in WndProc() local
408 event.type = Event::EVENT_MOUSE_BUTTON_RELEASED; in WndProc()
409 event.mouseButton.button = MOUSEBUTTON_MIDDLE; in WndProc()
410 event.mouseButton.x = static_cast<short>(LOWORD(lParam)); in WndProc()
411 event.mouseButton.y = static_cast<short>(HIWORD(lParam)); in WndProc()
412 window->pushEvent(event); in WndProc()
420 Event event; in WndProc() local
421 event.type = Event::EVENT_MOUSE_BUTTON_PRESSED; in WndProc()
422 event.mouseButton.button = in WndProc()
424 event.mouseButton.x = static_cast<short>(LOWORD(lParam)); in WndProc()
425 event.mouseButton.y = static_cast<short>(HIWORD(lParam)); in WndProc()
426 window->pushEvent(event); in WndProc()
433 Event event; in WndProc() local
434 event.type = Event::EVENT_MOUSE_BUTTON_RELEASED; in WndProc()
435 event.mouseButton.button = in WndProc()
437 event.mouseButton.x = static_cast<short>(LOWORD(lParam)); in WndProc()
438 event.mouseButton.y = static_cast<short>(HIWORD(lParam)); in WndProc()
439 window->pushEvent(event); in WndProc()
448 Event event; in WndProc() local
449 event.type = Event::EVENT_MOUSE_ENTERED; in WndProc()
450 window->pushEvent(event); in WndProc()
456 Event event; in WndProc() local
457 event.type = Event::EVENT_MOUSE_MOVED; in WndProc()
458 event.mouseMove.x = mouseX; in WndProc()
459 event.mouseMove.y = mouseY; in WndProc()
460 window->pushEvent(event); in WndProc()
466 Event event; in WndProc() local
467 event.type = Event::EVENT_MOUSE_LEFT; in WndProc()
468 window->pushEvent(event); in WndProc()
819 void Win32Window::pushEvent(Event event) in pushEvent() argument
821 OSWindow::pushEvent(event); in pushEvent()
823 switch (event.type) in pushEvent()