[gtk+] win32: Support all css cursor names



commit b3fb1aefd8b285874b0a744af024a16d3958e402
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jul 26 01:34:38 2015 -0400

    win32: Support all css cursor names
    
    Approximate some of the resize cursors with similar cursors.

 gdk/win32/gdkcursor-win32.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkcursor-win32.c b/gdk/win32/gdkcursor-win32.c
index 290389b..288f87c 100644
--- a/gdk/win32/gdkcursor-win32.c
+++ b/gdk/win32/gdkcursor-win32.c
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]