[comp.sources.x] v10i043: Examples from New Xt Book, Part03/05

asente@adobe.com (11/01/90)

Submitted-by: asente@adobe.com
Posting-number: Volume 10, Issue 43
Archive-name: xt-examples/part03

#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create the files:
#	BarDisplaP.h
#	BarDisplay.h
#	Box.h
#	BoxP.h
#	Confirm.h
#	Confirm1.h
#	Confirm1P.h
#	ConfirmP.h
#	Graph.h
#	GraphDispP.h
#	GraphDispl.h
#	GraphP.h
#	Label.h
#	LabelGadgP.h
#	LabelGadge.h
#	LabelP.h
#	Menu.h
#	MenuItem.h
#	MenuItemP.h
#	MenuP.h
#	MinMax.h
#	MinMaxP.h
#	PushbuttoP.h
#	Pushbutton.h
# This archive created: Wed Oct 24 14:24:10 1990
export PATH; PATH=/bin:$PATH
echo shar: extracting "'BarDisplaP.h'" '(2295 characters)'
if test -f 'BarDisplaP.h'
then
	echo shar: will not over-write existing file "'BarDisplaP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'BarDisplaP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef BARDISPLAYP_H
	X#define BARDISPLAYP_H
	X
	X/* Include the public header file for BarDisplay */
	X#include "BarDisplay.h"
	X
	X/* Include the private header file for GraphDisplay */
	X#include "GraphDispP.h"
	X
	X/* Define the BarDisplay instance part */
	Xtypedef struct {
	X    Dimension	space;			/* Space between bars */
	X    Dimension	default_graph_width;	/* Default width */
	X    String	format;			/* For displaying value */
	X} BarDisplayPart;
	X
	X/* Define the full instance record */
	Xtypedef struct _BarDisplayRec {
	X    ObjectPart		object;
	X    GraphDisplayPart	graphDisplay;
	X    BarDisplayPart	barDisplay;
	X} BarDisplayRec;
	X
	X/* Define class part structure */
	Xtypedef struct {
	X    XtPointer		extension;
	X} BarDisplayClassPart;
	X
	X/* Define the full class record */
	Xtypedef struct _BarDisplayClassRec {
	X    ObjectClassPart		object_class;
	X    GraphDisplayClassPart	graphDisplay_class;
	X    BarDisplayClassPart		barDisplay_class;
	X} BarDisplayClassRec, *BarDisplayObjectClass;
	X
	X/* External definition for class record */
	Xextern BarDisplayClassRec barDisplayClassRec;
	X
	X/* End of preprocessor directives */
	X#endif /* BARDISPLAYP_H */
SHAR_EOF
if test 2295 -ne "`wc -c < 'BarDisplaP.h'`"
then
	echo shar: error transmitting "'BarDisplaP.h'" '(should have been 2295 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'BarDisplay.h'" '(1771 characters)'
if test -f 'BarDisplay.h'
then
	echo shar: will not over-write existing file "'BarDisplay.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'BarDisplay.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef BARDISPLAY_H
	X#define BARDISPLAY_H
	X
	X/* Superclass public header file */
	X
	X#include "GraphDispl.h"
	X
	X/* New resources */
	X
	X#define XtNspace "space"
	X#define XtCSpace "Space"
	X#define XtNdefaultGraphWidth "defaultGraphWidth"
	X#define XtCDefaultGraphWidth "DefaultGraphWidth"
	X#define XtNformat "format"
	X#define XtCFormat "Format"
	X
	X/* External reference to the class record pointer */
	Xextern WidgetClass barDisplayObjectClass;
	X
	X/* Type definition for barDisplay objects */
	Xtypedef struct _BarDisplayRec *BarDisplayObject;
	X
	X/* End of preprocessor directives */
	X#endif /* BARDISPLAY_H */
SHAR_EOF
if test 1771 -ne "`wc -c < 'BarDisplay.h'`"
then
	echo shar: error transmitting "'BarDisplay.h'" '(should have been 1771 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'Box.h'" '(1612 characters)'
if test -f 'Box.h'
then
	echo shar: will not over-write existing file "'Box.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'Box.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef BOX_H
	X#define BOX_H
	X
	X/* Box is derived from Composite, so no need to include the superclass
	X   public header file.  */
	X
	X/* Define the new resource that Box uses */
	X
	X#define XtNmargin "margin"
	X
	X/* External reference to the class record pointer */
	X
	Xextern WidgetClass boxWidgetClass;
	X
	X/* Type definition for box widgets */
	X
	Xtypedef struct _BoxRec *BoxWidget;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* BOX_H */
SHAR_EOF
if test 1612 -ne "`wc -c < 'Box.h'`"
then
	echo shar: error transmitting "'Box.h'" '(should have been 1612 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'BoxP.h'" '(2188 characters)'
if test -f 'BoxP.h'
then
	echo shar: will not over-write existing file "'BoxP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'BoxP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef BOXP_H
	X#define BOXP_H
	X
	X/* Include the public header file for Box */
	X
	X#include "Box.h"
	X
	X/* Box is derived from Composite, so no need to include the superclass
	X   private header file.  */
	X
	X/* Define the Box instance part */
	X
	Xtypedef struct {
	X  /* New resource fields */
	X    Dimension	margin;		/* Extra space to leave on edges */
	X
	X  /* New internal fields */
	X    Widget	last_focus;	/* Child that last had the focus */
	X} BoxPart;
	X
	X/* Define the full instance record */
	X
	Xtypedef struct _BoxRec {
	X    CorePart		core;
	X    CompositePart	composite;
	X    BoxPart		box;
	X} BoxRec;
	X
	X/* Define class part structure */
	X
	Xtypedef struct {
	X    XtPointer		extension;
	X} BoxClassPart;
	X
	X/* Define the full class record */
	X
	Xtypedef struct _BoxClassRec {
	X    CoreClassPart	core_class;
	X    CompositeClassPart	composite_class;
	X    BoxClassPart	box_class;
	X} BoxClassRec, *BoxClass;
	X
	X/* External definition for class record */
	X
	Xextern BoxClassRec boxClassRec;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* BOXP_H */
	X
SHAR_EOF
if test 2188 -ne "`wc -c < 'BoxP.h'`"
then
	echo shar: error transmitting "'BoxP.h'" '(should have been 2188 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'Confirm.h'" '(1864 characters)'
if test -f 'Confirm.h'
then
	echo shar: will not over-write existing file "'Confirm.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'Confirm.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef CONFIRM_H
	X#define CONFIRM_H
	X
	X/* Include the public header file for Box, our superclass */
	X
	X#include "Box.h"
	X
	X/* Define the new resources that Confirm uses.  There are no resource
	X   classes corresponding to XtNlabelChild and XtNbuttonChild since
	X   these cannot be set. */
	X
	X#define XtNbuttonLabel "buttonLabel"
	X#define XtCButtonLabel "ButtonLabel"
	X#define XtNlabelWidget "labelWidget"
	X#define XtNbuttonWidget "buttonWidget"
	X
	X/* External reference to the class record pointer */
	X
	Xextern WidgetClass confirmWidgetClass;
	X
	X/* Type definition for confirm widgets */
	X
	Xtypedef struct _ConfirmRec *ConfirmWidget;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* CONFIRM_H */
SHAR_EOF
if test 1864 -ne "`wc -c < 'Confirm.h'`"
then
	echo shar: error transmitting "'Confirm.h'" '(should have been 1864 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'Confirm1.h'" '(1794 characters)'
if test -f 'Confirm1.h'
then
	echo shar: will not over-write existing file "'Confirm1.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'Confirm1.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef CONFIRM_H
	X#define CONFIRM_H
	X
	X/* Confirm is derived from Core, so no need to include the superclass
	X   public header file.  */
	X
	X/* Define the new resources that Confirm uses */
	X
	X#define XtNmargin "margin"
	X#define XtNbuttonLabel "buttonLabel"
	X#define XtCButtonLabel "ButtonLabel"
	X#define XtNlabelWidget "labelWidget"
	X#define XtNbuttonWidget "buttonWidget"
	X
	X/* External reference to the class record pointer */
	X
	Xextern WidgetClass confirmWidgetClass;
	X
	X/* Type definition for confirm widgets */
	X
	Xtypedef struct _ConfirmRec *ConfirmWidget;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* CONFIRM_H */
SHAR_EOF
if test 1794 -ne "`wc -c < 'Confirm1.h'`"
then
	echo shar: error transmitting "'Confirm1.h'" '(should have been 1794 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'Confirm1P.h'" '(2342 characters)'
if test -f 'Confirm1P.h'
then
	echo shar: will not over-write existing file "'Confirm1P.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'Confirm1P.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef CONFIRMP_H
	X#define CONFIRMP_H
	X
	X/* Include the public header file for Confirm */
	X
	X#include "Confirm1.h"
	X
	X/* Confirm is derived from Core, so no need to include the superclass
	X   private header file.  */
	X
	X/* Define the Confirm instance part */
	X
	Xtypedef struct {
	X  /* New resource fields */
	X    Dimension		margin;		/* Extra space to leave */
	X    String		label;		/* Label string */
	X    String		button_label;	/* Button string */
	X    XtCallbackList	callback;	/* Callback to execute */
	X    Widget		label_widget;	/* Label subwidget */
	X    Widget		button_widget;	/* Pushbutton subwidget */
	X} ConfirmPart;
	X
	X/* Define the full instance record */
	X
	Xtypedef struct _ConfirmRec {
	X    CorePart		core;
	X    ConfirmPart		confirm;
	X} ConfirmRec;
	X
	X/* Define class part structure */
	X
	Xtypedef struct {
	X    XtPointer		extension;
	X} ConfirmClassPart;
	X
	X/* Define the full class record */
	X
	X
	Xtypedef struct _ConfirmClassRec {
	X    CoreClassPart	core_class;
	X    ConfirmClassPart	confirm_class;
	X} ConfirmClassRec, *ConfirmClass;
	X
	X/* External definition for class record */
	X
	Xextern ConfirmClassRec confirmClassRec;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* CONFIRMP_H */
	X
SHAR_EOF
if test 2342 -ne "`wc -c < 'Confirm1P.h'`"
then
	echo shar: error transmitting "'Confirm1P.h'" '(should have been 2342 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'ConfirmP.h'" '(2285 characters)'
if test -f 'ConfirmP.h'
then
	echo shar: will not over-write existing file "'ConfirmP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'ConfirmP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef CONFIRMP_H
	X#define CONFIRMP_H
	X
	X/* Include the public header file for Confirm */
	X
	X#include "Confirm.h"
	X
	X/* Include the private header file for Box, our superclass */
	X
	X#include "BoxP.h"
	X
	X/* Define the Confirm instance part */
	X
	Xtypedef struct {
	X  /* New resource fields */
	X    String		label;		/* Label string */
	X    String		button_label;	/* Button string */
	X    XtCallbackList	callback;	/* Callback to execute */
	X} ConfirmPart;
	X
	X/* Define the full instance record */
	X
	Xtypedef struct _ConfirmRec {
	X    CorePart		core;
	X    CompositePart	composite;
	X    BoxPart		box;
	X    ConfirmPart		confirm;
	X} ConfirmRec;
	X
	X/* Define class part structure */
	X
	Xtypedef struct {
	X    XtPointer		extension;
	X} ConfirmClassPart;
	X
	X/* Define the full class record */
	X
	Xtypedef struct _ConfirmClassRec {
	X    CoreClassPart	core_class;
	X    CompositeClassPart	composite_class;
	X    BoxClassPart	box_class;
	X    ConfirmClassPart	confirm_class;
	X} ConfirmClassRec, *ConfirmClass;
	X
	X/* External definition for class record */
	X
	Xextern ConfirmClassRec confirmClassRec;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* CONFIRMP_H */
	X
SHAR_EOF
if test 2285 -ne "`wc -c < 'ConfirmP.h'`"
then
	echo shar: error transmitting "'ConfirmP.h'" '(should have been 2285 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'Graph.h'" '(1863 characters)'
if test -f 'Graph.h'
then
	echo shar: will not over-write existing file "'Graph.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'Graph.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef GRAPH_H
	X#define GRAPH_H
	X
	X/* Graph is derived from Composite, so no need to include the
	X   superclass public header file.  */
	X
	X/* New resources */
	X
	X#define XtNnumEntries "numEntries"
	X#define XtCNumEntries "NumEntries"
	X#define XtNlabels "labels"
	X#define XtCLabels "Labels"
	X#define XtNvalues "values"
	X#define XtCValues "Values"
	X#define XtNmaxValue "maxValue"
	X#define XtCMaxValue "MaxValue"
	X#define XtNscale "scale"
	X#define XtCScale "Scale"
	X
	X/* External reference to the class record pointer */
	Xextern WidgetClass graphWidgetClass;
	X
	X/* Type definition for graph widgets */
	Xtypedef struct _GraphRec *GraphWidget;
	X
	X/* End of preprocessor directives */
	X#endif /* GRAPH_H */
SHAR_EOF
if test 1863 -ne "`wc -c < 'Graph.h'`"
then
	echo shar: error transmitting "'Graph.h'" '(should have been 1863 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'GraphDispP.h'" '(2555 characters)'
if test -f 'GraphDispP.h'
then
	echo shar: will not over-write existing file "'GraphDispP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'GraphDispP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef GRAPHDISPLAYP_H
	X#define GRAPHDISPLAYP_H
	X
	X/* Include the public header file for GraphDisplay */
	X#include "GraphDispl.h"
	X
	X/* GraphDisplay is derived from Object, so no need to include the
	X   superclass private header file. */
	X
	X/* Define the GraphDisplay instance part */
	Xtypedef struct {
	X    Pixel	foreground;	/* Foreground pixel value */
	X    XFontStruct	*font;		/* Font to display in */
	X    GC		gc;		/* Graphics context for displaying */
	X} GraphDisplayPart;
	X
	X/* Define the full instance record */
	Xtypedef struct _GraphDisplayRec {
	X    ObjectPart		object;
	X    GraphDisplayPart	graphDisplay;
	X} GraphDisplayRec;
	X
	X/* Define new type for the compute_size method */
	Xtypedef void (*ComputeSizeProc)();
	X    /* GraphWidget	w; */
	X
	X/* Define class part structure */
	Xtypedef struct {
	X    ComputeSizeProc	compute_size;
	X    XtExposeProc	expose;
	X    XtPointer		extension;
	X} GraphDisplayClassPart;
	X
	X/* Define the full class record */
	Xtypedef struct _GraphDisplayClassRec {
	X    ObjectClassPart		object_class;
	X    GraphDisplayClassPart	graphDisplay_class;
	X} GraphDisplayClassRec, *GraphDisplayObjectClass;
	X
	X/* External definition for class record */
	Xextern GraphDisplayClassRec graphDisplayClassRec;
	X
	X/* Inheritance constant for compute_size method */
	X
	X#define InheritComputeSize ((ComputeSizeProc) _XtInherit)
	X
	X/* End of preprocessor directives */
	X#endif /* GRAPHDISPLAYP_H */
SHAR_EOF
if test 2555 -ne "`wc -c < 'GraphDispP.h'`"
then
	echo shar: error transmitting "'GraphDispP.h'" '(should have been 2555 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'GraphDispl.h'" '(1603 characters)'
if test -f 'GraphDispl.h'
then
	echo shar: will not over-write existing file "'GraphDispl.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'GraphDispl.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef GRAPHDISPLAY_H
	X#define GRAPHDISPLAY_H
	X
	X/* GraphDisplay is derived from Object, so no need to include the
	X   superclass public header file. */
	X
	X/* External reference to the class record pointer */
	Xextern WidgetClass graphDisplayObjectClass;
	X
	X/* Type definition for graphDisplay objects */
	Xtypedef struct _GraphDisplayRec *GraphDisplayObject;
	X
	X/* End of preprocessor directives */
	X#endif /* GRAPHDISPLAY_H */
SHAR_EOF
if test 1603 -ne "`wc -c < 'GraphDispl.h'`"
then
	echo shar: error transmitting "'GraphDispl.h'" '(should have been 1603 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'GraphP.h'" '(2279 characters)'
if test -f 'GraphP.h'
then
	echo shar: will not over-write existing file "'GraphP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'GraphP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef GRAPHP_H
	X#define GRAPHP_H
	X
	X/* Include the public header file for Graph */
	X#include "Graph.h"
	X
	X/* Graph is derived from Composite, so no need to include the
	X   superclass private header file. */
	X
	X/* Define the Graph instance part */
	Xtypedef struct {
	X    int		num_entries;	/* Number of entries to graph */
	X    String	*labels;	/* Labels for values */
	X    int		*values;	/* Graph values */
	X    int		max_value;	/* Maximum graph value */
	X    int		scale;		/* Scale factor for values */
	X} GraphPart;
	X
	X/* Define the full instance record */
	Xtypedef struct _GraphRec {
	X    CorePart		core;
	X    CompositePart 	composite;
	X    GraphPart		graph;
	X} GraphRec;
	X
	X/* Define class part structure */
	Xtypedef struct {
	X    XtPointer		extension;
	X} GraphClassPart;
	X
	X/* Define the full class record */
	Xtypedef struct _GraphClassRec {
	X    CoreClassPart	core_class;
	X    CompositeClassPart	composite_class;
	X    GraphClassPart	graph_class;
	X} GraphClassRec, *GraphWidgetClass;
	X
	X/* External definition for class record */
	Xextern GraphClassRec graphClassRec;
	X
	X/* End of preprocessor directives */
	X#endif /* GRAPHP_H */
SHAR_EOF
if test 2279 -ne "`wc -c < 'GraphP.h'`"
then
	echo shar: error transmitting "'GraphP.h'" '(should have been 2279 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'Label.h'" '(1870 characters)'
if test -f 'Label.h'
then
	echo shar: will not over-write existing file "'Label.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'Label.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef LABEL_H
	X#define LABEL_H
	X
	X/* Label is derived from Core, so no need to include the superclass
	X   public header file.  */
	X
	X/* New resource */
	X
	X#define XtNloseSelection "loseSelection"
	X#define XtCLoseSelection "LoseSelection"
	X
	X/* New type for justification */
	Xtypedef enum { Center, Left, Right } Justify;
	X
	X/* External reference to the class record pointer */
	Xextern WidgetClass labelWidgetClass;
	X
	X/* Type definition for label widgets */
	Xtypedef struct _LabelRec *LabelWidget;
	X
	X/* Method declaration */
	Xextern Boolean LabelSelectText();
	X    /* Widget	w;	    */
	X    /* Atom	selection;  */
	X    /* Boolean	select;	    */
	X
	X/* End of preprocessor directives */
	X#endif /* LABEL_H */
SHAR_EOF
if test 1870 -ne "`wc -c < 'Label.h'`"
then
	echo shar: error transmitting "'Label.h'" '(should have been 1870 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'LabelGadgP.h'" '(3246 characters)'
if test -f 'LabelGadgP.h'
then
	echo shar: will not over-write existing file "'LabelGadgP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'LabelGadgP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef LABEL_GADGETP_H
	X#define LABEL_GADGETP_H
	X
	X/* Include the public header file for LabelGadget */
	X#include "LabelGadge.h"
	X
	X/* LabelGadget is derived from RectObj, so no need to include the
	X   superclass private header file.  No internal types need to be
	X   defined. */
	X
	X/* Define the LabelGadget instance part */
	Xtypedef struct {
	X  /* New resource fields */
	X    String	label;		/* Text to display */
	X    Pixel	foreground;	/* Foreground pixel value */
	X    XFontStruct	*font;		/* Font to display in */
	X    Justify	justify;	/* The justification value */
	X    Dimension	space;		/* Inner padding value */
	X    Pixel	background;	/* Background pixel value */
	X    Pixel	border;		/* Border pixel value */
	X
	X  /* New internal fields */
	X    GC		gc;		/* Graphics context for displaying */
	X    GC		background_gc;	/* Graphics context for background */
	X    GC		border_gc;	/* Graphics context for border */
	X    Dimension	old_border;	/* Previous border width */
	X    Dimension	label_width;	/* The calculated width */
	X    Dimension	label_height;	/* The calculated height */
	X    Cardinal	label_len;	/* The length of the text string */
	X    Boolean	size_computed;	/* Whether the size was computed */
	X    Dimension	desired_width;	/* The width the widget wants to be */
	X    Dimension	desired_height;	/* The height the widget wants to be */
	X    GC		current_gc;	/* GC we are currently using */
	X    GC		current_bg_gc;	/* GC for current background */
	X} LabelGadgetPart;
	X
	X/* Define the full instance record */
	Xtypedef struct _LabelGadgetRec {
	X    ObjectPart		object;
	X    RectObjPart		rectObj;
	X    LabelGadgetPart	label;
	X} LabelGadgetRec;
	X
	X/* Define class part structure */
	Xtypedef struct {
	X    XtPointer		extension;
	X} LabelGadgetClassPart;
	X
	X/* Define the full class record */
	Xtypedef struct _LabelGadgetClassRec {
	X    RectObjClassPart		rect_class;
	X    LabelGadgetClassPart	label_class;
	X} LabelGadgetClassRec, *LabelGadgetClass;
	X
	X/* External definition for class record */
	Xextern LabelGadgetClassRec labelGadgetClassRec;
	X
	X/* End of preprocessor directives */
	X#endif /* LABEL_GADGETP_H */
SHAR_EOF
if test 3246 -ne "`wc -c < 'LabelGadgP.h'`"
then
	echo shar: error transmitting "'LabelGadgP.h'" '(should have been 3246 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'LabelGadge.h'" '(1654 characters)'
if test -f 'LabelGadge.h'
then
	echo shar: will not over-write existing file "'LabelGadge.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'LabelGadge.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef LABEL_GADGET_H
	X#define LABEL_GADGET_H
	X
	X/* LabelGadget is derived from RectObj, so no need to include the
	X   superclass public header file.  */
	X
	X/* Include Label header file to get Justify type */
	X#include "Label.h"
	X
	X/* External reference to the class record pointer */
	Xextern WidgetClass labelGadgetClass;
	X
	X/* Type definition for label widgets */
	Xtypedef struct _LabelGadgetRec *LabelGadget;
	X
	X/* End of preprocessor directives */
	X#endif /* LABEL_GADGET_H */
SHAR_EOF
if test 1654 -ne "`wc -c < 'LabelGadge.h'`"
then
	echo shar: error transmitting "'LabelGadge.h'" '(should have been 1654 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'LabelP.h'" '(3237 characters)'
if test -f 'LabelP.h'
then
	echo shar: will not over-write existing file "'LabelP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'LabelP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef LABELP_H
	X#define LABELP_H
	X
	X/* Include the public header file for Label */
	X#include "Label.h"
	X
	X/* Label is derived from Core, so no need to include the superclass
	X   private header file.  No internal types need to be defined. */
	X
	X/* Define the Label instance part */
	Xtypedef struct {
	X  /* New resource fields */
	X    String	   label;	    /* Text to display */
	X    Pixel	   foreground;	    /* Foreground pixel value */
	X    XFontStruct	   *font;	    /* Font to display in */
	X    Justify	   justify;	    /* The justification value */
	X    Dimension	   space;	    /* Inner padding value */
	X    XtCallbackList lose_selection;  /* Notify app. of lost selection */
	X
	X  /* New internal fields */
	X    GC		gc;		/* Graphics context for displaying */
	X    Dimension	label_width;	/* The calculated width */
	X    Dimension	label_height;	/* The calculated height */
	X    Cardinal	label_len;	/* The length of the text string */
	X    Boolean	size_computed;	/* Whether the size was computed */
	X    Dimension	desired_width;	/* The width the widget wants to be */
	X    Dimension	desired_height;	/* The height the widget wants to be */
	X    String	accel_string;	/* Accelerator string */
	X    GC		current_gc;	/* GC we are currently using */
	X} LabelPart;
	X
	X/* Define the full instance record */
	Xtypedef struct _LabelRec {
	X    CorePart	core;
	X    LabelPart	label;
	X} LabelRec;
	X
	X/* Define new type for the class method */
	Xtypedef Boolean (*LabelSelectionProc)();
	X    /* Widget	w; 		*/
	X    /* Atom	selection;	*/
	X    /* Boolean  own;		*/
	X
	X/* Define class part structure */
	Xtypedef struct {
	X    LabelSelectionProc	select;
	X    XtPointer		extension;
	X} LabelClassPart;
	X
	X/* Define the full class record */
	Xtypedef struct _LabelClassRec {
	X    CoreClassPart	core_class;
	X    LabelClassPart	label_class;
	X} LabelClassRec, *LabelWidgetClass;
	X
	X/* External definition for class record */
	Xextern LabelClassRec labelClassRec;
	X
	X/* Inheritance constant for select_text method */
	X#define InheritSelectText ((LabelSelectionProc) _XtInherit)
	X
	X/* End of preprocessor directives */
	X#endif /* LABELP_H */
SHAR_EOF
if test 3237 -ne "`wc -c < 'LabelP.h'`"
then
	echo shar: error transmitting "'LabelP.h'" '(should have been 3237 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'Menu.h'" '(1673 characters)'
if test -f 'Menu.h'
then
	echo shar: will not over-write existing file "'Menu.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'Menu.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef MENU_H
	X#define MENU_H
	X
	X/* Menu is derived from Constraint, so no need to include the
	X   superclass public header file.  */
	X
	X/* Define the new resource that Menu uses */
	X
	X#define XtNinsertBefore "insertBefore"
	X#define XtCInsertBefore "InsertBefore"
	X
	X/* External reference to the class record pointer */
	X
	Xextern WidgetClass menuWidgetClass;
	X
	X/* Type definition for menu widgets */
	X
	Xtypedef struct _MenuRec *MenuWidget;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* MENU_H */
SHAR_EOF
if test 1673 -ne "`wc -c < 'Menu.h'`"
then
	echo shar: error transmitting "'Menu.h'" '(should have been 1673 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'MenuItem.h'" '(1569 characters)'
if test -f 'MenuItem.h'
then
	echo shar: will not over-write existing file "'MenuItem.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'MenuItem.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef MENUITEM_H
	X#define MENUITEM_H
	X
	X/* Include the public header file for Pushbutton, our superclass */
	X
	X#include "Pushbutton.h"
	X
	X/* External reference to the class record pointer */
	X
	Xextern WidgetClass menuItemWidgetClass;
	X
	X/* Type definition for menuItem widgets */
	X
	Xtypedef struct _MenuItemRec *MenuItemWidget;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* MENUITEM_H */
SHAR_EOF
if test 1569 -ne "`wc -c < 'MenuItem.h'`"
then
	echo shar: error transmitting "'MenuItem.h'" '(should have been 1569 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'MenuItemP.h'" '(2216 characters)'
if test -f 'MenuItemP.h'
then
	echo shar: will not over-write existing file "'MenuItemP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'MenuItemP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef MENUITEMP_H
	X#define MENUITEMP_H
	X
	X/* Include the public header file for MenuItem */
	X
	X#include "MenuItem.h"
	X
	X/* Include the private header file for Pushbutton, our superclass */
	X
	X#include "PushbuttoP.h"
	X
	X/* Define the MenuItem instance part */
	X
	Xtypedef struct {
	X    int		empty;		/* no empty structures allowed */
	X} MenuItemPart;
	X
	X/* Define the full instance record */
	X
	Xtypedef struct _MenuItemRec {
	X    CorePart		core;
	X    LabelPart		label;
	X    PushbuttonPart	pushbutton;
	X    MenuItemPart	menuItem;
	X} MenuItemRec;
	X
	X/* Define class part structure */
	X
	Xtypedef struct {
	X    XtPointer		extension;
	X} MenuItemClassPart;
	X
	X/* Define the full class record */
	X
	Xtypedef struct _MenuItemClassRec {
	X    CoreClassPart	core_class;
	X    LabelClassPart	label_class;
	X    PushbuttonClassPart	pushbutton_class;
	X    MenuItemClassPart	menuItem_class;
	X} MenuItemClassRec, *MenuItemWidgetClass;
	X
	X/* External definition for class record */
	X
	Xextern MenuItemClassRec menuItemClassRec;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* MENUITEMP_H */
SHAR_EOF
if test 2216 -ne "`wc -c < 'MenuItemP.h'`"
then
	echo shar: error transmitting "'MenuItemP.h'" '(should have been 2216 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'MenuP.h'" '(2577 characters)'
if test -f 'MenuP.h'
then
	echo shar: will not over-write existing file "'MenuP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'MenuP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef MENUP_H
	X#define MENUP_H
	X
	X/* Include the public header file for Menu */
	X
	X#include "Menu.h"
	X
	X/* Menu is derived from Constraint, so no need to include the
	X   superclass private header file.  */
	X
	X/* Define the Menu instance part */
	X
	Xtypedef struct {
	X    long	save_border;	/* For geometry request foolishness */
	X} MenuPart;
	X
	X/* Define the full instance record */
	X
	Xtypedef struct _MenuRec {
	X    CorePart		core;
	X    CompositePart	composite;
	X    ConstraintPart	constraint;
	X    MenuPart		menu;
	X} MenuRec;
	X
	X/* Define class part structure */
	X
	Xtypedef struct {
	X    XtPointer		extension;
	X} MenuClassPart;
	X
	X/* Define the full class record */
	X
	Xtypedef struct _MenuClassRec {
	X    CoreClassPart	core_class;
	X    CompositeClassPart	composite_class;
	X    ConstraintClassPart	constraint_class;
	X    MenuClassPart	menu_class;
	X} MenuClassRec, *MenuClass;
	X
	X/* Define constraint part structure */
	X
	Xtypedef struct {
	X  /* New resource field */
	X    Widget		insert_before;	/* Widget to insert before */
	X
	X  /* New bookkeeping fields */
	X    Dimension		desired_height;
	X    Dimension		desired_border_width;
	X} MenuConstraintPart;
	X
	X/* Define the full constraint record */
	X
	Xtypedef struct _MenuConstraintRec {
	X    MenuConstraintPart	menu;
	X} MenuConstraintRec, *MenuConstraint;
	X
	X/* External definition for class record */
	X
	Xextern MenuClassRec menuClassRec;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* MENUP_H */
	X
SHAR_EOF
if test 2577 -ne "`wc -c < 'MenuP.h'`"
then
	echo shar: error transmitting "'MenuP.h'" '(should have been 2577 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'MinMax.h'" '(1893 characters)'
if test -f 'MinMax.h'
then
	echo shar: will not over-write existing file "'MinMax.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'MinMax.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X#ifndef MINMAX_H
	X#define MINMAX_H
	X
	X/* MinMax is derived from Constraint, so no need to include the
	X   superclass public header file.  */
	X
	X/* Define the new resources that MinMax uses */
	X
	X#define XtNmargin "margin"
	X#define XtNminWidth "minWidth"
	X#define XtNmaxWidth "maxWidth"
	X#define XtNminHeight "minHeight"
	X#define XtNmaxHeight "maxHeight"
	X#define XtCMinWidth "MinWidth"
	X#define XtCMaxWidth "MaxWidth"
	X#define XtCMinHeight "MinHeight"
	X#define XtCMaxHeight "MaxHeight"
	X
	X/* External reference to the class record pointer */
	Xextern WidgetClass minMaxWidgetClass;
	X
	X/* Type definition for minMax widgets */
	Xtypedef struct _MinMaxRec *MinMaxWidget;
	X
	X/* End of preprocessor directives */
	X#endif /* MINMAX_H */
SHAR_EOF
if test 1893 -ne "`wc -c < 'MinMax.h'`"
then
	echo shar: error transmitting "'MinMax.h'" '(should have been 1893 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'MinMaxP.h'" '(2574 characters)'
if test -f 'MinMaxP.h'
then
	echo shar: will not over-write existing file "'MinMaxP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'MinMaxP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef MINMAXP_H
	X#define MINMAXP_H
	X
	X/* Include the public header file for MinMax */
	X
	X#include "MinMax.h"
	X
	X/* Define the MinMax instance part */
	X
	Xtypedef struct {
	X  /* New resource fields */
	X    Dimension	margin;		/* Extra space to leave on edges */
	X
	X  /* New internal fields */
	X    Widget	last_focus;	/* Child that last had the focus */
	X} MinMaxPart;
	X
	X/* Define the full instance record */
	X
	Xtypedef struct _MinMaxRec {
	X    CorePart		core;
	X    CompositePart	composite;
	X    ConstraintPart	constraint;
	X    MinMaxPart		minMax;
	X} MinMaxRec;
	X
	X/* Define class part structure */
	X
	Xtypedef struct {
	X    XtPointer		extension;
	X} MinMaxClassPart;
	X
	X/* Define the full class record */
	X
	Xtypedef struct _MinMaxClassRec {
	X    CoreClassPart	core_class;
	X    CompositeClassPart	composite_class;
	X    ConstraintClassPart	constraint_class;
	X    MinMaxClassPart	minMax_class;
	X} MinMaxClassRec, *MinMaxClass;
	X
	X/* Define constraint part structure */
	X
	Xtypedef struct {
	X  /* New resource fields */
	X    short		min_width;
	X    short		max_width;
	X    short		min_height;
	X    short		max_height;
	X} MinMaxConstraintPart;
	X
	X/* Define the full constraint record */
	X
	Xtypedef struct _MinMaxConstraintRec {
	X    MinMaxConstraintPart minMax;
	X} MinMaxConstraintRec, *MinMaxConstraint;
	X
	X
	X/* External definition for class record */
	X
	Xextern MinMaxClassRec minMaxClassRec;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* MINMAXP_H */
	X
SHAR_EOF
if test 2574 -ne "`wc -c < 'MinMaxP.h'`"
then
	echo shar: error transmitting "'MinMaxP.h'" '(should have been 2574 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'PushbuttoP.h'" '(2844 characters)'
if test -f 'PushbuttoP.h'
then
	echo shar: will not over-write existing file "'PushbuttoP.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'PushbuttoP.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef PUSHBUTTONP_H
	X#define PUSHBUTTONP_H
	X
	X/* Include the public header file for Pushbutton */
	X
	X#include "Pushbutton.h"
	X
	X/* Include the private header file for Label, our superclass */
	X
	X#include "LabelP.h"
	X
	X/* Define a new, private resource */
	X
	X#define XtNaccelString "accelString"
	X#define XtCAccelString "AccelString"
	X
	X/* Define the Pushbutton instance part */
	X
	Xtypedef struct {
	X  /* New resource fields */
	X    XtCallbackList callback;		/* Application callback */
	X    Pixel	insensitive_foreground;	/* Insensitive colors */
	X    Pixmap	insensitive_pixmap;
	X    Dimension	highlight_border;	/* Highlight border width */
	X    String	accelerator_string;	/* String for accelerator */
	X
	X  /* New internal fields */
	X    GC		insensitive_gc;	  /* GC for displaying insensitive */
	X    GC		inverted_gc;	  /* GC for displaying inverted */
	X    Boolean	highlighted;	  /* Whether highlighted */
	X    Boolean	inverted;	  /* Whether inverted */
	X    Boolean	use_insens_pixel; /* Whether using insensitive pixel */
	X} PushbuttonPart;
	X
	X/* Define the full instance record */
	X
	Xtypedef struct _PushbuttonRec {
	X    CorePart		core;
	X    LabelPart		label;
	X    PushbuttonPart	pushbutton;
	X} PushbuttonRec;
	X
	X/* Define class part structure */
	X
	Xtypedef struct {
	X    XtPointer		extension;
	X} PushbuttonClassPart;
	X
	X/* Define the full class record */
	X
	Xtypedef struct _PushbuttonClassRec {
	X    CoreClassPart	core_class;
	X    LabelClassPart	label_class;
	X    PushbuttonClassPart	pushbutton_class;
	X} PushbuttonClassRec, *PushbuttonWidgetClass;
	X
	X/* External definition for class record */
	X
	Xextern PushbuttonClassRec pushbuttonClassRec;
	X
	X/* End of preprocessor directives */
	X#endif /* PUSHBUTTONP_H */
SHAR_EOF
if test 2844 -ne "`wc -c < 'PushbuttoP.h'`"
then
	echo shar: error transmitting "'PushbuttoP.h'" '(should have been 2844 characters)'
fi
fi # end of overwriting check
echo shar: extracting "'Pushbutton.h'" '(1855 characters)'
if test -f 'Pushbutton.h'
then
	echo shar: will not over-write existing file "'Pushbutton.h'"
else
sed 's/^	X//' << \SHAR_EOF > 'Pushbutton.h'
	X/***********************************************************
	XCopyright 1990 by Digital Equipment Corporation, Maynard, Massachusetts.
	X
	X                        All Rights Reserved
	X
	XPermission to use, copy, modify, and distribute these examples for any
	Xpurpose and without fee is hereby granted, provided that the above
	Xcopyright notice appear in all copies and that both that copyright
	Xnotice and this permission notice appear in supporting documentation,
	Xand that the name of Digital not be used in advertising or publicity
	Xpertaining to distribution of the software without specific, written
	Xprior permission.
	X
	XDIGITAL AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
	XSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
	XFITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT
	XOR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
	XOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
	XOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
	XOR PERFORMANCE OF THIS SOFTWARE.
	X
	X******************************************************************/
	X
	X/* Make it safe to include this file more than once. */
	X
	X#ifndef PUSHBUTTON_H
	X#define PUSHBUTTON_H
	X
	X/* Include the public header file for Label, our superclass */
	X
	X#include "Label.h"
	X
	X/* New resource definitions */
	X
	X#define XtNinsensitiveForeground "insensitiveForeground"
	X#define XtNinsensitivePixmap "insensitivePixmap"
	X#define XtNhighlightBorder "highlightBorder"
	X#define XtNacceleratorString "acceleratorString"
	X#define XtCAcceleratorString "AcceleratorString"
	X
	X/* External reference to the class record pointer */
	X
	Xextern WidgetClass pushbuttonWidgetClass;
	X
	X/* Type definition for pushbutton widgets */
	X
	Xtypedef struct _PushbuttonRec *PushbuttonWidget;
	X
	X/* End of preprocessor directives */
	X
	X#endif /* PUSHBUTTON_H */
SHAR_EOF
if test 1855 -ne "`wc -c < 'Pushbutton.h'`"
then
	echo shar: error transmitting "'Pushbutton.h'" '(should have been 1855 characters)'
fi
fi # end of overwriting check
#	End of shell archive
exit 0

dan
----------------------------------------------------
O'Reilly && Associates   argv@sun.com / argv@ora.com
Opinions expressed reflect those of the author only.