al_set_mouse_cursor(3)
πΈ NAME πΈ
okay bestie, this page lives in the Library Functions Manual, and it's the Allegro 5 API entry for al_set_mouse_cursor β¨ it's giving "put this cursor on that display" energy π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_set_mouse_cursor(ALLEGRO_DISPLAY *display, ALLEGRO_MOUSE_CURSOR *cursor)
π DESCRIPTION π
So what it does: it sets the given mouse cursor to be the current mouse cursor for the given display. That's the whole main character move π display is the display, cursor is the cursor.
If the cursor is currently shown (as opposed to hidden), the change is immediately visible. So like, no waiting around β if it's visible, it updates right then πβ¨
Returns true on success, false on failure. Vibe check: true = slay, false = not slay ππ
π₯ SEE ALSO π₯
This cutie came from the Allegro reference manual, page al_set_mouse_cursor(3) β and the footer didn't come with a date, so I'm not making one up, bestie π«Άπ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms