al_hide_mouse_cursor(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ al_hide_mouse_cursor ✨

okay bestie, so this one lives in the Allegro 5 API manual β€” like, al_hide_mouse_cursor(3alleg5), that's the whole vibe. it's a lil function that makes your mouse cursor poof gone πŸ’¨ and honestly? iconic.


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

bool al_hide_mouse_cursor(ALLEGRO_DISPLAY *display)

πŸŽ€ DESCRIPTION πŸŽ€

so what it does is hide the mouse cursor in the given display. that's it, that's the whole job. πŸ’…

and like β€” important detail, no cap β€” it has no effect on what the current mouse cursor looks like. it doesn't change your cute lil arrow into a hand or a crosshair or whatever. it literally just makes it disappear. gone. not me making the cursor vanish into the void 🫢

it returns true on success β€” or if the cursor already was hidden, so if it was already invisible you still get a true and that's valid β€” and false otherwise. 😭


πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, babes! this was pulled straight from the Allegro reference manual, page al_hide_mouse_cursor(3alleg5). go hide that cursor, main character πŸ‘‘βœ¨

πŸ“¦ where this page comes from