1 | /* |
---|
2 | * (from) $XConsortium: SmeLine.h,v 1.3 89/12/11 15:20:19 kit Exp $ |
---|
3 | * |
---|
4 | * Modifications Copyright 1995 by Paul Mattes. |
---|
5 | * Permission to use, copy, modify, and distribute this software and its |
---|
6 | * documentation for any purpose and without fee is hereby granted, |
---|
7 | * provided that the above copyright notice appear in all copies and that |
---|
8 | * both that copyright notice and this permission notice appear in |
---|
9 | * supporting documentation. |
---|
10 | * |
---|
11 | * Copyright 1989 Massachusetts Institute of Technology |
---|
12 | * |
---|
13 | * Permission to use, copy, modify, distribute, and sell this software and its |
---|
14 | * documentation for any purpose is hereby granted without fee, provided that |
---|
15 | * the above copyright notice appear in all copies and that both that |
---|
16 | * copyright notice and this permission notice appear in supporting |
---|
17 | * documentation, and that the name of M.I.T. not be used in advertising or |
---|
18 | * publicity pertaining to distribution of the software without specific, |
---|
19 | * written prior permission. M.I.T. makes no representations about the |
---|
20 | * suitability of this software for any purpose. It is provided "as is" |
---|
21 | * without express or implied warranty. |
---|
22 | * |
---|
23 | * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL |
---|
24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T. |
---|
25 | * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
---|
26 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
---|
27 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
---|
28 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
---|
29 | */ |
---|
30 | |
---|
31 | /* |
---|
32 | * CmeLine.h - Public Header file for CmeLine object. |
---|
33 | * (from) SmeLine.h - Public Header file for SmeLine object. |
---|
34 | * |
---|
35 | * This is the public header file for the Athena CmeLine object. |
---|
36 | * It is intended to be used with the complex menu widget. |
---|
37 | * |
---|
38 | * Date: April 3, 1989 |
---|
39 | * |
---|
40 | * By: Chris D. Peterson |
---|
41 | * MIT X Consortium |
---|
42 | * kit@expo.lcs.mit.edu |
---|
43 | */ |
---|
44 | |
---|
45 | #ifndef _CmeLine_h |
---|
46 | #define _CmeLine_h |
---|
47 | |
---|
48 | #include "Cme.h" |
---|
49 | #include <X11/Xmu/Converters.h> |
---|
50 | |
---|
51 | /**************************************************************** |
---|
52 | * |
---|
53 | * CmeLine Object |
---|
54 | * |
---|
55 | ****************************************************************/ |
---|
56 | |
---|
57 | /* Menu Entry Resources: |
---|
58 | |
---|
59 | Name Class RepType Default Value |
---|
60 | ---- ----- ------- ------------- |
---|
61 | callback Callback Pointer NULL |
---|
62 | destroyCallback Callback Pointer NULL |
---|
63 | height Height Dimension 0 |
---|
64 | sensitive Sensitive Boolean True |
---|
65 | width Width Dimension 0 |
---|
66 | x Position Position 0n |
---|
67 | y Position Position 0 |
---|
68 | |
---|
69 | */ |
---|
70 | |
---|
71 | #define XtCLineWidth "LineWidth" |
---|
72 | #define XtCStipple "Stipple" |
---|
73 | |
---|
74 | #define XtNlineWidth "lineWidth" |
---|
75 | #define XtNstipple "stipple" |
---|
76 | |
---|
77 | typedef struct _CmeLineClassRec* CmeLineObjectClass; |
---|
78 | typedef struct _CmeLineRec* CmeLineObject; |
---|
79 | |
---|
80 | extern WidgetClass cmeLineObjectClass; |
---|
81 | |
---|
82 | #endif /* _CmeLine_h */ |
---|