logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

set_mouse_sprite_focus - Sets the mouse sprite focus. Allegro game programming library.

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.

Name

       set_mouse_sprite_focus - Sets the mouse sprite focus. Allegro game programming library.

See Also

set_mouse_sprite(3alleg4), exmouse(3alleg4)

Allegro                                           version 4.4.3                  set_mouse_sprite_focus(3alleg4)

Synopsis

#include<allegro.h>voidset_mouse_sprite_focus(intx,inty);

See Also