10
GLOBAL int SCREEN_TOP;
11
GLOBAL int SCREEN_BOTTOM;
12
GLOBAL int SCREEN_LEFT;
13
GLOBAL int SCREEN_RIGHT;
15
GLOBAL Window *INFO_WINDOW;
16
GLOBAL Window *MENU_WINDOW;
17
GLOBAL Window *PROMPT_WINDOW;
19
GLOBAL View *VIEW_MAP1;
20
GLOBAL View *VIEW_TITLE1;
21
GLOBAL View *VIEW_MAP1_ZOOM;
22
GLOBAL View *VIEW_TITLE1_ZOOM;
24
GLOBAL View *VIEW_CAM_REF;
25
GLOBAL View *VIEW_CAM_TITLE;
27
GLOBAL View *VIEW_MENU;
29
/* GLOBAL Block block; */
30
GLOBAL struct Ortho_Image_Group group;
32
GLOBAL char interrupt_char;
33
GLOBAL char *tempfile1;
34
GLOBAL char *tempfile2;
35
GLOBAL char *tempfile3;
37
GLOBAL char *digit_points; /* digitizer control points */
38
GLOBAL int use_camera_file INIT(0); /* is there a digitizer out there? */
40
/* group file list, target cell,vector files */
41
GLOBAL char *group_list INIT(NULL);
42
GLOBAL char *cell_list INIT(NULL);
43
GLOBAL char *vect_list INIT(NULL);
45
GLOBAL int from_keyboard INIT(-1); /* input method */
46
GLOBAL int from_file INIT(-1);
47
GLOBAL int from_screen INIT(-1);
48
GLOBAL int from_flag INIT(0);
50
GLOBAL int dotsize INIT(4);
54
#define BLACK COLOR[0]
56
#define BROWN COLOR[2]
57
#define GREEN COLOR[3]
59
#define ORANGE COLOR[5]
60
#define PURPLE COLOR[6]
62
#define WHITE COLOR[8]
63
#define YELLOW COLOR[9]
65
double row_to_northing();
66
double col_to_easting();
67
double northing_to_row();
68
double easting_to_col();
75
int ask_gis_files(char *, char *, char *, char *, int);
78
int ask_magnification(int *);
83
int call(int (*)(), char *);
86
int get_cam_ref(void);
89
int plotcell(int, int);
92
int Outline_cellhd(View *, struct Cell_head *);
95
int set_colors(struct Colors *);
98
int view_to_col(View *, int);
99
int view_to_row(View *, int);
100
int col_to_view(View *, int);
101
int row_to_view(View *, int);
102
double row_to_northing(struct Cell_head *, int, double);
103
double col_to_easting(struct Cell_head *, int, double);
104
double northing_to_row(struct Cell_head *, double);
105
double easting_to_col(struct Cell_head *, double);
108
int Begin_curses(void);
109
int End_curses(void);
110
int Suspend_curses(void);
111
int Resume_curses(void);
112
int Curses_allow_interrupts(int);
113
int Curses_clear_window(Window *);
114
int Curses_outline_window(Window *);
115
int Curses_write_window(Window *, int, int, char *);
116
int Curses_replot_screen(void);
117
int Curses_prompt_gets(char *, char *);
119
int Curses_getch(int);
122
int setup_digitizer(void);
123
int digitizer_point(double *, double *);
127
int save_under_dot(int, int);
128
int restore_under_dot(void);
129
int release_under_dot(void);
138
int drawcell(View *);
144
int Compute_equation(void);
147
int find_target_files(void);
150
int Init_graphics(void);
151
int Outline_box(int, int, int, int);
152
int Text_width(char *);
153
int Text(char *, int, int, int, int, int);
154
int Uparrow(int, int, int, int);
155
int Downarrow(int, int, int, int);
158
int prepare_group_list(void);
159
int choose_groupfile(char *, char *);
162
int Input_pointer(Objects *);
163
int Input_box(Objects *, int, int);
164
int Input_other(int (*)(), char *);
165
int Menu_msg(char *);
166
int Start_mouse_in_menu(void);
169
#ifdef __GNUC_MINOR__
170
int quit(int) __attribute__ ((__noreturn__));
174
int error(const char *, int);
177
int mark(int, int, int);
178
int mark_point(View *, int, int);
181
int Mouse_pointer(int *, int *, int *);
182
int Mouse_box_anchored(int, int, int *, int *, int *);
183
int Get_mouse_xy(int *, int *);
184
int Set_mouse_xy(int, int);
187
int display_ref_points(int);
188
int display_ref_points_in_view(View *, int, double *, double *, int *, int);
189
int display_one_point(View *, double, double);
192
int get_target(void);
193
int select_current_env(void);
194
int select_target_env(void);
197
int display_title(View *);
200
int setup_camera_file(void);
203
int Configure_view(View *, char *, char *, double, double);
204
int In_view(View *, int, int);
205
int Erase_view(View *);
206
double magnification(View *);
218
int zoom_point(void);