# 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 EVENT_MASK (long) (ButtonPressMask | ClientMessage | ButtonReleaseMask | KeyPressMask | ExposureMask | StructureNotifyMask | PointerMotionMask)
# 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;
