1al_create_mouse_cursor(3) al_create_mouse_cursor(3)
2
3
4
6 al_create_mouse_cursor - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_MOUSE_CURSOR *al_create_mouse_cursor(ALLEGRO_BITMAP *bmp,
12 int x_focus, int y_focus)
13
15 Create a mouse cursor from the bitmap provided. x_focus and y_focus
16 describe the bit of the cursor that will represent the actual mouse po‐
17 sition.
18
19 Returns a pointer to the cursor on success, or NULL on failure.
20
22 al_set_mouse_cursor(3), al_destroy_mouse_cursor(3)
23
24
25
26Allegro reference manual al_create_mouse_cursor(3)