1
#include <grass/raster.h>
7
int Mouse_pointer(int *x, int *y, int *button)
10
curx = (SCREEN_LEFT + SCREEN_RIGHT) / 2;
11
cury = (SCREEN_TOP + SCREEN_BOTTOM) / 2;
14
R_get_location_with_pointer(&curx, &cury, button);
26
int Mouse_box_anchored(int x1, int y1, int *x2, int *y2, int *button)
28
R_get_location_with_box(x1, y1, x2, y2, button);
41
int Get_mouse_xy(int *x, int *y)
49
int Set_mouse_xy(int x, int y)