📄 mpe_get_mouse_press.4
字号:
.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -