2 * $XConsortium: Command.h,v 1.26 89/10/03 14:51:22 kit Exp $
6 /***********************************************************
7 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
8 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
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
28 ******************************************************************/
33 /***********************************************************************
37 ***********************************************************************/
39 #include <./Xaw3_1Label.h>
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
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 */