man aa_getmouse (Fonctions bibliothèques) - Get mouse position as specified by last mouse event read by aa_getevent.

NAME

aa_getmouse - Get mouse position as specified by last mouse event read by aa_getevent.

SYNOPSIS

#include <aalib.h> void aa_getmouse

(

aa_context *c,

int *x,

int *y,

int *b

);

PARAMETERS

aa_context *c
Specifies the AA-lib context to operate on.
int *x
Used to return X coordinate of mouse in characters.
int *y
Used to return Y coordinate of mouse in characters.
int *b
Used to return button mask of mouse. (Values used are AA_BUTTON1, AA_BUTTON2 and AA_BUTTON3).

DESCRIPTION

Get mouse position as specified by last mouse event read by aa_getevent.

SEE ALSO