rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1Command.h
blobb6c00372dbde4fcd8c8837431eab30ee7245de5c
1 /*
2 * $XConsortium: Command.h,v 1.26 89/10/03 14:51:22 kit Exp $
3 */
6 /***********************************************************
7 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
8 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
10 All Rights Reserved
12 Permission to use, copy, modify, and distribute this software and its
13 documentation for any purpose and without fee is hereby granted,
14 provided that the above copyright notice appear in all copies and that
15 both that copyright notice and this permission notice appear in
16 supporting documentation, and that the names of Digital or MIT not be
17 used in advertising or publicity pertaining to distribution of the
18 software without specific, written prior permission.
20 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
26 SOFTWARE.
28 ******************************************************************/
30 #ifndef _XawCommand_h
31 #define _XawCommand_h
33 /***********************************************************************
35 * Command Widget
37 ***********************************************************************/
39 #include <./Xaw3_1Label.h>
41 /* Resources:
43 Name Class RepType Default Value
44 ---- ----- ------- -------------
45 background Background Pixel XtDefaultBackground
46 bitmap Pixmap Pixmap None
47 border BorderColor Pixel XtDefaultForeground
48 borderWidth BorderWidth Dimension 1
49 callback Callback Pointer NULL
50 cursor Cursor Cursor None
51 destroyCallback Callback Pointer NULL
52 font Font XFontStruct* XtDefaultFont
53 foreground Foreground Pixel XtDefaultForeground
54 height Height Dimension text height
55 highlightThickness Thickness Dimension 2
56 insensitiveBorder Insensitive Pixmap Gray
57 internalHeight Height Dimension 2
58 internalWidth Width Dimension 4
59 justify Justify XtJustify XtJustifyCenter
60 label Label String NULL
61 mappedWhenManaged MappedWhenManaged Boolean True
62 resize Resize Boolean True
63 sensitive Sensitive Boolean True
64 width Width Dimension text width
65 x Position Position 0
66 y Position Position 0
70 #define XtNhighlightThickness "highlightThickness"
72 #define XtNshapeStyle "shapeStyle"
73 #define XtCShapeStyle "ShapeStyle"
74 #define XtRShapeStyle "ShapeStyle"
75 #define XtNcornerRoundPercent "cornerRoundPercent"
76 #define XtCCornerRoundPercent "CornerRoundPercent"
78 #define XawShapeRectangle XmuShapeRectangle
79 #define XawShapeOval XmuShapeOval
80 #define XawShapeEllipse XmuShapeEllipse
81 #define XawShapeRoundedRectangle XmuShapeRoundedRectangle
83 extern WidgetClass commandWidgetClass;
85 typedef struct _CommandClassRec *CommandWidgetClass;
86 typedef struct _CommandRec *CommandWidget;
89 #endif /* _XawCommand_h */
90 /* DON'T ADD STUFF AFTER THIS */