GNU Info

Info Node: (aalib.info)aa_getmouse

(aalib.info)aa_getmouse


Next: aa_gotoxy Prev: aa_getkey Up: Reference
Enter node , (file) or (file)node

aa_getmouse
===========

     #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.


automatically generated by info2www version 1.2.2.9