1al_set_mouse_cursor(3) al_set_mouse_cursor(3)
2
3
4
6 al_set_mouse_cursor - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 bool al_set_mouse_cursor(ALLEGRO_DISPLAY *display, ALLEGRO_MOUSE_CURSOR *cursor)
12
14 Set the given mouse cursor to be the current mouse cursor for the given
15 display.
16
17 If the cursor is currently `shown' (as opposed to `hidden') the change
18 is immediately visible.
19
20 Returns true on success, false on failure.
21
23 al_set_system_mouse_cursor(3), al_show_mouse_cursor(3),
24 al_hide_mouse_cursor(3)
25
26
27
28Allegro reference manual al_set_mouse_cursor(3)