Re: [AD] Using system mouse cursor

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2004-09-21, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> +@@void @enable_hardware_cursor(void);
> +@xref install_mouse, get_mouse_mickeys, gfx_capabilities
> +   Enables the mouse hardware cursor on platforms where it interferes with
> +   getting mouse mickeys. Using get_mouse_mickeys() becomes unreliable after
> +   calling this function.
> +
> +@@void @disable_hardware_cursor(void);
> +@xref install_mouse, get_mouse_mickeys, gfx_capabilities
> +   Disables the mouse hardware cursor on platforms where it interferes with
> +   getting mouse mickeys. Using get_mouse_mickeys() becomes reliable again
> +   after calling this function.

I was wondering if it would be possible to have some explanation
about why there is a separate call to enable/disable the hardware
cursor, or maybe why an Allegro program should care about it, what
pro/contra there are for them, etc.  That probably doesn't fit in
the function description, but could be added to the beginning of
the mouse section.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/