1enable_hardware_cursor(3)       Allegro manual       enable_hardware_cursor(3)
2
3
4

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       void enable_hardware_cursor(void);
14

DESCRIPTION

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

SEE ALSO

26       install_mouse(3), show_mouse(3),  set_mouse_sprite(3),  get_mouse_mick‐
27       eys(3),  gfx_capabilities(3),  disable_hardware_cursor(3), show_os_cur‐
28       sor(3), exsyscur(3)
29
30
31
32Allegro                          version 4.2.2       enable_hardware_cursor(3)
Impressum