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