table of contents
| al_set_mouse_cursor(3alleg5) Allegro reference manual() | al_set_mouse_cursor(3alleg5) Allegro reference manual() |
NAME¶
al_set_mouse_cursor - Allegro 5 APISYNOPSIS¶
-
#include <allegro5/allegro.h> bool al_set_mouse_cursor(ALLEGRO_DISPLAY *display, ALLEGRO_MOUSE_CURSOR *cursor)
DESCRIPTION¶
Set the given mouse cursor to be the current mouse cursor for the given display.If the cursor is currently 'shown' (as opposed to 'hidden') the change is immediately visible.
Returns true on success, false on failure.