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