THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
Show the cursor.
Defined in <SDL3/SDL_mouse.h>
int SDL_ShowCursor(void);
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.
int main(int argc, char *argv[]) {
/* ... */
if (SDL_ShowCursor() < 0) {
"Failed to show the cursor");
SDL_Log(
}/* ... */
return 0;
}
CategoryAPI, CategoryAPIFunction, CategoryMouse, CategoryDraft