Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MPE_Iget_mouse_press(4)		      MPE	       MPE_Iget_mouse_press(4)

NAME
       MPE_Iget_mouse_press -  Checks for mouse	button press

SYNOPSIS
       #include	"mpe.h"
       int MPE_Iget_mouse_press( MPE_XGraph graph, int *x, int *y, int *button,
			       int *wasPressed )

INPUT PARAMETER
       graph  -	MPE graphics handle

OUTPUT PARAMETERS
       x      -	 horizontal coordinate of the point where the mouse button was
	      pressed
       y      -	vertical coordinate of the point where the  mouse  button  was
	      pressed
       button -	which button was pressed: MPE_BUTTON[1-5]
       wasPressed
	      -	1 if the button	was pressed, 0 if not

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.

LOCATION
				   3/4/2011	       MPE_Iget_mouse_press(4)

NAME | SYNOPSIS | INPUT PARAMETER | OUTPUT PARAMETERS | NOTES | LOCATION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MPE_Iget_mouse_press&sektion=4&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help