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

enable_hardware_cursor - Enables the OS hardware cursor. Allegro game programming library.

Description

       After calling this function, Allegro will let the operating system draw the mouse cursor instead of doing
       it  itself.  This  is  not  possible  with  all  graphics  drivers  though:  you'll  need  to  check  the
       gfx_capabilities flags after calling show_mouse() to see if this works. On some platforms,  enabling  the
       hardware  cursor  causes  get_mouse_mickeys() to return only a limited range of values, so you should not
       call this function if you need mouse mickeys.

Name

       enable_hardware_cursor - Enables the OS hardware cursor. Allegro game programming library.

See Also

install_mouse(3alleg4),   show_mouse(3alleg4),   set_mouse_sprite(3alleg4),   get_mouse_mickeys(3alleg4),
       gfx_capabilities(3alleg4), disable_hardware_cursor(3alleg4), show_os_cursor(3alleg4), exsyscur(3alleg4)

Allegro                                           version 4.4.3                  enable_hardware_cursor(3alleg4)

Synopsis

#include<allegro.h>voidenable_hardware_cursor(void);

See Also