mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
b26cb077e3
* WPF - Popup Mouse Transform - Refactor and performance improvements - WPF Example - Enable popup transform by default Issue #2820
15 lines
425 B
C#
15 lines
425 B
C#
using CefSharp.Structs;
|
|
|
|
namespace CefSharp.Wpf.Internals
|
|
{
|
|
/// <summary>
|
|
/// Implement this interface to control transform the mouse position
|
|
/// </summary>
|
|
public interface IMousePositionTransform
|
|
{
|
|
System.Windows.Point UpdatePopupSizeAndPosition(Rect originalRect, Rect viewRect);
|
|
void OnPopupShow(bool isOpen);
|
|
void TransformMousePoint(ref System.Windows.Point point);
|
|
}
|
|
}
|