1c9e2be55Smrg/* $XConsortium: bbox.h,v 2.12 91/07/10 19:34:09 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 * 18c9e2be55Smrg * Permission to use, copy, modify, and distribute this software and its 19c9e2be55Smrg * documentation for any purpose and without fee is hereby granted, provided 20c9e2be55Smrg * that the above copyright notice appear in all copies and that both that 21c9e2be55Smrg * copyright notice and this permission notice appear in supporting documen- 22c9e2be55Smrg * tation, and that the name of Digital Equipment Corporation not be used in 23c9e2be55Smrg * advertising or publicity pertaining to distribution of the software without 24c9e2be55Smrg * specific, written prior permission. 25c9e2be55Smrg */ 26c9e2be55Smrg/* $XFree86$ */ 27c9e2be55Smrg 28c9e2be55Smrg#ifndef _bbox_h 29c9e2be55Smrg#define _bbox_h 30c9e2be55Smrg 31c9e2be55Smrg /* for radio button boxes only */ 32c9e2be55Smrg 3366d665a3Smrgextern ButtonBox RadioBBoxCreate (Scrn, const char *); 3466d665a3Smrgextern void RadioBBoxAddButton (ButtonBox, const char *, Boolean); 35c9e2be55Smrgextern void RadioBBoxSet (Button); 36c9e2be55Smrgextern char * RadioBBoxGetCurrent (ButtonBox); 37c9e2be55Smrgextern void RadioBBoxDeleteButton(Button); 38c9e2be55Smrg 39c9e2be55Smrg /* for other kinds of button boxes */ 40c9e2be55Smrg 4166d665a3Smrgextern ButtonBox BBoxCreate (Scrn, const char *); 4266d665a3Smrgextern void BBoxAddButton (ButtonBox, const char *, WidgetClass, Boolean); 43c9e2be55Smrgextern void BBoxDeleteButton (Button); 44c9e2be55Smrg 45c9e2be55Smrg /* for all kinds of button boxes */ 46c9e2be55Smrg 47c9e2be55Smrgextern void BBoxInit (void); 48c9e2be55Smrgextern void BBoxEnable (Button); 49c9e2be55Smrgextern void BBoxDisable (Button); 5066d665a3Smrgextern Button BBoxFindButtonNamed (ButtonBox, const char *); 51c9e2be55Smrgextern Button BBoxFindButton (ButtonBox, Widget); 52c9e2be55Smrgextern Button BBoxButtonNumber (ButtonBox, int); 53c9e2be55Smrgextern int BBoxNumButtons (ButtonBox); 54c9e2be55Smrgextern char * BBoxNameOfButton (Button); 55c9e2be55Smrgextern Widget BBoxMenuOfButton (Button); 56c9e2be55Smrgextern void BBoxLockSize (ButtonBox); 57c9e2be55Smrgextern Boolean BBoxIsGrandparent (ButtonBox, Widget); 58c9e2be55Smrg 59c9e2be55Smrg /* operations upon folder buttons */ 60c9e2be55Smrg 6166d665a3Smrgextern void BBoxMailFlag (ButtonBox, const char*, int); 62c9e2be55Smrg 63c9e2be55Smrg#endif /* _bbox_h */ 64