/****************************************************************************/
/*	File : app_glob.c														*/
/*																			*/
/*																1993/10/12	*/
/****************************************************************************/


#ifndef	APP_GLOB_C
#define	APP_BLOB_C


#ifdef	DEF_APP_GLOB

Display				*display;
GC					gc,
					gc16,
					xorgc,
					xorgc16;
int					ExitFlag = 0;
XEvent				event;
XFontStruct			*font,
					*font16;
unsigned long		BG,
					FG;
char				*Name = " ",
					dash[] = {1,3};
Window				TopWind;
Pixmap				pattern;
XWindowAttributes	T_XWA;

#else

extern Display				*display;
extern GC					gc,
							gc16,
							xorgc,
							xorgc16;
extern int					ExitFlag;
extern XEvent				event;
extern XFontStruct			*font,
							*font16;
extern unsigned long		BG,
							FG;
extern char					*Name,
							dash[];
extern Window				TopWind;
extern Pixmap				pattern;
extern XWindowAttributes	T_XWA;

#endif	/* #ifdef  DEF_APP_GLOB */
#endif	/* #ifndef APP_GLOB_C */



#define			FONTHEIGHT		(font->max_bounds.ascent + font->max_bounds.descent)
#define			FONT16HEIGHT	(font16->max_bounds.ascent + font16->max_bounds.descent)


