# define PAD1  5
# define PAD2  3
# define TEXTPAD 25
# define COLORPAD 10
# define TEXT_Y 15
# define ZOOM_X 170
# define ZOOM_Y 170
# define NOVERLAYS 4
/* number of overlays is defined here.
   the number is also crucial in the following files:
   PositionPictures.c
   MakeColormap.c
   prototypes.h
*/

# define DEFAULT_CURSOR XC_crosshair
# define BORDER_WIDTH 2
# define MIN_WIDTH 10
# define MIN_HEIGHT 20
# define AssignText(X,T) allocate (X, char, strlen (T)); strcpy (X, T);
# define AssignData(X,T,N) allocate (X, char, N); bcopy (T, X, N);

int OVERLAY[NOVERLAYS];
int MOVE_POINTER;
int DECIMAL_DEG;
int DEBUG;
int FOREGROUND;
int USE_XWINDOW;
int MAP_WINDOW;
char *NAME_WINDOW;

# define EVENT_MASK (long) \
(ButtonPressMask \
 | ClientMessage \
 | ButtonReleaseMask \
 | KeyPressMask \
 | ExposureMask \
 | StructureNotifyMask \
 | PointerMotionMask)

/* EVENT_MASK consists of:

ExposureMask        : Expose
StructureNotifyMask : CirculateNotify | 
                      ConfigureNotify | 
                      DestroyNotify   | 
		      GravityNotify   | 
		      MapNotify       |
		      ReparentNotify  |
		      UnmapNotify
ButtonPressMask     : ButtonPress
ButtonReleaseMask   : ButtonRelease
KeyPressMask        : KeyPress
PointerMotionMask   : MotionNotify
(always)            : ClientMessage 
(always)            : MappingNotify

*/
