Beispiel #1
0
 public static void SetCursor(SDL_SystemCursor Cursor)
 {
     if (SystemCursor != Cursor)
     {
         IntPtr surface = SDL_CreateSystemCursor(Cursor);
         SystemCursor = Cursor;
         SDL_SetCursor(surface);
     }
 }
Beispiel #2
0
 public static extern IntPtr /* SDL_Cursor*  */ SDL_CreateSystemCursor(
     SDL_SystemCursor id);
Beispiel #3
0
 /// <summary>
 /// Create a system cursor.
 /// </summary>
 public static SDL_Cursor SDL_CreateSystemCursor(SDL_SystemCursor id) => s_sdl_createSystemCursor(id);
Beispiel #4
0
 public void SetCursor(SDL_SystemCursor cursor)
 {
     Sdl2Native.SDL_SetCursor(cursorMap[cursor]);
 }
Beispiel #5
0
 public static IntPtr SDL_CreateSystemCursor(SDL_SystemCursor id) => s_SDL_CreateSystemCursor_SDL_SystemCursor_t(id);
Beispiel #6
0
		public static extern IntPtr SDL_CreateSystemCursor(SDL_SystemCursor id);