Ejemplo n.º 1
0
        public void MouseHover(UiElementHoverParams hoverParams = null)
        {
            if (hoverParams == null)
            {
                hoverParams = new UiElementHoverParams();
            }

            var clickablePoint = GetClickablePoint();

            if (hoverParams.moveMouse)
            {
                Mouse.MoveTo(clickablePoint);
            }
            else
            {
                Mouse.Position = clickablePoint;
            }
        }
Ejemplo n.º 2
0
        public void MouseHover(UiElementHoverParams hoverParams = null)
        {
            if (hoverParams == null)
            {
                hoverParams = new UiElementHoverParams();
            }

            try
            {
                var clickablePoint = GetClickablePoint();
                if (hoverParams.moveMouse)
                {
                    FlaUI.Core.Input.Mouse.MoveTo(clickablePoint);
                }

                FlaUI.Core.Input.Mouse.Position = clickablePoint;
            }
            catch (Exception)
            {
            }
        }
Ejemplo n.º 3
0
 public void MouseHover(UiElementHoverParams hoverParams = null)
 {
     SetForeground();
     uiNode.MouseHover(hoverParams);
 }