DragonFly On-Line Manual Pages
MPE_Get_mouse_press(4) MPE MPE_Get_mouse_press(4)
MPE_Get_mouse_press - Waits for mouse button press
int MPE_Get_mouse_press( MPE_XGraph graph, int *x, int *y, int *button )
graph - MPE graphics handle
x - horizontal coordinate of the point where the mouse button was
y - vertical coordinate of the point where the mouse button was
button - which button was pressed: 'MPE_BUTTON[1-5]'
This routine waits for mouse button press, blocking until the mouse
button is pressed inside this MPE window. When pressed, returns the
coordinate relative to the upper right of this MPE window and the
button that was pressed.