|
1 /* |
|
2 * $XConsortium: Sme.h,v 1.4 89/12/11 15:20:09 kit Exp $ |
|
3 * |
|
4 * Copyright 1989 Massachusetts Institute of Technology |
|
5 * |
|
6 * Permission to use, copy, modify, distribute, and sell this software and its |
|
7 * documentation for any purpose is hereby granted without fee, provided that |
|
8 * the above copyright notice appear in all copies and that both that |
|
9 * copyright notice and this permission notice appear in supporting |
|
10 * documentation, and that the name of M.I.T. not be used in advertising or |
|
11 * publicity pertaining to distribution of the software without specific, |
|
12 * written prior permission. M.I.T. makes no representations about the |
|
13 * suitability of this software for any purpose. It is provided "as is" |
|
14 * without express or implied warranty. |
|
15 * |
|
16 * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL |
|
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T. |
|
18 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
|
19 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
|
20 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
|
21 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
22 */ |
|
23 |
|
24 /* |
|
25 * Sme.h - Public Header file for Sme object. |
|
26 * |
|
27 * This is the public header file for the Athena Sme object. |
|
28 * It is intended to be used with the simple menu widget. |
|
29 * |
|
30 * Date: April 3, 1989 |
|
31 * |
|
32 * By: Chris D. Peterson |
|
33 * MIT X Consortium |
|
34 * [email protected] |
|
35 */ |
|
36 |
|
37 #ifndef _Sme_h |
|
38 #define _Sme_h |
|
39 |
|
40 #include <X11/RectObj.h> |
|
41 |
|
42 /**************************************************************** |
|
43 * |
|
44 * Sme Object |
|
45 * |
|
46 ****************************************************************/ |
|
47 |
|
48 /* Simple Menu Entry Resources: |
|
49 |
|
50 Name Class RepType Default Value |
|
51 ---- ----- ------- ------------- |
|
52 callback Callback Pointer NULL |
|
53 destroyCallback Callback Pointer NULL |
|
54 height Height Dimension 0 |
|
55 sensitive Sensitive Boolean True |
|
56 width Width Dimension 0 |
|
57 x Position Position 0n |
|
58 y Position Position 0 |
|
59 |
|
60 */ |
|
61 |
|
62 typedef struct _SmeClassRec* SmeObjectClass; |
|
63 typedef struct _SmeRec* SmeObject; |
|
64 |
|
65 extern WidgetClass smeObjectClass; |
|
66 |
|
67 #endif /* _Sme_h */ |