DOKK / manpages / debian 10 / allegro4-doc / mouse_sprite.3alleg4.en
mouse_sprite(3alleg4) Allegro manual mouse_sprite(3alleg4)

mouse_sprite, mouse_x_focus, mouse_y_focus - Global variable with the mouse sprite and focus point. Allegro game programming library.

#include <allegro.h>

extern BITMAP *mouse_sprite;

extern int mouse_x_focus;

extern int mouse_y_focus;

Global variables containing the current mouse sprite and the focus point. These are read-only, and only to be modified using the set_mouse_sprite() and set_mouse_sprite_focus() functions.

set_mouse_sprite(3alleg4), set_mouse_sprite_focus(3alleg4)

version 4.4.2 Allegro