.\" Automatically generated by Pandoc 3.1.12.1 .\" .TH "al_set_system_mouse_cursor" "3" "" "Allegro reference manual" "" .SH NAME al_set_system_mouse_cursor \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] bool al_set_system_mouse_cursor(ALLEGRO_DISPLAY *display, ALLEGRO_SYSTEM_MOUSE_CURSOR cursor_id) .EE .SH DESCRIPTION Set the given system 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. .PP If the cursor doesn\[cq]t exist on the current platform another cursor will be silently be substituted. .PP The cursors are: .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_DEFAULT .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_ARROW .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_BUSY .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_QUESTION .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_EDIT .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_MOVE .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_N .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_W .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_S .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_E .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_NW .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_SW .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_SE .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_NE .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_PROGRESS .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_PRECISION .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_LINK .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_ALT_SELECT .IP \[bu] 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_UNAVAILABLE .PP Returns true on success, false on failure. .SH SEE ALSO al_set_mouse_cursor(3), al_show_mouse_cursor(3), al_hide_mouse_cursor(3)