disable_hardware_cursor.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

disable_hardware_cursor - Disables the OS hardware cursor. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

void disable_hardware_cursor(void);

DESCRIPTION

After calling this function, Allegro will be responsible for drawing the mouse cursor rather than the operating system. On some platforms calling enable_hardware_cursor() makes the return values of get_mouse_mickeys() unreliable. After calling this function, get_mouse_mickeys() returns reliable results again.

SEE ALSO

install_mouse(3alleg), show_mouse(3alleg), set_mouse_sprite(3alleg), get_mouse_mickeys(3alleg), gfx_capabilities(3alleg), enable_hardware_cursor(3alleg)