set_mouse_cursor_bitmap - Changes the image Allegro uses for mouse cursors.
Contents
Description
This function changes the cursor image Allegro uses if select_mouse_cursor() is called but no native
operating system cursor can be used, e.g. because you did not call enable_hardware_cursor().
The cursor argument can be one of:
MOUSE_CURSOR_ALLEGROMOUSE_CURSOR_ARROWMOUSE_CURSOR_BUSYMOUSE_CURSOR_QUESTIONMOUSE_CURSOR_EDIT
but not MOUSE_CURSOR_NONE.
The bmp argument can either point to a valid bitmap or it can be NULL. Passing a bitmap makes Allegro
use that image in place of its own default substitution (should the operating system's native cursor be
unavailable). The bitmap must remain available for the duration in which it could be used. Passing NULL
lets Allegro revert to its default substitutions.
The effect of this function will not be apparent until show_mouse() is called.
Name
set_mouse_cursor_bitmap - Changes the image Allegro uses for mouse cursors.
See Also
install_mouse(3alleg4), show_mouse(3alleg4), set_mouse_sprite(3alleg4), gfx_capabilities(3alleg4), enable_hardware_cursor(3alleg4), show_os_cursor(3alleg4) Allegro version 4.4.3 set_mouse_cursor_bitmap(3alleg4)
Synopsis
#include<allegro.h>voidset_mouse_cursor_bitmap(intcursor,BITMAP*bmp);
