Ejemplo n.º 1
0
        /// <summary>
        /// Handle mouse down to handle selection.
        /// </summary>
        /// <param name="parent">the control hosting the html to invalidate</param>
        /// <param name="e">the mouse event args</param>
        public void HandleMouseDown(Control parent, MouseEventArgs e)
        {
            ArgChecker.AssertArgNotNull(parent, "parent");
            ArgChecker.AssertArgNotNull(e, "e");

            _htmlContainerInt.HandleMouseDown(new ControlAdapter(parent), Utils.Convert(e.GetPosition(parent)));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Handle mouse down to handle selection.
        /// </summary>
        /// <param name="parent">the control hosting the html to invalidate</param>
        /// <param name="e">the mouse event args</param>
        public void HandleMouseDown(Control parent, MouseEventArgs e)
        {
            ArgChecker.AssertArgNotNull(parent, "parent");
            ArgChecker.AssertArgNotNull(e, "e");

            _htmlContainerInt.HandleMouseDown(new ControlAdapter(parent, _useGdiPlusTextRendering), Utils.Convert(e.Location));
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Handle mouse down to handle selection.
 /// </summary>
 /// <param name="parent">the control hosting the html to invalidate</param>
 /// <param name="e">the mouse event args</param>
 public void HandleMouseDown(SDL.SDL_MouseButtonEvent e)
 {
     _htmlContainerInt.HandleMouseDown(new ControlAdapter(SDL2Adapter.Instance, e.ToRPoint(), e), e.ToRPoint());
 }