Function sdl2_sys::SDL_ShowCursor

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

\brief Toggle whether or not the cursor is shown.

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

\return 1 if the cursor is shown, or 0 if the cursor is hidden.