17a84e134Smrg/***********************************************************
27a84e134Smrg
37a84e134SmrgCopyright 1987, 1988, 1998  The Open Group
47a84e134Smrg
57a84e134SmrgPermission to use, copy, modify, distribute, and sell this software and its
67a84e134Smrgdocumentation for any purpose is hereby granted without fee, provided that
77a84e134Smrgthe above copyright notice appear in all copies and that both that
87a84e134Smrgcopyright notice and this permission notice appear in supporting
97a84e134Smrgdocumentation.
107a84e134Smrg
117a84e134SmrgThe above copyright notice and this permission notice shall be included in
127a84e134Smrgall copies or substantial portions of the Software.
137a84e134Smrg
147a84e134SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
157a84e134SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
167a84e134SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
177a84e134SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
187a84e134SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
197a84e134SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
207a84e134Smrg
217a84e134SmrgExcept as contained in this notice, the name of The Open Group shall not be
227a84e134Smrgused in advertising or otherwise to promote the sale, use or other dealings
237a84e134Smrgin this Software without prior written authorization from The Open Group.
247a84e134Smrg
257a84e134Smrg
267a84e134SmrgCopyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
277a84e134Smrg
287a84e134Smrg                        All Rights Reserved
297a84e134Smrg
30421c997bSmrgPermission to use, copy, modify, and distribute this software and its
31421c997bSmrgdocumentation for any purpose and without fee is hereby granted,
327a84e134Smrgprovided that the above copyright notice appear in all copies and that
33421c997bSmrgboth that copyright notice and this permission notice appear in
347a84e134Smrgsupporting documentation, and that the name of Digital not be
357a84e134Smrgused in advertising or publicity pertaining to distribution of the
36421c997bSmrgsoftware without specific, written prior permission.
377a84e134Smrg
387a84e134SmrgDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
397a84e134SmrgALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
407a84e134SmrgDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
417a84e134SmrgANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
427a84e134SmrgWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
437a84e134SmrgARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
447a84e134SmrgSOFTWARE.
457a84e134Smrg
467a84e134Smrg******************************************************************/
477a84e134Smrg
487a84e134Smrg#ifndef _XawStripChart_h
497a84e134Smrg#define _XawStripChart_h
507a84e134Smrg
517a84e134Smrg#include <X11/Intrinsic.h>
527a84e134Smrg
537a84e134Smrg/***********************************************************************
547a84e134Smrg *
557a84e134Smrg * StripChart Widget
567a84e134Smrg *
577a84e134Smrg ***********************************************************************/
587a84e134Smrg
597a84e134Smrg/* StripChart resources:
607a84e134Smrg
617a84e134Smrg Name		     Class		RepType		Default Value
627a84e134Smrg ----		     -----		-------		-------------
637a84e134Smrg accelerators	     Accelerators	AcceleratorTable NULL
64421c997bSmrg ancestorSensitive   AncestorSensitive	Boolean		True
657a84e134Smrg background	     Background		Pixel		XtDefaultBackground
667a84e134Smrg backgroundPixmap    Pixmap		Pixmap		XtUnspecifiedPixmap
677a84e134Smrg borderColor	     BorderColor	Pixel		XtDefaultForeground
687a84e134Smrg borderPixmap	     Pixmap		Pixmap		XtUnspecifiedPixmap
697a84e134Smrg borderWidth	     BorderWidth	Dimension	1
707a84e134Smrg colormap	     Colormap		Colormap	parent's colormap
717a84e134Smrg cursor		     Cursor		Cursor		None
727a84e134Smrg cursorName	     Cursor		String		NULL
737a84e134Smrg depth		     Depth		int		parent's depth
747a84e134Smrg destroyCallback     Callback		XtCallbackList	NULL
757a84e134Smrg foreground	     Foreground		Pixel		XtDefaultForeground
767a84e134Smrg getValue	     Callback		XtCallbackList	NULL
777a84e134Smrg height		     Height		Dimension	120
787a84e134Smrg highlight	     Foreground		Pixel		XtDefaultForeground
797a84e134Smrg insensitiveBorder   Insensitive	Pixmap		GreyPixmap
807a84e134Smrg jumpScroll	     JumpScroll		int		1/2 width
817a84e134Smrg mappedWhenManaged   MappedWhenManaged	Boolean		True
827a84e134Smrg minScale	     Scale		int		1
837a84e134Smrg pointerColor	     Foreground		Pixel		XtDefaultForeground
847a84e134Smrg pointerColorBackground Background	Pixel		XtDefaultBackground
857a84e134Smrg screen		     Screen		Screen		parent's screen
867a84e134Smrg sensitive	     Sensitive		Boolean		True
877a84e134Smrg translations	     Translations	TranslationTable NULL
887a84e134Smrg update		     Interval		int		10 (seconds)
897a84e134Smrg width		     Width		Dimension	120
907a84e134Smrg x		     Position		Position	0
917a84e134Smrg y		     Position		Position	0
927a84e134Smrg
937a84e134Smrg*/
947a84e134Smrg
957a84e134Smrg#define DEFAULT_JUMP -1
967a84e134Smrg
977a84e134Smrg#ifndef _XtStringDefs_h_
987a84e134Smrg#define XtNhighlight "highlight"
997a84e134Smrg#define XtNupdate "update"
1007a84e134Smrg#endif
1017a84e134Smrg
1027a84e134Smrg#define XtCJumpScroll "JumpScroll"
1037a84e134Smrg#define XtCScale "Scale"
1047a84e134Smrg
1057a84e134Smrg#define XtNgetValue "getValue"
1067a84e134Smrg#define XtNjumpScroll "jumpScroll"
1077a84e134Smrg#define XtNminScale "minScale"
1087a84e134Smrg#define XtNscale "scale"
1097a84e134Smrg#define XtNvmunix "vmunix"
110421c997bSmrg
1117a84e134Smrgtypedef struct _StripChartRec *StripChartWidget;
1127a84e134Smrgtypedef struct _StripChartClassRec *StripChartWidgetClass;
1137a84e134Smrg
1147a84e134Smrgextern WidgetClass stripChartWidgetClass;
1157a84e134Smrg
1167a84e134Smrg#endif /* _XawStripChart_h */
117