pub fn hide_mouse()
Expand description
Hides the OS mouse cursor over the canvas, unlike SDL’s SDL_ShowCursor
, which works with the SDL cursor.
Useful if you draw your own cursor.
pub fn hide_mouse()
Hides the OS mouse cursor over the canvas, unlike SDL’s SDL_ShowCursor
, which works with the SDL cursor.
Useful if you draw your own cursor.