Ejemplo n.º 1
0
        /// <summary>
        /// Mouse moved handler.
        /// </summary>
        /// <param name="canvas">Canvas.</param>
        /// <param name="x"></param>
        /// <param name="y"></param>
        /// <param name="dx"></param>
        /// <param name="dy"></param>
        public void OnMouseMoved(Base canvas, int x, int y, int dx, int dy)
        {
            // Send input to canvas for study
            MousePosition = new PointImmutable(x, y);

            UpdateHoveredControl(canvas);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Mouse moved handler.
        /// </summary>
        /// <param name="canvas">Canvas.</param>
        /// <param name="x"></param>
        /// <param name="y"></param>
        /// <param name="dx"></param>
        /// <param name="dy"></param>
        public void OnMouseMoved(Base canvas, int x, int y, int dx, int dy)
        {
            // Send input to canvas for study
            MousePosition = new PointImmutable(x,y);

            UpdateHoveredControl(canvas);
        }