1 | /* |
---|
2 | * (from) $XConsortium: Sme.h,v 1.4 89/12/11 15:20:09 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 | * Cme.h - Public Header file for Cme object. |
---|
33 | * (from) Sme.h - Public Header file for Sme object. |
---|
34 | * |
---|
35 | * This is the public header file for the Athena Cme 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 _Cme_h |
---|
46 | #define _Cme_h |
---|
47 | |
---|
48 | #include <X11/RectObj.h> |
---|
49 | |
---|
50 | /**************************************************************** |
---|
51 | * |
---|
52 | * Cme Object |
---|
53 | * |
---|
54 | ****************************************************************/ |
---|
55 | |
---|
56 | /* Complex Menu Entry Resources: |
---|
57 | |
---|
58 | Name Class RepType Default Value |
---|
59 | ---- ----- ------- ------------- |
---|
60 | callback Callback Pointer NULL |
---|
61 | destroyCallback Callback Pointer NULL |
---|
62 | height Height Dimension 0 |
---|
63 | sensitive Sensitive Boolean True |
---|
64 | width Width Dimension 0 |
---|
65 | x Position Position 0n |
---|
66 | y Position Position 0 |
---|
67 | |
---|
68 | */ |
---|
69 | |
---|
70 | typedef struct _CmeClassRec* CmeObjectClass; |
---|
71 | typedef struct _CmeRec* CmeObject; |
---|
72 | |
---|
73 | extern WidgetClass cmeObjectClass; |
---|
74 | |
---|
75 | #endif /* _Cme_h */ |
---|