set_mouse_sprite_focus(3) - Linux man page

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(3), exmouse(3)

Referenced By

mouse_y_focus(3)