1 /***********************************************************
2 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
3 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
7 Permission to use, copy, modify, and distribute this software and its
8 documentation for any purpose and without fee is hereby granted,
9 provided that the above copyright notice appear in all copies and that
10 both that copyright notice and this permission notice appear in
11 supporting documentation, and that the names of Digital or MIT not be
12 used in advertising or publicity pertaining to distribution of the
13 software without specific, written prior permission.
15 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
16 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
17 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
18 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
19 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
20 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
23 ******************************************************************/
26 * Modifications for Wine
28 * 8/23/93 David Metcalfe (david@prism.demon.co.uk)
29 * Added code to translate ampersand to underlined char
31 * 8/27/93 David Metcalfe (david@prism.demon.co.uk)
32 * Converted to WinLabel
38 /***********************************************************************
42 ***********************************************************************/
44 #include <X11/Xaw/Simple.h>
48 Name Class RepType Default Value
49 ---- ----- ------- -------------
50 background Background Pixel XtDefaultBackground
51 bitmap Pixmap Pixmap None
52 border BorderColor Pixel XtDefaultForeground
53 borderWidth BorderWidth Dimension 1
54 cursor Cursor Cursor None
55 cursorName Cursor String NULL
56 destroyCallback Callback XtCallbackList NULL
57 encoding Encoding unsigned char XawTextEncoding8bit
58 font Font XFontStruct* XtDefaultFont
59 foreground Foreground Pixel XtDefaultForeground
60 height Height Dimension text height
61 insensitiveBorder Insensitive Pixmap Gray
62 internalHeight Height Dimension 2
63 internalWidth Width Dimension 4
64 justify Justify XtJustify XtJustifyCenter
65 label Label String NULL
66 leftBitmap LeftBitmap Pixmap None
67 mappedWhenManaged MappedWhenManaged Boolean True
68 pointerColor Foreground Pixel XtDefaultForeground
69 pointerColorBackground Background Pixel XtDefaultBackground
70 resize Resize Boolean True
71 sensitive Sensitive Boolean True
72 width Width Dimension text width
78 #define XawTextEncoding8bit 0
79 #define XawTextEncodingChar2b 1
81 #define XtNleftBitmap "leftBitmap"
82 #define XtCLeftBitmap "LeftBitmap"
83 #define XtNencoding "encoding"
84 #define XtCEncoding "Encoding"
86 #ifndef _XtStringDefs_h_
87 #define XtNbitmap "bitmap"
88 #define XtNforeground "foreground"
89 #define XtNlabel "label"
90 #define XtNfont "font"
91 #define XtNinternalWidth "internalWidth"
92 #define XtNinternalHeight "internalHeight"
93 #define XtNresize "resize"
94 #define XtCResize "Resize"
95 #define XtCBitmap "Bitmap"
98 /* Class record constants */
100 extern WidgetClass winLabelWidgetClass;
102 typedef struct _WinLabelClassRec *WinLabelWidgetClass;
103 typedef struct _WinLabelRec *WinLabelWidget;
105 #endif /* _WinLabel_h */
106 /* DON'T ADD STUFF AFTER THIS #endif */