Function fermium::mouse::SDL_ShowCursor

source ·
pub unsafe extern "C" fn SDL_ShowCursor(toggle: c_int) -> c_int
Expand description

Toggle whether or not the cursor is shown.

  • toggle 1 to show the cursor, 0 to hide it, -1 to query the current state.

Returns: 1 if the cursor is shown, or 0 if the cursor is hidden.