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