1set_mouse_sprite(3)             Allegro manual             set_mouse_sprite(3)
2
3
4

NAME

6       set_mouse_sprite  -  Sets  the  mouse  sprite. Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void set_mouse_sprite(BITMAP *sprite);
14

DESCRIPTION

16       You don't like Allegro's mouse pointer? No problem. Use  this  function
17       to  supply  an  alternative  of your own. If you change the pointer and
18       then  want  to  get   Allegro's   lovely   arrow   back   again,   call
19       set_mouse_sprite(NULL).
20
21       As a bonus, set_mouse_sprite(NULL) uses the current palette in choosing
22       colors for the arrow. So if your arrow mouse sprite  looks  ugly  after
23       changing the palette, call set_mouse_sprite(NULL).
24
25

SEE ALSO

27       install_mouse(3), show_mouse(3), set_mouse_sprite_focus(3), exmouse(3)
28
29
30
31Allegro                          version 4.2.3             set_mouse_sprite(3)
Impressum