1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
.TH al_get_mouse_cursor_position 3 "" "Allegro reference manual"
.SH NAME
.PP
al_get_mouse_cursor_position \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
bool\ al_get_mouse_cursor_position(int\ *ret_x,\ int\ *ret_y)
\f[]
.fi
.SH DESCRIPTION
.PP
On platforms where this information is available, this function returns
the global location of the mouse cursor, relative to the desktop.
You should not normally use this function, as the information is not
useful except for special scenarios as moving a window.
.PP
Returns true on success, false on failure.
|