SDL_Cursor * SDL_CreateSystemCursor(SDL_SystemCursor id);
| SDL_SystemCursor | id | SDL_SystemCursor列挙体の値 |
(SDL_Cursor *) 成功のときカーソル, 失敗のときNULLを戻す. SDL_GetError()で詳細を知ることができる.
この関数を呼べるのはメインスレッドのみである.
SDL_Cursor* cursor;
cursor = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_POINTER);
SDL_SetCursor(cursor);