Mail Archives: djgpp/1998/05/07/01:16:42
MalcolmJ7 writes:
>When I use allegro's mouse function show_mouse(screen) i never get a
>cursor on the screen. I can use the button and x,y variables, but i
>can't see the cursor. What am I doing wrong?
Most likely you have forgotten to call install_timer(), which is needed
to display the cursor. From the Allegro docs:
void show_mouse(BITMAP *bmp);
Tells Allegro to display a mouse pointer on the screen. This will
only work if the timer module has been installed.
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa
- Raw text -