Lines Matching refs:screen_event

378     screen_event_t screen_event;  in messageLoop()  local
379 int rc = screen_create_event(&screen_event); in messageLoop()
385 while (!screen_get_event(get_screen_context(), screen_event, 0)) { in messageLoop()
387 rc = screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_TYPE, &event_type); in messageLoop()
394 processKeyEvent(screen_event); in messageLoop()
397 processMouseEvent(screen_event); in messageLoop()
400 processPropertyChangedEvent(screen_event); in messageLoop()
403 processInputControlEvent(screen_event); in messageLoop()
406 processCloseEvent(screen_event); in messageLoop()
412 screen_destroy_event(screen_event); in messageLoop()
416 screen_event_t screen_event; in setMousePosition() local
417 if (screen_create_event(&screen_event)) return; in setMousePosition()
420 if (screen_set_event_property_iv(screen_event, SCREEN_PROPERTY_TYPE, &param)) return; in setMousePosition()
422 if (screen_set_event_property_pv(screen_event, SCREEN_PROPERTY_WINDOW, (void**)&mWindow)) in setMousePosition()
425 screen_set_event_property_iv(screen_event, SCREEN_PROPERTY_SOURCE_POSITION, coords); in setMousePosition()
426 screen_send_event(get_screen_context(), screen_event, mPid); in setMousePosition()
458 screen_event_t screen_event; in signalTestEvent() local
459 if (screen_create_event(&screen_event)) return; in signalTestEvent()
462 if (screen_set_event_property_iv(screen_event, SCREEN_PROPERTY_TYPE, &param)) return; in signalTestEvent()
464 if (screen_set_event_property_pv(screen_event, SCREEN_PROPERTY_WINDOW, (void**)&mWindow)) in signalTestEvent()
467 screen_set_event_property_iv(screen_event, SCREEN_PROPERTY_BUTTONS, &button); in signalTestEvent()
468 screen_send_event(get_screen_context(), screen_event, mPid); in signalTestEvent()
471 void QNXWindow::processMouseEvent(const screen_event_t& screen_event) { in processMouseEvent() argument
474 screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_BUTTONS, &buttonState); in processMouseEvent()
486 screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_MOUSE_WHEEL, &wheel_ticks); in processMouseEvent()
503 screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_SOURCE_POSITION, position); in processMouseEvent()
515 screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_SOURCE_POSITION, in processMouseEvent()
525 void QNXWindow::processKeyEvent(const screen_event_t& screen_event) { in processKeyEvent() argument
530 screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_MODIFIERS, &modifiers); in processKeyEvent()
531 screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_FLAGS, &flags); in processKeyEvent()
532 screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_KEY_CAP, &cap); in processKeyEvent()
577 void QNXWindow::processInputControlEvent(const screen_event_t& screen_event) { in processInputControlEvent() argument
579 if (screen_get_event_property_iv(screen_event, SCREEN_INPUT_CONTROL_POINTER_STOP, &val)) return; in processInputControlEvent()
582 if (screen_get_event_property_pv(screen_event, SCREEN_PROPERTY_WINDOW, (void**)&screenWindow)) in processInputControlEvent()
590 void QNXWindow::processCloseEvent(const screen_event_t& screen_event) { in processCloseEvent() argument
592 if (screen_get_event_property_pv(screen_event, SCREEN_PROPERTY_WINDOW, (void**)&screenWindow)) in processCloseEvent()