al_set_system_mouse_cursor(3alleg5) | al_set_system_mouse_cursor(3alleg5) |
al_set_system_mouse_cursor - Allegro 5 API
#include <allegro5/allegro.h> bool al_set_system_mouse_cursor(ALLEGRO_DISPLAY *display,
ALLEGRO_SYSTEM_MOUSE_CURSOR cursor_id)
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.
If the cursor doesn’t exist on the current platform another cursor will be silently be substituted.
The cursors are:
Returns true on success, false on failure.
al_set_mouse_cursor(3alleg5), al_show_mouse_cursor(3alleg5), al_hide_mouse_cursor(3alleg5)
Allegro reference manual |