|
|
@ -12,7 +12,8 @@ namespace Avalonia.Gtk3 |
|
|
private static readonly Dictionary<StandardCursorType, object> CursorTypeMapping = new Dictionary |
|
|
private static readonly Dictionary<StandardCursorType, object> CursorTypeMapping = new Dictionary |
|
|
<StandardCursorType, object> |
|
|
<StandardCursorType, object> |
|
|
{ |
|
|
{ |
|
|
{StandardCursorType.AppStarting, CursorType.Watch}, |
|
|
{StandardCursorType.None, CursorType.Blank}, |
|
|
|
|
|
{ StandardCursorType.AppStarting, CursorType.Watch}, |
|
|
{StandardCursorType.Arrow, CursorType.LeftPtr}, |
|
|
{StandardCursorType.Arrow, CursorType.LeftPtr}, |
|
|
{StandardCursorType.Cross, CursorType.Cross}, |
|
|
{StandardCursorType.Cross, CursorType.Cross}, |
|
|
{StandardCursorType.Hand, CursorType.Hand1}, |
|
|
{StandardCursorType.Hand, CursorType.Hand1}, |
|
|
@ -36,7 +37,7 @@ namespace Avalonia.Gtk3 |
|
|
{StandardCursorType.BottomRightCorner, CursorType.BottomRightCorner}, |
|
|
{StandardCursorType.BottomRightCorner, CursorType.BottomRightCorner}, |
|
|
{StandardCursorType.DragCopy, CursorType.CenterPtr}, |
|
|
{StandardCursorType.DragCopy, CursorType.CenterPtr}, |
|
|
{StandardCursorType.DragMove, CursorType.Fleur}, |
|
|
{StandardCursorType.DragMove, CursorType.Fleur}, |
|
|
{StandardCursorType.DragLink, CursorType.Cross}, |
|
|
{StandardCursorType.DragLink, CursorType.Cross}, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
private static readonly Dictionary<StandardCursorType, IPlatformHandle> Cache = |
|
|
private static readonly Dictionary<StandardCursorType, IPlatformHandle> Cache = |
|
|
@ -80,4 +81,4 @@ namespace Avalonia.Gtk3 |
|
|
return rv; |
|
|
return rv; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|