/*
 *	sccsid:	@(#)Boolean.h	1.10	5/7/87
 */

/*
 * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
 * 
 *                         All Rights Reserved
 * 
 * Permission to use, copy, modify, and distribute this software and its 
 * documentation for any purpose and without fee is hereby granted, 
 * provided that the above copyright notice appear in all copies and that
 * both that copyright notice and this permission notice appear in 
 * supporting documentation, and that the name of Digital Equipment
 * Corporation not be used in advertising or publicity pertaining to
 * distribution of the software without specific, written prior permission.  
 * 
 * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 * ANY DAMAGES WHATSOEVER 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 PERFORMANCE OF THIS
 * SOFTWARE.
 */

#ifndef _Boolean_h
#define _Boolean_h

/***********************************************************************
 *
 * Boolean Button Widget
 *
 ***********************************************************************/

#ifndef _XtJustify_e
#define _XtJustify_e
typedef enum {
    XtjustifyLeft,       /* justify text to left side of button   */
    XtjustifyCenter,     /* justify text in center of button      */
    XtjustifyRight       /* justify text to right side of button  */
} XtJustify;
#endif _XtJustify_e

#define XtNname			"name"
#define XtNvalue		"value"
#define XtNwindow		"window"
#define XtNborderWidth		"borderWidth"
#define XtNwidth		"width"
#define XtNheight		"height"
#define XtNinternalHeight	"internalHeight"
#define XtNinternalWidth	"internalWidth"
#define XtNlabel		"label"
#define XtNforeground		"foreground"
#define XtNbackground		"background"
#define XtNborder		"border"
#define XtNfont			"font"
#define XtNjustify		"justify"
#define XtNfunction		"function"
#define XtNparameter		"parameter"
#define XtNreason		"reason"
#define XtNx			"x"
#define XtNy			"y"

/*
 * Format for Callback procedure:
 *
 *    proc(tag, reason)
 *    caddr_t tag;              /* passed in by application as XtNparameter 
 *    unsigned long reason;     /* passed in by application as XtNreason 
 *
 */

extern Window XtBooleanCreate(); /* parent, args, argCount */
    /* Window   parent;     */
    /* ArgList  args;    */
    /* int      argCount;   */

extern void XtBooleanGetValues(); /* w, args, argCount */
    /* Window   w;     */
    /* ArgList  args;    */
    /* int      argCount;   */

extern void XtBooleanSetValues(); /* w, args, argCount */
    /* Window   w;     */
    /* ArgList  args;    */
    /* int      argCount;   */
    
#endif _Boolean_h
/* DON'T ADD STUFF AFTER THIS #endif */
