Label.h revision 749
2N/A/* $XConsortium: Label.h,v 1.34 94/04/17 20:12:13 rws Exp $ */
2N/A
2N/A/***********************************************************
2N/A
2N/ACopyright (c) 1987, 1988, 1994 X Consortium
2N/A
2N/APermission is hereby granted, free of charge, to any person obtaining a copy
2N/Aof this software and associated documentation files (the "Software"), to deal
2N/Ain the Software without restriction, including without limitation the rights
2N/Ato use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2N/Acopies of the Software, and to permit persons to whom the Software is
2N/Afurnished to do so, subject to the following conditions:
2N/A
2N/AThe above copyright notice and this permission notice shall be included in
2N/Aall copies or substantial portions of the Software.
2N/A
2N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2N/AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2N/AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2N/AX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
2N/AAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2N/ACONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2N/A
2N/AExcept as contained in this notice, the name of the X Consortium shall not be
2N/Aused in advertising or otherwise to promote the sale, use or other dealings
2N/Ain this Software without prior written authorization from the X Consortium.
2N/A
2N/A
2N/ACopyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
2N/A
2N/A All Rights Reserved
2N/A
2N/APermission to use, copy, modify, and distribute this software and its
2N/Adocumentation for any purpose and without fee is hereby granted,
2N/Aprovided that the above copyright notice appear in all copies and that
2N/Aboth that copyright notice and this permission notice appear in
2N/Asupporting documentation, and that the name of Digital not be
2N/Aused in advertising or publicity pertaining to distribution of the
2N/Asoftware without specific, written prior permission.
2N/A
2N/ADIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
2N/AALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
2N/ADIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
2N/AANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
2N/AWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
2N/AARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
2N/ASOFTWARE.
2N/A
2N/A******************************************************************/
2N/A
2N/A#ifndef _XawLabel_h
2N/A#define _XawLabel_h
2N/A
2N/A/***********************************************************************
2N/A *
2N/A * Label Widget
2N/A *
2N/A ***********************************************************************/
2N/A
2N/A#include <X11/Xaw/Simple.h>
2N/A
2N/A/* Resources:
2N/A
2N/A Name Class RepType Default Value
2N/A ---- ----- ------- -------------
2N/A background Background Pixel XtDefaultBackground
2N/A bitmap Pixmap Pixmap None
2N/A border BorderColor Pixel XtDefaultForeground
2N/A borderWidth BorderWidth Dimension 1
2N/A cursor Cursor Cursor None
2N/A cursorName Cursor String NULL
2N/A destroyCallback Callback XtCallbackList NULL
2N/A encoding Encoding unsigned char XawTextEncoding8bit
2N/A font Font XFontStruct* XtDefaultFont
2N/A foreground Foreground Pixel XtDefaultForeground
2N/A height Height Dimension text height
2N/A insensitiveBorder Insensitive Pixmap Gray
2N/A internalHeight Height Dimension 2
2N/A internalWidth Width Dimension 4
2N/A justify Justify XtJustify XtJustifyCenter
2N/A label Label String NULL
2N/A leftBitmap LeftBitmap Pixmap None
mappedWhenManaged MappedWhenManaged Boolean True
pointerColor Foreground Pixel XtDefaultForeground
pointerColorBackground Background Pixel XtDefaultBackground
resize Resize Boolean True
sensitive Sensitive Boolean True
width Width Dimension text width
x Position Position 0
y Position Position 0
*/
#define XawTextEncoding8bit 0
#define XawTextEncodingChar2b 1
#define XtNleftBitmap "leftBitmap"
#define XtCLeftBitmap "LeftBitmap"
#define XtNencoding "encoding"
#define XtCEncoding "Encoding"
#ifndef XtNfontSet
#define XtNfontSet "fontSet"
#endif
#ifndef XtCFontSet
#define XtCFontSet "FontSet"
#endif
#ifndef _XtStringDefs_h_
#define XtNbitmap "bitmap"
#define XtNforeground "foreground"
#define XtNlabel "label"
#define XtNfont "font"
#define XtNinternalWidth "internalWidth"
#define XtNinternalHeight "internalHeight"
#define XtNresize "resize"
#define XtCResize "Resize"
#define XtCBitmap "Bitmap"
#endif
/* Class record constants */
extern WidgetClass labelWidgetClass;
typedef struct _LabelClassRec *LabelWidgetClass;
typedef struct _LabelRec *LabelWidget;
#endif /* _XawLabel_h */