Scroll to navigation

disable_hardware_cursor(3alleg4) Allegro manual disable_hardware_cursor(3alleg4)

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(3alleg4), show_mouse(3alleg4), set_mouse_sprite(3alleg4), get_mouse_mickeys(3alleg4), gfx_capabilities(3alleg4), enable_hardware_cursor(3alleg4)

version 4.4.3 Allegro