Rechercher une page de manuel
enable_hardware_cursor.3alleg
Langue: en
Version: version 4.2.2 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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 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.SEE ALSO
install_mouse(3alleg), show_mouse(3alleg), set_mouse_sprite(3alleg), get_mouse_mickeys(3alleg), gfx_capabilities(3alleg), disable_hardware_cursor(3alleg), show_os_cursor(3alleg), exsyscur(3alleg)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre