2 changed files with 16 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
using System; |
|||
using Avalonia.Input; |
|||
using Avalonia.Platform; |
|||
|
|||
namespace Avalonia.Controls.UnitTests |
|||
{ |
|||
public class CursorFactoryMock : IStandardCursorFactory |
|||
{ |
|||
public IPlatformHandle GetCursor(StandardCursorType cursorType) |
|||
{ |
|||
return new PlatformHandle(IntPtr.Zero, cursorType.ToString()); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue