1al_set_system_mouse_cursor(3L)ibrary Functions Manuaall_set_system_mouse_cursor(3)
2
3
4

NAME

6       al_set_system_mouse_cursor
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_set_system_mouse_cursor(ALLEGRO_DISPLAY *display,
12                 ALLEGRO_SYSTEM_MOUSE_CURSOR cursor_id)
13

DESCRIPTION

15       Set  the  given  system mouse cursor to be the current mouse cursor for
16       the given display.  If the cursor is currently `shown' (as  opposed  to
17       `hidden') the change is immediately visible.
18
19       If the cursor doesn't exist on the current platform another cursor will
20       be silently be substituted.
21
22       The cursors are:
23
24       · ALLEGRO_SYSTEM_MOUSE_CURSOR_DEFAULT
25
26       · ALLEGRO_SYSTEM_MOUSE_CURSOR_ARROW
27
28       · ALLEGRO_SYSTEM_MOUSE_CURSOR_BUSY
29
30       · ALLEGRO_SYSTEM_MOUSE_CURSOR_QUESTION
31
32       · ALLEGRO_SYSTEM_MOUSE_CURSOR_EDIT
33
34       · ALLEGRO_SYSTEM_MOUSE_CURSOR_MOVE
35
36       · ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_N
37
38       · ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_W
39
40       · ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_S
41
42       · ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_E
43
44       · ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_NW
45
46       · ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_SW
47
48       · ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_SE
49
50       · ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_NE
51
52       · ALLEGRO_SYSTEM_MOUSE_CURSOR_PROGRESS
53
54       · ALLEGRO_SYSTEM_MOUSE_CURSOR_PRECISION
55
56       · ALLEGRO_SYSTEM_MOUSE_CURSOR_LINK
57
58       · ALLEGRO_SYSTEM_MOUSE_CURSOR_ALT_SELECT
59
60       · ALLEGRO_SYSTEM_MOUSE_CURSOR_UNAVAILABLE
61
62       Returns true on success, false on failure.
63

SEE ALSO

65       al_set_mouse_cursor(3),   al_show_mouse_cursor(3),   al_hide_mouse_cur‐
66       sor(3)
67
68
69
70Allegro reference manual                         al_set_system_mouse_cursor(3)
Impressum