2 #include <grass/raster.h>
3 #include <grass/display.h>
31 for (p = 0; p < npads; p++) {
47 sscanf(list[0],
"%d %d %d %d", &t, &b, &l, &r);
51 if (x < l || x > r || y < t || y > b)
55 if ((r - x) >= 0 && (r - x) < closest) {
58 strcpy(cur_pad, pads[p]);
int D_set_cur_wind(const char *name)
set current graphics frame
int R_screen_bot(void)
bottom of screen
int R_pad_list(char ***list, int *count)
void R_pad_perror(const char *msg, int code)
int R_screen_rite(void)
screen right edge
int R_screen_left(void)
screen left edge
int R_screen_top(void)
top of screen
int R_pad_select(const char *pad)
void R_pad_freelist(char **list, int count)
void R_get_location_with_pointer(int *wx, int *wy, int *button)
int ident_win(char *cur_pad)
int R_pad_get_item(const char *name, char ***list, int *count)