Forráskód Böngészése

Add missing cursor types

The flowing assert would trip:
    SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS)
Susko3 1 éve
szülő
commit
a28ac29aa0
1 módosított fájl, 8 hozzáadás és 0 törlés
  1. 8 0
      test/testwm.c

+ 8 - 0
test/testwm.c

@@ -34,6 +34,14 @@ static const char *cursorNames[] = {
     "sizeALL",
     "NO",
     "hand",
+    "window top left",
+    "window top",
+    "window top right",
+    "window right",
+    "window bottom right",
+    "window bottom",
+    "window bottom left",
+    "window left"
 };
 static int system_cursor = -1;
 static SDL_Cursor *cursor = NULL;