al_set_mouse_cursor(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

🌸 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