rebuild geeqie
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1SmeBSB.h
blob9ea719672f076afdf12480c02363543b18845d83
1 /*
2 * $XConsortium: SmeBSB.h,v 1.5 89/12/11 15:20:14 kit Exp $
4 * Copyright 1989 Massachusetts Institute of Technology
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of M.I.T. not be used in advertising or
11 * publicity pertaining to distribution of the software without specific,
12 * written prior permission. M.I.T. makes no representations about the
13 * suitability of this software for any purpose. It is provided "as is"
14 * without express or implied warranty.
16 * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
18 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
20 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
21 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
25 * SmeBSB.h - Public Header file for SmeBSB object.
27 * This is the public header file for the Athena BSB Sme object.
28 * It is intended to be used with the simple menu widget. This object
29 * provides bitmap - string - bitmap style entries.
31 * Date: April 3, 1989
33 * By: Chris D. Peterson
34 * MIT X Consortium
35 * kit@expo.lcs.mit.edu
38 #ifndef _SmeBSB_h
39 #define _SmeBSB_h
41 #include <X11/Xmu/Converters.h>
43 #include <./Xaw3_1Sme.h>
45 /****************************************************************
47 * SmeBSB object
49 ****************************************************************/
51 /* BSB Menu Entry Resources:
53 Name Class RepType Default Value
54 ---- ----- ------- -------------
55 callback Callback Callback NULL
56 destroyCallback Callback Pointer NULL
57 font Font XFontStruct * XtDefaultFont
58 foreground Foreground Pixel XtDefaultForeground
59 height Height Dimension 0
60 label Label String Name of entry
61 leftBitmap LeftBitmap Pixmap None
62 leftMargin HorizontalMargins Dimension 4
63 rightBitmap RightBitmap Pixmap None
64 rightMargin HorizontalMargins Dimension 4
65 sensitive Sensitive Boolean True
66 vertSpace VertSpace int 25
67 width Width Dimension 0
68 x Position Position 0n
69 y Position Position 0
73 typedef struct _SmeBSBClassRec *SmeBSBObjectClass;
74 typedef struct _SmeBSBRec *SmeBSBObject;
76 extern WidgetClass smeBSBObjectClass;
78 #define XtNleftBitmap "leftBitmap"
79 #define XtNleftMargin "leftMargin"
80 #define XtNrightBitmap "rightBitmap"
81 #define XtNrightMargin "rightMargin"
82 #define XtNvertSpace "vertSpace"
84 #define XtCLeftBitmap "LeftBitmap"
85 #define XtCHorizontalMargins "HorizontalMargins"
86 #define XtCRightBitmap "RightBitmap"
87 #define XtCVertSpace "VertSpace"
89 #endif /* _SmeBSB_h */