 /*
  * Khoros: $Id: overlay.h,v 1.2 1991/10/02 00:14:56 khoros Exp $
  */

 /*
  * $Log: overlay.h,v $
 * Revision 1.2  1991/10/02  00:14:56  khoros
 * HellPatch2
 *
  */ 


/*
 *----------------------------------------------------------------------
 *
 * Copyright 1990, University of New Mexico.  All rights reserved.

 * Permission to copy and modify this software and its documen-
 * tation only for internal use in your organization is hereby
 * granted, provided that this notice is retained thereon and
 * on all copies.  UNM makes no representations as too the sui-
 * tability and operability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 * 
 * UNM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT-
 * NESS.  IN NO EVENT SHALL UNM BE LIABLE FOR ANY SPECIAL,
 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY OTHER DAMAGES WHAT-
 * SOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER-
 * FORMANCE OF THIS SOFTWARE.
 * 
 * No other rights, including for example, the right to redis-
 * tribute this software and its documentation or the right to
 * prepare derivative works, are granted unless specifically
 * provided in a separate license agreement.
 *---------------------------------------------------------------------
 */


/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
   >>>>                                                       <<<<
   >>>>	    file name: overlay.h
   >>>>               
   >>>>   description: All local #defines and structures for 
   >>>>			Overlay Utilities 
   >>>>              
   >>>> modifications:
   >>>>                                                       <<<<
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */

/************************************************************
*
*  MODULE NAME:  Khoros "Overlay" Local Utilities and Structures
*
*      PURPOSE:  All local #defines and structures for Khoros 
*		 Overlay Utilities --
*
*   WRITTEN BY: Stephanie Hallet & Mark Young
*
*************************************************************/


#ifndef	 _overlay_h_
#define  _overlay_h_

/* Copyright 1989 by Univeristy of New Mexico All Rights Reserved */
#include "unmcopyright.h"	
#include "xvinclude.h"	
#include "xvoverlay.h"	

#undef MAX
#undef MIN
#undef ABS
#undef SQR
#define         MAX(a,b) (((a)>(b))?(a):(b))
#define         MIN(a,b) (((a)>(b))?(b):(a))
#define		ABS(a)   (((a)<0)?(-a):(a))
#define		SQR(x)   ((x)*(x))


XObject	*edit_obj;

typedef struct
{
	Widget		widget;
	XFontStruct     *font;
	GC		gc;
	int		id;
} Overlay;
Overlay *ov_struct;

#endif
/* Don't add after line */
