Lines Matching refs:motion
84 PlatformMouseEvent::PlatformMouseEvent(GdkEventMotion* motion)
86 m_timestamp = motion->time;
87 m_position = IntPoint((int)motion->x, (int)motion->y);
88 m_globalPosition = IntPoint((int)motion->x_root, (int)motion->y_root);
91 if (motion->state & GDK_SHIFT_MASK)
93 if (motion->state & GDK_CONTROL_MASK)
95 if (motion->state & GDK_MOD1_MASK)
97 if (motion->state & GDK_META_MASK)
100 switch (motion->type) {
110 if (motion->state & GDK_BUTTON1_MASK)
112 else if (motion->state & GDK_BUTTON2_MASK)
114 else if (motion->state & GDK_BUTTON3_MASK)