Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Mouse image?

This thread is locked; no one can reply to it. rss feed Print
Mouse image?
DarknessEyes
Member #15,611
May 2014

In A4 i used to hide the mouse and draw a mouse cursor image at mouse.x and mouse.y.
Is there a function to do it in A5 or i have to use the same method?

Eric Johnson
Member #14,841
January 2013
avatar

Take a look at al_hide_mouse_cursor for hiding the mouse cursor. Then just draw your new mouse cursor bitmap at mouse.x and mouse.y. Refer to the mouse routines manual for more information.

Go to: