0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.0035

This commit is contained in:
Bram Moolenaar
2005-01-08 21:45:39 +00:00
parent e49b69a091
commit 9588a0f72b
15 changed files with 135 additions and 142 deletions

View File

@@ -5672,27 +5672,16 @@ display_errors()
#endif
/*
* Get current y mouse coordinate in text window.
* Return -1 when unknown.
* Get current mouse coordinates in text window.
*/
int
gui_mch_get_mouse_x()
void gui_mch_getmouse(int *x, int *y)
{
Point where;
GetMouse(&where);
return (where.h);
}
int
gui_mch_get_mouse_y()
{
Point where;
GetMouse(&where);
return (where.v);
*x = where.h;
*y = where.v;
}
void