rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1Label.h
blob70b36732133fdc2202c108323e6cd9aa7554c038
1 /*
2 * $XConsortium: Label.h,v 1.24 89/07/21 01:48:51 kit Exp $
3 */
5 /***********************************************************
6 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
7 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
9 All Rights Reserved
11 Permission to use, copy, modify, and distribute this software and its
12 documentation for any purpose and without fee is hereby granted,
13 provided that the above copyright notice appear in all copies and that
14 both that copyright notice and this permission notice appear in
15 supporting documentation, and that the names of Digital or MIT not be
16 used in advertising or publicity pertaining to distribution of the
17 software without specific, written prior permission.
19 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
20 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
21 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
22 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
23 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
24 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
25 SOFTWARE.
27 ******************************************************************/
29 #ifndef _XawLabel_h
30 #define _XawLabel_h
32 /***********************************************************************
34 * Label Widget
36 ***********************************************************************/
38 #include <./Xaw3_1Simple.h>
39 #include <X11/Xmu/Converters.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 cursor Cursor Cursor None
50 destroyCallback Callback XtCallbackList NULL
51 font Font XFontStruct* XtDefaultFont
52 foreground Foreground Pixel XtDefaultForeground
53 height Height Dimension text height
54 insensitiveBorder Insensitive Pixmap Gray
55 internalHeight Height Dimension 2
56 internalWidth Width Dimension 4
57 justify Justify XtJustify XtJustifyCenter
58 label Label String NULL
59 mappedWhenManaged MappedWhenManaged Boolean True
60 resize Resize Boolean True
61 sensitive Sensitive Boolean True
62 width Width Dimension text width
63 x Position Position 0
64 y Position Position 0
68 #define XtNbitmap "bitmap"
69 #define XtNforeground "foreground"
70 #define XtNlabel "label"
71 #define XtNfont "font"
72 #define XtNinternalWidth "internalWidth"
73 #define XtNinternalHeight "internalHeight"
74 #define XtNresize "resize"
75 #define XtCResize "Resize"
77 #define XtCBitmap "Bitmap"
79 /* Class record constants */
81 extern WidgetClass labelWidgetClass;
83 typedef struct _LabelClassRec *LabelWidgetClass;
84 typedef struct _LabelRec *LabelWidget;
86 #endif /* _XawLabel_h */
87 /* DON'T ADD STUFF AFTER THIS #endif */