

typedef struct {
	int selections;		/* number of selections */
	char *item[16];		/* 16 strings that represent selections */
	} popmenu;

#define ITEM_HEIGHT 20		/* Item height in pixels */
#define CHAR_WIDTH 8		/* Item width per character in pixels */

int popup(int x, int y, popmenu *menu, int foreground, int background);
int putmsg(int x, int y, char *str, int colorbk, int colorfo); /* display a pop-up message */
void clrmsg(void);
char *trn_directory(void);         /* returns NULL if no files */
int gscanf(int x, int y, char *prompt, int maxlength, char *format, ...);
int putmsg_d(int x, int y, char *str, int colorbk, int colorfo);

void box_new(int *x1, int *y1, int *x2, int *y2);
void zoom_in(void);
void zoom_out(void);
extern float area_scaled;               /* area scale factor from zooming */
