|
|
1.1 root 1: /* $Header: Label.h,v 1.1 87/09/11 08:00:07 toddb Exp $ */
2: /*
3: * sccsid: %W% %G%
4: */
5:
6: /*
7: * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
8: *
9: * All Rights Reserved
10: *
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 name of Digital Equipment
16: * Corporation not be used in advertising or publicity pertaining to
17: * distribution of the software without specific, written prior permission.
18: *
19: *
20: * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21: * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22: * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23: * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24: * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25: * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
26: * SOFTWARE.
27: */
28:
29: #ifndef _XtLabel_h
30: #define _XtLabel_h
31:
32: /***********************************************************************
33: *
34: * Label Widget
35: *
36: ***********************************************************************/
37:
38: #ifndef _XtJustify_e
39: #define _XtJustify_e
40: typedef enum {
41: XtjustifyLeft, /* justify text to left side of button */
42: XtjustifyCenter, /* justify text in center of button */
43: XtjustifyRight /* justify text to right side of button */
44: } XtJustify;
45: #endif _XtJustify_e
46:
47: #define XtNwindow "window"
48: #define XtNborderWidth "borderWidth"
49: #define XtNjustify "justify"
50: #define XtNlabel "label"
51: #define XtNborder "border"
52: #define XtNforeground "foreground"
53: #define XtNbackground "background"
54: #define XtNfont "font"
55: #define XtNinternalWidth "internalWidth"
56: #define XtNinternalHeight "internalHeight"
57: #define XtNwidth "width"
58: #define XtNheight "height"
59:
60: extern Window XtLabelCreate(); /* dpy, parent, args, argCount */
61: /* Display dpy; */
62: /* Window parent; */
63: /* ArgList args; */
64: /* int argCount; */
65:
66: extern void XtLabelSetValues(); /* dpy, window, args, argCount */
67: /* Display *dpy; */
68: /* Window window; */
69: /* ArgList args; */
70: /* int argCount; */
71:
72: extern void XtLabelGetValues(); /* dpy, window, args, argCount */
73: /* Display *dpy; */
74: /* Window window; */
75: /* ArgList args; */
76: /* int argCount; */
77:
78: #endif _XtLabel_h
79: /* 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.