table of contents
SDL_SystemCursor(3type) | SDL3 DATATYPES | SDL_SystemCursor(3type) |
NAME¶
SDL_SystemCursor - Cursor types for SDL_CreateSystemCursor ().
HEADER FILE¶
Defined in SDL3/SDL_mouse.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef enum SDL_SystemCursor { SDL_SYSTEM_CURSOR_DEFAULT, /**< Default cursor. Usually an arrow. */ SDL_SYSTEM_CURSOR_TEXT, /**< Text selection. Usually an I-beam. */ SDL_SYSTEM_CURSOR_WAIT, /**< Wait. Usually an hourglass or watch or spinning ball. */ SDL_SYSTEM_CURSOR_CROSSHAIR, /**< Crosshair. */ SDL_SYSTEM_CURSOR_PROGRESS, /**< Program is busy but still interactive. Usually it's WAIT with an arrow. */ SDL_SYSTEM_CURSOR_NWSE_RESIZE, /**< Double arrow pointing northwest and southeast. */ SDL_SYSTEM_CURSOR_NESW_RESIZE, /**< Double arrow pointing northeast and southwest. */ SDL_SYSTEM_CURSOR_EW_RESIZE, /**< Double arrow pointing west and east. */ SDL_SYSTEM_CURSOR_NS_RESIZE, /**< Double arrow pointing north and south. */ SDL_SYSTEM_CURSOR_MOVE, /**< Four pointed arrow pointing north, south, east, and west. */ SDL_SYSTEM_CURSOR_NOT_ALLOWED, /**< Not permitted. Usually a slashed circle or crossbones. */ SDL_SYSTEM_CURSOR_POINTER, /**< Pointer that indicates a link. Usually a pointing hand. */ SDL_SYSTEM_CURSOR_NW_RESIZE, /**< Window resize top-left. This may be a single arrow or a double arrow like NWSE_RESIZE. */ SDL_SYSTEM_CURSOR_N_RESIZE, /**< Window resize top. May be NS_RESIZE. */ SDL_SYSTEM_CURSOR_NE_RESIZE, /**< Window resize top-right. May be NESW_RESIZE. */ SDL_SYSTEM_CURSOR_E_RESIZE, /**< Window resize right. May be EW_RESIZE. */ SDL_SYSTEM_CURSOR_SE_RESIZE, /**< Window resize bottom-right. May be NWSE_RESIZE. */ SDL_SYSTEM_CURSOR_S_RESIZE, /**< Window resize bottom. May be NS_RESIZE. */ SDL_SYSTEM_CURSOR_SW_RESIZE, /**< Window resize bottom-left. May be NESW_RESIZE. */ SDL_SYSTEM_CURSOR_W_RESIZE, /**< Window resize left. May be EW_RESIZE. */ SDL_SYSTEM_CURSOR_COUNT } SDL_SystemCursor;
AVAILABILITY¶
This enum is available since SDL 3.1.3.
SDL 3.1.6 | Simple Directmedia Layer |