al_hide_mouse_cursor
bool al_hide_mouse_cursor(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0
Hide the mouse cursor in the given display. This has no effect on what the current mouse cursor looks like; it just makes it disappear.
Returns true on success (or if the cursor already was hidden), false otherwise.
See also: al_show_mouse_cursor
Examples: ex_iphone, ex_mouse, ex_mouse_cursor, ex_mouse_events, ex_ogre3d
Most helpful discussions:
- Having Trouble with exit(1) - Stalling Program
- My second game, space invader simplified
- I'm new
- Difficulty compiling on Windows
- Screen is cleared and a new one appears Allegro5 in C?
- "Endless" mouse
- Improving Performance on a Pi 3
- Allegro 5.2 Image Xcode
- Keyboard Interrupting on Mouse Positions?
- Segmentation fault al_map_rgb
Other recent discussions:
- Choppy graphics
- Mouse image?
- game state and level transition approaches
- What's wront with this (or me)
- Allegro 5, Sprite not following mouse.
- My game bugs out when in release mode?
- [A5] Display always on top?
- Allegro 5 + OpenGL + GL_DEPTH_TEST problem
- I've been staring at the same sections of code for two hours...
- display adapter #s are different with ALLEGRO_FULLSCREEN_WINDOW