1al_get_mouse_cursor_positionL(i3b)rary Functions Manaula_lget_mouse_cursor_position(3)
2
3
4

NAME

6       al_get_mouse_cursor_position
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_get_mouse_cursor_position(int *ret_x, int *ret_y)
12

DESCRIPTION

14       On platforms where this information is available, this function returns
15       the global location of the mouse cursor, relative to the desktop.   You
16       should not normally use this function, as the information is not useful
17       except for special scenarios as moving a window.
18
19       Returns true on success, false on failure.
20
21
22
23Allegro reference manual                       al_get_mouse_cursor_position(3)
Impressum