1set_mouse_sprite_focus(3) Allegro manual set_mouse_sprite_focus(3)
2
3
4
6 set_mouse_sprite_focus - Sets the mouse sprite focus. Allegro game pro‐
7 gramming library.
8
10 #include <allegro.h>
11
12
13 void set_mouse_sprite_focus(int x, int y);
14
16 The mouse focus is the bit of the pointer that represents the actual
17 mouse position, ie. the (mouse_x, mouse_y) position. By default this is
18 the top left corner of the arrow, but if you are using a different
19 mouse pointer you might need to alter it.
20
21
23 set_mouse_sprite(3), exmouse(3)
24
25
26
27Allegro version 4.4.3 set_mouse_sprite_focus(3)