win32: Support all css cursor names

Approximate some of the resize cursors with similar cursors.
This commit is contained in:
Matthias Clasen 2015-07-26 01:34:38 -04:00
parent fffbe61c23
commit b3fb1aefd8

View File

@ -61,9 +61,19 @@ static DefaultCursor default_cursors[] = {
{ "move", IDC_SIZEALL },
{ "not-allowed", IDC_NO },
{ "ew-resize", IDC_SIZEWE },
{ "e-resize", IDC_SIZEWE },
{ "w-resize", IDC_SIZEWE },
{ "col-resize", IDC_SIZEWE },
{ "ns-resize", IDC_SIZENS },
{ "n-resize", IDC_SIZENS },
{ "s-resize", IDC_SIZENS },
{ "row-resize", IDC_SIZENS },
{ "nesw-resize", IDC_SIZENESW },
{ "ne-resize", IDC_SIZENESW },
{ "sw-resize", IDC_SIZENESW },
{ "nwse-resize", IDC_SIZENWSE }
{ "nw-resize", IDC_SIZENWSE }
{ "se-resize", IDC_SIZENWSE }
};
static HCURSOR