1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
.TH al_set_mouse_xy 3 "" "Allegro reference manual"
.SH NAME
.PP
al_set_mouse_xy \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
bool\ al_set_mouse_xy(ALLEGRO_DISPLAY\ *display,\ int\ x,\ int\ y)
\f[]
.fi
.SH DESCRIPTION
.PP
Try to position the mouse at the given coordinates on the given display.
The mouse movement resulting from a successful move will generate an
ALLEGRO_EVENT_MOUSE_WARPED event.
.PP
Returns true on success, false on failure.
.SH SEE ALSO
.PP
al_set_mouse_z(3), al_set_mouse_w(3)
|