glslang: add 14.3.0
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1MenuButton.h
blob04bf4b49cdf0061d00d93b2ea6ef9cb15ad0fc50
1 /*
2 * $XConsortium: MenuButton.h,v 1.7 89/12/11 14:57:44 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.
24 /***********************************************************************
26 * MenuButton Widget
28 ***********************************************************************/
31 * MenuButton.h - Public Header file for MenuButton widget.
33 * This is the public header file for the Athena MenuButton widget.
34 * It is intended to provide an easy method of activating pulldown menus.
36 * Date: May 2, 1989
38 * By: Chris D. Peterson
39 * MIT X Consortium
40 * kit@expo.lcs.mit.edu
43 #ifndef _XawMenuButton_h
44 #define _XawMenuButton_h
46 #include <./Xaw3_1Command.h>
48 /* Resources:
50 Name Class RepType Default Value
51 ---- ----- ------- -------------
52 background Background Pixel XtDefaultBackground
53 bitmap Pixmap Pixmap None
54 border BorderColor Pixel XtDefaultForeground
55 borderWidth BorderWidth Dimension 1
56 callback Callback Pointer NULL
57 cursor Cursor Cursor None
58 destroyCallback Callback Pointer NULL
59 font Font XFontStruct* XtDefaultFont
60 foreground Foreground Pixel XtDefaultForeground
61 height Height Dimension text height
62 highlightThickness Thickness Dimension 2
63 insensitiveBorder Insensitive Pixmap Gray
64 internalHeight Height Dimension 2
65 internalWidth Width Dimension 4
66 justify Justify XtJustify XtJustifyCenter
67 label Label String NULL
68 mappedWhenManaged MappedWhenManaged Boolean True
69 menuName MenuName String "menu"
70 resize Resize Boolean True
71 sensitive Sensitive Boolean True
72 width Width Dimension text width
73 x Position Position 0
74 y Position Position 0
78 #define XtNmenuName "menuName"
79 #define XtCMenuName "MenuName"
81 extern WidgetClass menuButtonWidgetClass;
83 typedef struct _MenuButtonClassRec *MenuButtonWidgetClass;
84 typedef struct _MenuButtonRec *MenuButtonWidget;
86 #endif /* _XawMenuButton_h -- DON'T ADD STUFF AFTER THIS */