|
|
|
@ -23,22 +23,30 @@ namespace Perspex.Win32 |
|
|
|
private static readonly Dictionary<StandardCursorType, int> CursorTypeMapping = new Dictionary |
|
|
|
<StandardCursorType, int> |
|
|
|
{ |
|
|
|
{ StandardCursorType.AppStarting, 32650 }, |
|
|
|
{ StandardCursorType.Arrow, 32512 }, |
|
|
|
{ StandardCursorType.Cross, 32515 }, |
|
|
|
{ StandardCursorType.Hand, 32649 }, |
|
|
|
{ StandardCursorType.Help, 32651 }, |
|
|
|
{ StandardCursorType.Ibeam, 32513 }, |
|
|
|
{ StandardCursorType.No, 32648 }, |
|
|
|
{ StandardCursorType.SizeAll, 32646 }, |
|
|
|
|
|
|
|
// { StandardCursorType.SizeNorthEastSouthWest, 32643 },
|
|
|
|
{ StandardCursorType.SizeNorthSouth, 32645 }, |
|
|
|
|
|
|
|
// { StandardCursorType.SizeNorthWestSouthEast, 32642 },
|
|
|
|
{ StandardCursorType.SizeWestEast, 32644 }, |
|
|
|
{ StandardCursorType.UpArrow, 32516 }, |
|
|
|
{ StandardCursorType.Wait, 32514 } |
|
|
|
{StandardCursorType.AppStarting, 32650}, |
|
|
|
{StandardCursorType.Arrow, 32512}, |
|
|
|
{StandardCursorType.Cross, 32515}, |
|
|
|
{StandardCursorType.Hand, 32649}, |
|
|
|
{StandardCursorType.Help, 32651}, |
|
|
|
{StandardCursorType.Ibeam, 32513}, |
|
|
|
{StandardCursorType.No, 32648}, |
|
|
|
{StandardCursorType.SizeAll, 32646}, |
|
|
|
{StandardCursorType.UpArrow, 32516}, |
|
|
|
{StandardCursorType.SizeNorthSouth, 32645}, |
|
|
|
{StandardCursorType.SizeWestEast, 32644}, |
|
|
|
{StandardCursorType.Wait, 32514}, |
|
|
|
//Same as SizeNorthSouth
|
|
|
|
{StandardCursorType.TopSide, 32645}, |
|
|
|
{StandardCursorType.BottomSize, 32645}, |
|
|
|
//Same as SizeWestEast
|
|
|
|
{StandardCursorType.LeftSide, 32644}, |
|
|
|
{StandardCursorType.RightSide, 32644}, |
|
|
|
//Using SizeNorthWestSouthEast
|
|
|
|
{StandardCursorType.TopLeftCorner, 32642}, |
|
|
|
{StandardCursorType.BottomRightCorner, 32642}, |
|
|
|
//Using SizeNorthEastSouthWest
|
|
|
|
{StandardCursorType.TopRightCorner, 32643}, |
|
|
|
{StandardCursorType.BottomLeftCorner, 32643}, |
|
|
|
}; |
|
|
|
|
|
|
|
private static readonly Dictionary<StandardCursorType, IPlatformHandle> Cache = |
|
|
|
|