3
#include <grass/imagery.h>
5
/* this is a curses structure */
8
int top, left, bottom, right;
11
/* this is a graphics structure */
14
int top, bottom, left, right;
19
struct Cell_head head;
22
char mapset[GMAPSET_MAX];
23
int top, bottom, left, right;
24
double ew_res, ns_res; /* original map resolution */
28
/* Replaced with following structure for CRS.c
33
struct Control_Points points;
34
double E12[3], N12[3], E21[3], N21[3];
43
struct Control_Points points;
44
double E12[10], N12[10], E21[10], N21[10];
50
int type; /* object type */
51
int (*handler) (); /* routine to handle the event */
52
char *label; /* label to display if MENU or OPTION */
53
int binding; /* OPTION bindings */
54
int *status; /* MENU,OPTION status */
55
int top, bottom, left, right;
59
#define OPTION_OBJECT 2
61
#define OTHER_OBJECT 4
64
#define MENU(label,handler,status) \
65
{MENU_OBJECT,handler,label,0,status,0,0,0,0}
66
#define OPTION(label,binding,status) \
67
{OPTION_OBJECT,NULL,label,binding,status,0,0,0,0}
68
#define INFO(label,status) \
69
{INFO_OBJECT,NULL,label,0,status,0,0,0,0}
70
#define OTHER(handler,status) \
71
{OTHER_OBJECT,handler,NULL,0,status,0,0,0,0}