1
#include "orthophoto.h"
2
#include <grass/rowio.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;
23
int top, bottom, left, right;
24
double ew_res, ns_res; /* original map resolution */
31
int type; /* object type */
32
int (*handler) (); /* routine to handle the event */
33
char *label; /* label to display if MENU or OPTION */
34
int binding; /* OPTION bindings */
35
int *status; /* MENU,OPTION status */
36
int top, bottom, left, right;
40
#define OPTION_OBJECT 2
42
#define OTHER_OBJECT 4
45
#define MENU(label,handler,status) \
46
{MENU_OBJECT,handler,label,0,status,0,0,0,0}
47
#define OPTION(label,binding,status) \
48
{OPTION_OBJECT,NULL,label,binding,status,0,0,0,0}
49
#define INFO(label,status) \
50
{INFO_OBJECT,NULL,label,0,status,0,0,0,0}
51
#define OTHER(handler,status) \
52
{OTHER_OBJECT,handler,NULL,0,status,0,0,0,0}