|
|
1.1 ! root 1: /* ! 2: * $Header: Label.h,v 1.8 87/09/11 21:21:47 haynes Rel $ ! 3: */ ! 4: ! 5: /* ! 6: * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. ! 7: * ! 8: * All Rights Reserved ! 9: * ! 10: * Permission to use, copy, modify, and distribute this software and its ! 11: * documentation for any purpose and without fee is hereby granted, ! 12: * provided that the above copyright notice appear in all copies and that ! 13: * both that copyright notice and this permission notice appear in ! 14: * supporting documentation, and that the name of Digital Equipment ! 15: * Corporation not be used in advertising or publicity pertaining to ! 16: * distribution of the software without specific, written prior permission. ! 17: * ! 18: * ! 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. ! 26: */ ! 27: #ifndef _XtLabel_h ! 28: #define _XtLabel_h ! 29: ! 30: /*********************************************************************** ! 31: * ! 32: * Label Widget ! 33: * ! 34: ***********************************************************************/ ! 35: ! 36: #ifndef _XtJustify_e ! 37: #define _XtJustify_e ! 38: ! 39: typedef enum { ! 40: XtJustifyLeft, /* justify text to left side of button */ ! 41: XtJustifyCenter, /* justify text in center of button */ ! 42: XtJustifyRight /* justify text to right side of button */ ! 43: } XtJustify; ! 44: #endif _XtJustify_e ! 45: ! 46: #define XtNjustify "justify" ! 47: #define XtNforeground "foreground" ! 48: #define XtNlabel "label" ! 49: #define XtNfont "font" ! 50: #define XtNinternalWidth "internalWidth" ! 51: #define XtNinternalHeight "internalHeight" ! 52: ! 53: /* Class record constants */ ! 54: ! 55: extern WidgetClass labelWidgetClass; ! 56: ! 57: typedef struct _LabelClassRec *LabelWidgetClass; ! 58: typedef struct _LabelRec *LabelWidget; ! 59: ! 60: #endif _XtLabel_h ! 61: /* DON'T ADD STUFF AFTER THIS #endif */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.