 /*
  * Khoros: $Id: XImage.h,v 1.1 1991/05/10 04:12:08 khoros Exp $
  */

 /*
  * $Log: XImage.h,v $
 * Revision 1.1  1991/05/10  04:12:08  khoros
 * Initial revision
 *
  */ 

/*
 *----------------------------------------------------------------------
 *
 * 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.
 *----------------------------------------------------------------------
 */
#include "unmcopyright.h"        /* Copyright 1990 by UNM */


#ifndef _XImage_h_
#define _XImage_h_

/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
   >>>>                                                          <<<<
   >>>>      file: XImage.h					 <<<<
   >>>>                                                          <<<<
   >>>>      contains: #defines and #includes for creating a     <<<<
   >>>>                 raster widget	(as in editimage)	 <<<<
   >>>>                                                          <<<<
   >>>>      written by: Mark Young				 <<<<
   >>>>                                                          <<<<
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
   

#include <X11/Xaw/Simple.h>
#include <X11/Xmu/Xmu.h>
#include <X11/extensions/shape.h>

#undef   XtNvisual
#undef   XtCVisual
#undef   XtNmaxWidth
#undef   XtNmaxHeight
#undef   XtCMaxWidth
#undef   XtCMaxHeight
#undef   XtNminWidth
#undef   XtNminHeight
#undef   XtCMinWidth
#undef   XtCMinHeight

#define  XtNimage	 "image"
#define  XtNshape	 "shape"
#define  XtNclip	 "clip"
#define  XtNoverlay	 "overlay"
#define  XtNoverlayMask  "overlayMask"
#define  XtNxoffset	 "xoffset"
#define  XtNyoffset	 "yoffset"
#define  XtNshapeParent  "shapeParent"
#define  XtNpanImage	 "panImage"
#define  XtNpanBox	 "panBox"
#define  XtNmaxWidth	 "maxWidth"
#define  XtNmaxHeight	 "maxHeight"
#define  XtNminWidth	 "minWidth"
#define  XtNminHeight	 "minHeight"
#define  XtNpanWidth	 "panWidth"
#define  XtNpanHeight	 "panHeight"
#define  XtNvisual	 "visual"

#define  XtCClip	 "Clip"
#define  XtCShape	 "Shape"
#define  XtCShapeParent	 "ShapeParent"
#define  XtCOverlay	 "Overlay"
#define  XtCOverlayMask  "OverlayMask"
#define  XtCImage	 "Image"
#define  XtCXoffset	 "Xoffset"
#define  XtCYoffset	 "Xoffset"
#define  XtCPanImage	 "PanImage"
#define  XtCPanBox	 "PanBox"
#define  XtCMaxWidth	 "MaxWidth"
#define  XtCMaxHeight	 "MaxHeight"
#define  XtCMinWidth	 "MinWidth"
#define  XtCMinHeight	 "MinHeight"
#define  XtCPanWidth	 "PanWidth"
#define  XtCPanHeight	 "PanHeight"
#define  XtCVisual	 "Visual"

extern   WidgetClass	 xImageWidgetClass;

typedef struct  _XImageClassRec	  *XImageWidgetClass;
typedef struct  _XImageRec	  *XImageWidget;

#endif /* _XImage_h_ */
/* Do not add after this line */
