mpe_get_mouse_press.4

来自「fortran并行计算包」· 4 代码 · 共 43 行

4
43
字号
.TH MPE_Get_mouse_press 4 "11/2/2007" " " "MPE".SH NAMEMPE_Get_mouse_press \-  Waits for mouse button press .SH SYNOPSIS.nf#include "mpe.h" int MPE_Get_mouse_press( graph, x, y, button )MPE_XGraph graph;int *x, *y, *button;.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.SH NOTESThis routine waits for mouse button press, blockinguntil the mouse button is pressed inside this MPE window.When pressed, returns the coordinate relative to the upper right ofthis MPE window and the button that was pressed..SH LOCATION../src/graphics/src/xmouse.c

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?