Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-13 09:29:43

0001 /***********************************************************
0002 
0003 Copyright 1987, 1988, 1994, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024 
0025 
0026 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
0027 
0028                         All Rights Reserved
0029 
0030 Permission to use, copy, modify, and distribute this software and its
0031 documentation for any purpose and without fee is hereby granted,
0032 provided that the above copyright notice appear in all copies and that
0033 both that copyright notice and this permission notice appear in
0034 supporting documentation, and that the name of Digital not be
0035 used in advertising or publicity pertaining to distribution of the
0036 software without specific, written prior permission.
0037 
0038 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
0039 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
0040 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
0041 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
0042 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
0043 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
0044 SOFTWARE.
0045 
0046 ******************************************************************/
0047 
0048 #ifndef _XawLabel_h
0049 #define _XawLabel_h
0050 
0051 /*
0052  * Label Widget
0053  */
0054 
0055 #include <X11/Xaw/Simple.h>
0056 
0057 /* Resources:
0058 
0059  Name            Class      RepType     Default Value
0060  ----            -----      -------     -------------
0061  background      Background     Pixel       XtDefaultBackground
0062  bitmap          Pixmap     Pixmap      None
0063  border          BorderColor    Pixel       XtDefaultForeground
0064  borderWidth         BorderWidth    Dimension   1
0065  cursor          Cursor     Cursor      None
0066  cursorName      Cursor     String      NULL
0067  destroyCallback     Callback       XtCallbackList  NULL
0068  encoding        Encoding       UnsignedChar    XawTextEncoding8bit
0069  font            Font       XFontStruct*    XtDefaultFont
0070  foreground      Foreground     Pixel       XtDefaultForeground
0071  height          Height     Dimension   text height
0072  insensitiveBorder   Insensitive    Pixmap      Gray
0073  internalHeight      Height     Dimension   2
0074  internalWidth       Width      Dimension   4
0075  justify         Justify        XtJustify   XtJustifyCenter
0076  label           Label      String      NULL
0077  leftBitmap      LeftBitmap     Pixmap      None
0078  mappedWhenManaged   MappedWhenManaged  Boolean     True
0079  pointerColor        Foreground     Pixel       XtDefaultForeground
0080  pointerColorBackground Background  Pixel       XtDefaultBackground
0081  resize          Resize     Boolean     True
0082  sensitive       Sensitive      Boolean     True
0083  width           Width      Dimension   text width
0084  x           Position       Position    0
0085  y           Position       Position    0
0086 
0087 */
0088 
0089 #define XawTextEncoding8bit 0
0090 #define XawTextEncodingChar2b   1
0091 
0092 #define XtNleftBitmap "leftBitmap"
0093 #define XtCLeftBitmap "LeftBitmap"
0094 #define XtNencoding "encoding"
0095 #define XtCEncoding "Encoding"
0096 
0097 #ifndef XtNfontSet
0098 #define XtNfontSet "fontSet"
0099 #endif
0100 
0101 #ifndef XtCFontSet
0102 #define XtCFontSet "FontSet"
0103 #endif
0104 
0105 #ifndef _XtStringDefs_h_
0106 #define XtNbitmap "bitmap"
0107 #define XtNforeground "foreground"
0108 #define XtNlabel "label"
0109 #define XtNfont "font"
0110 #define XtNinternalWidth "internalWidth"
0111 #define XtNinternalHeight "internalHeight"
0112 #define XtNresize "resize"
0113 #define XtCResize "Resize"
0114 #define XtCBitmap "Bitmap"
0115 #endif
0116 
0117 #ifndef XtNlabelX
0118 #define XtNlabelX "labelX"
0119 #endif
0120 
0121 #ifndef XtNlabelY
0122 #define XtNlabelY "labelY"
0123 #endif
0124 
0125 /* Class record constants */
0126 
0127 extern WidgetClass labelWidgetClass;
0128 
0129 typedef struct _LabelClassRec *LabelWidgetClass;
0130 typedef struct _LabelRec      *LabelWidget;
0131 
0132 #endif /* _XawLabel_h */