public GestureEventArgs(TouchScrolling.TouchTool.GestureType aGesture) { this.m_Gesture = aGesture; }
public MouseMoveEventArgs(TouchScrolling.TouchTool.GestureType aGesture, int aMoveX, int aMoveY) { this.m_Gesture = aGesture; this.m_MoveX = aMoveX; this.m_MoveY = aMoveY; }
private void TouchNavigatorTool_MouseMoveDetected(object sender, TouchScrolling.TouchTool.MouseMoveEventArgs e) { this.ScrollbarOffset += e.MoveY; this.m_ScrollDirection = (e.MoveY >= 0) ? 1 : -1; this.Refresh(); }