コード例 #1
0
ファイル: TouchTool.cs プロジェクト: north0808/haina
 public GestureEventArgs(TouchScrolling.TouchTool.GestureType aGesture)
 {
     this.m_Gesture = aGesture;
 }
コード例 #2
0
ファイル: TouchTool.cs プロジェクト: north0808/haina
 public MouseMoveEventArgs(TouchScrolling.TouchTool.GestureType aGesture, int aMoveX, int aMoveY)
 {
     this.m_Gesture = aGesture;
     this.m_MoveX = aMoveX;
     this.m_MoveY = aMoveY;
 }
コード例 #3
0
ファイル: Roller.cs プロジェクト: north0808/haina
 private void TouchNavigatorTool_MouseMoveDetected(object sender, TouchScrolling.TouchTool.MouseMoveEventArgs e)
 {
     this.ScrollbarOffset += e.MoveY;
     this.m_ScrollDirection = (e.MoveY >= 0) ? 1 : -1;
     this.Refresh();
 }