|
|
1.1 root 1: /* $Header: Command.h,v 1.1 87/09/11 07:59:20 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 _XtCommand_h
30: #define _XtCommand_h
31:
32: /***********************************************************************
33: *
34: * Command Button 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 XtNx "x"
49: #define XtNy "y"
50: #define XtNborderWidth "borderWidth"
51: #define XtNwidth "width"
52: #define XtNheight "height"
53: #define XtNinternalWidth "internalWidth"
54: #define XtNinternalHeight "internalHeight"
55: #define XtNlabel "label"
56: #define XtNforeground "foreground"
57: #define XtNbackground "background"
58: #define XtNborder "border"
59: #define XtNfont "font"
60: #define XtNjustify "justify"
61: #define XtNfunction "function"
62: #define XtNparameter "parameter"
63: #define XtNsensitive "sensitive"
64: #define XtNeventBindings "eventBindings"
65:
66: extern Window XtCommandCreate(); /* dpy, parent, args, argCount */
67: /* Display *dpy; */
68: /* Window parent; */
69: /* ArgList args; */
70: /* int argCount; */
71:
72: extern void XtCommandSetValues(); /* dpy, window, args, argCount */
73: /* Display *dpy; */
74: /* Window window; */
75: /* ArgList args; */
76: /* int argCount; */
77:
78: extern void XtCommandGetValues(); /* dpy, window, args, argCount */
79: /* Display *dpy; */
80: /* Window window; */
81: /* ArgList args; */
82: /* int argCount; */
83:
84:
85: #endif _XtCommand_h
86: /* 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.