.TH MPE_Iget_mouse_press 4 "3/4/2011" " " "MPE" .SH NAME MPE_Iget_mouse_press \- Checks for mouse button press .SH SYNOPSIS .nf #include "mpe.h" int MPE_Iget_mouse_press( MPE_XGraph graph, int *x, int *y, int *button, int *wasPressed ) .fi .SH INPUT PARAMETER .PD 0 .TP .B graph - MPE graphics handle .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP .B x - horizontal coordinate of the point where the mouse button was pressed .PD 1 .PD 0 .TP .B y - vertical coordinate of the point where the mouse button was pressed .PD 1 .PD 0 .TP .B button - which button was pressed: MPE_BUTTON[1-5] .PD 1 .PD 0 .TP .B wasPressed - 1 if the button was pressed, 0 if not .PD 1 .SH NOTES Checks if the mouse button has been pressed inside this MPE window. If pressed, returns the coordinate relative to the upper right of this MPE window and the button that was pressed. .SH LOCATION ../src/graphics/src/xmouse.c