//------------------
        public void HandleMouseMove(System.Windows.Forms.MouseEventArgs e)
        {
            UIMouseEventArgs mouseEventArgs = GetTranslatedUIMouseEventArgs(e);

            _topWinEventRoot.RootMouseMove(mouseEventArgs);
            if (_currentCursorStyle != mouseEventArgs.MouseCursorStyle)
            {
                ChangeCursor(_currentCursorStyle = mouseEventArgs.MouseCursorStyle);
            }
            ReleaseUIMouseEventArgs(mouseEventArgs);
            PrepareRenderAndFlushAccumGraphics();
        }
 public void HandleMouseMove(int x, int y, UIMouseButtons b)
 {
     _topWinEventRoot.RootMouseMove(
         x + _canvasViewport.ViewportX,
         y + _canvasViewport.ViewportY,
         b);
     if (_currentCursorStyle != _topWinEventRoot.MouseCursorStyle)
     {
         ChangeCursorStyle(_currentCursorStyle = _topWinEventRoot.MouseCursorStyle);
     }
     PrepareRenderAndFlushAccumGraphics();
 }
 public void HandleMouseMove(System.Windows.Forms.MouseEventArgs e)
 {
     _topWinEventRoot.RootMouseMove(
         e.X + _canvasViewport.ViewportX,
         e.Y + _canvasViewport.ViewportY,
         GetMouseButton(e.Button));
     if (_currentCursorStyle != _topWinEventRoot.MouseCursorStyle)
     {
         ChangeCursorStyle(_currentCursorStyle = _topWinEventRoot.MouseCursorStyle);
     }
     PrepareRenderAndFlushAccumGraphics();
 }
Example #4
0
        public void HandleMouseMove(int x, int y)
        {
            //check is draging or not

            UIMouseEventArgs mouseEventArgs = GetTranslatedUIMouseEventArgs(MouseButton.LeftButton, x, y);

            _topWinEventRoot.RootMouseMove(mouseEventArgs);

            if (_currentCursorStyle != mouseEventArgs.MouseCursorStyle)
            {
                ChangeCursor(_currentCursorStyle = mouseEventArgs.MouseCursorStyle);
            }
            ReleaseUIMouseEventArgs(mouseEventArgs);
            PrepareRenderAndFlushAccumGraphics();
        }
Example #5
0
 public void HandleMouseMove(PrimaryMouseEventArgs mouseEventArgs)
 {
     _topWinEventRoot.RootMouseMove(mouseEventArgs);
     UpdateCursor();
     PrepareRenderAndFlushAccumGraphics();
 }