bboxint.h revision d859ff80
11.13Shubertf/* $XConsortium: bboxint.h,v 2.10 89/09/15 16:10:22 converse Exp $
21.9Scgd *
31.1Scgd *			  COPYRIGHT 1987
41.8Smycroft *		   DIGITAL EQUIPMENT CORPORATION
51.8Smycroft *		       MAYNARD, MASSACHUSETTS
61.1Scgd *			ALL RIGHTS RESERVED.
71.1Scgd *
81.1Scgd * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
91.1Scgd * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
101.1Scgd * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR
111.1Scgd * ANY PURPOSE.  IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
121.1Scgd *
131.1Scgd * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
141.1Scgd * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
151.1Scgd * ADDITION TO THAT SET FORTH ABOVE.
161.1Scgd *
171.1Scgd * Permission to use, copy, modify, and distribute this software and its
181.1Scgd * documentation for any purpose and without fee is hereby granted, provided
191.1Scgd * that the above copyright notice appear in all copies and that both that
201.1Scgd * copyright notice and this permission notice appear in supporting
211.1Scgd * documentation, and that the name of Digital Equipment Corporation not be
221.1Scgd * used in advertising or publicity pertaining to distribution of the software
231.1Scgd * without specific, written prior permission.
241.1Scgd */
251.1Scgd
261.1Scgd/* Includes for modules implementing buttonbox stuff. */
271.1Scgd
281.1Scgd#ifndef _bboxint_h
291.1Scgd#define _bboxint_h
301.1Scgd
311.1Scgdtypedef struct _ButtonRec {
321.1Scgd    Widget	widget;		/* Widget containing this button. */
331.1Scgd    ButtonBox	buttonbox;	/* Button box containing this button. */
341.1Scgd    char	*name;		/* Name of the button. */
351.1Scgd    Widget	menu;		/* Menu widget, for menu buttons only */
361.1Scgd} ButtonRec;
371.1Scgd
381.1Scgdtypedef struct _XmhButtonBoxRec {
391.11Schristos    Widget	outer;		/* Widget containing scollbars & inner */
401.1Scgd    Widget	inner;		/* Widget containing the buttons. */
411.11Schristos    Scrn	scrn;		/* Scrn containing this button box. */
421.11Schristos    int		numbuttons;	/* How many buttons in this box. */
431.1Scgd    Button	*button;	/* Array of pointers to buttons. */
441.1Scgd} ButtonBoxRec;
451.1Scgd
461.9Scgd#endif /* _bboxint_h */
471.9Scgd