1 /* $XConsortium: bboxint.h,v 2.10 89/09/15 16:10:22 converse Exp $
2  *
3  *			  COPYRIGHT 1987
4  *		   DIGITAL EQUIPMENT CORPORATION
5  *		       MAYNARD, MASSACHUSETTS
6  *			ALL RIGHTS RESERVED.
7  *
8  * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
9  * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
10  * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR
11  * ANY PURPOSE.  IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
12  *
13  * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
14  * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
15  * ADDITION TO THAT SET FORTH ABOVE.
16  *
17  * Permission to use, copy, modify, and distribute this software and its
18  * documentation for any purpose and without fee is hereby granted, provided
19  * that the above copyright notice appear in all copies and that both that
20  * copyright notice and this permission notice appear in supporting
21  * documentation, and that the name of Digital Equipment Corporation not be
22  * used in advertising or publicity pertaining to distribution of the software
23  * without specific, written prior permission.
24  */
25 
26 /* Includes for modules implementing buttonbox stuff. */
27 
28 #ifndef _bboxint_h
29 #define _bboxint_h
30 
31 typedef struct _ButtonRec {
32     Widget	widget;		/* Widget containing this button. */
33     ButtonBox	buttonbox;	/* Button box containing this button. */
34     char	*name;		/* Name of the button. */
35     Widget	menu;		/* Menu widget, for menu buttons only */
36 } ButtonRec;
37 
38 typedef struct _XmhButtonBoxRec {
39     Widget	outer;		/* Widget containing scollbars & inner */
40     Widget	inner;		/* Widget containing the buttons. */
41     Scrn	scrn;		/* Scrn containing this button box. */
42     int		numbuttons;	/* How many buttons in this box. */
43     Button	*button;	/* Array of pointers to buttons. */
44 } ButtonBoxRec;
45 
46 #endif /* _bboxint_h */
47