/// <summary> /// Handle mouse move to handle hover cursor and text selection. /// </summary> /// <param name="parent">the control hosting the html to set cursor and invalidate</param> /// <param name="e">the mouse event args</param> public void HandleMouseMove(Control parent, MouseEventArgs e) { ArgChecker.AssertArgNotNull(parent, "parent"); ArgChecker.AssertArgNotNull(e, "e"); _htmlContainerInt.HandleMouseMove(new ControlAdapter(parent, _useGdiPlusTextRendering), Utils.Convert(e.Location)); }
/// <summary> /// Handle mouse move to handle hover cursor and text selection. /// </summary> /// <param name="parent">the control hosting the html to set cursor and invalidate</param> /// <param name="mousePos">the mouse event args</param> public void HandleMouseMove(Control parent, Point mousePos) { ArgChecker.AssertArgNotNull(parent, "parent"); _htmlContainerInt.HandleMouseMove(new ControlAdapter(parent), Utils.Convert(mousePos)); }
/// <summary> /// Handle mouse move to handle hover cursor and text selection. /// </summary> /// <param name="parent">the control hosting the html to set cursor and invalidate</param> /// <param name="e">the mouse event args</param> public void HandleMouseMove(SDL.SDL_MouseMotionEvent e) { _htmlContainerInt.HandleMouseMove(new ControlAdapter(SDL2Adapter.Instance, e.ToRPoint()), e.ToRPoint()); }