Example #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;
            }
        }
Example #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)
            {
            }
        }
Example #3
0
 public void MouseHover(UiElementHoverParams hoverParams = null)
 {
     SetForeground();
     uiNode.MouseHover(hoverParams);
 }