table of contents
other versions
- bookworm 2:4.4.3.1-3
- testing 2:4.4.3.1-4
- unstable 2:4.4.3.1-4.1
- experimental 2:4.4.3.1-4.1~exp2
set_mouse_sprite_focus(3alleg4) | Allegro manual | set_mouse_sprite_focus(3alleg4) |
NAME¶
set_mouse_sprite_focus - Sets the mouse sprite focus. Allegro game programming library.
SYNOPSIS¶
#include <allegro.h>
void set_mouse_sprite_focus(int x, int y);
DESCRIPTION¶
The mouse focus is the bit of the pointer that represents the actual mouse position, ie. the (mouse_x, mouse_y) position. By default this is the top left corner of the arrow, but if you are using a different mouse pointer you might need to alter it.
SEE ALSO¶
set_mouse_sprite(3alleg4), exmouse(3alleg4)
version 4.4.3 | Allegro |