Lines Matching defs:event
36 // Keep this in sync with the other platform event constructors
37 PlatformWheelEvent::PlatformWheelEvent(GdkEventScroll* event)
45 switch (event->direction) {
62 m_position = IntPoint(static_cast<int>(event->x), static_cast<int>(event->y));
63 m_globalPosition = IntPoint(static_cast<int>(event->x_root), static_cast<int>(event->y_root));
66 m_shiftKey = event->state & GDK_SHIFT_MASK;
67 m_ctrlKey = event->state & GDK_CONTROL_MASK;
68 m_altKey = event->state & GDK_MOD1_MASK;
69 m_metaKey = event->state & GDK_META_MASK;
71 // FIXME: retrieve the user setting for the number of lines to scroll on each wheel event