Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
enable_hardware_cursor(3)	Allegro	manual	     enable_hardware_cursor(3)

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

SYNOPSIS
       #include	<allegro.h>

       void enable_hardware_cursor(void);

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 plat-
       forms, enabling the hardware cursor causes get_mouse_mickeys()  to  re-
       turn  only a limited range of values, so	you should not call this func-
       tion if you need	mouse mickeys.

SEE ALSO
       install_mouse(3), show_mouse(3),	 set_mouse_sprite(3),  get_mouse_mick-
       eys(3),	gfx_capabilities(3),  disable_hardware_cursor(3), show_os_cur-
       sor(3), exsyscur(3)

Allegro				 version 4.4.2	     enable_hardware_cursor(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=enable_hardware_cursor&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help