Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:26:36

0001 /*
0002  *
0003 Copyright 1989, 1994, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024  */
0025 
0026 /*
0027  * This is the private header file for the Athena Sme object.
0028  * This object is intended to be used with the simple menu widget.
0029  *
0030  * Date:    April 3, 1989
0031  *
0032  * By:      Chris D. Peterson
0033  *          MIT X Consortium
0034  *          kit@expo.lcs.mit.edu
0035  */
0036 
0037 #ifndef _XawSmeP_h
0038 #define _XawSmeP_h
0039 
0040 /*
0041  * Sme Widget Private Data
0042  */
0043 #include <X11/Xfuncproto.h>
0044 
0045 #include <X11/Xaw/Sme.h>
0046 
0047 _XFUNCPROTOBEGIN
0048 
0049 /* New fields for the Sme widget class */
0050 typedef struct _SmeClassPart {
0051     XtWidgetProc highlight;
0052     XtWidgetProc unhighlight;
0053     XtWidgetProc notify;
0054     XtPointer    extension;
0055 } SmeClassPart;
0056 
0057 /* Full class record */
0058 typedef struct _SmeClassRec {
0059     RectObjClassPart    rect_class;
0060     SmeClassPart    sme_class;
0061 } SmeClassRec;
0062 
0063 extern SmeClassRec smeClassRec;
0064 
0065 /* New fields for the Sme widget */
0066 typedef struct {
0067     /* resources */
0068     XtCallbackList callbacks;
0069     Boolean international;
0070 #ifndef OLDXAW
0071     XtPointer pad[4];   /* for future use and keep binary compatibility */
0072 #endif
0073 } SmePart;
0074 
0075 /* Full instance record */
0076 typedef struct _SmeRec {
0077     ObjectPart  object;
0078     RectObjPart rectangle;
0079     SmePart sme;
0080 } SmeRec;
0081 
0082 #define XtInheritHighlight  ((XtWidgetProc)_XtInherit)
0083 #define XtInheritUnhighlight XtInheritHighlight
0084 #define XtInheritNotify      XtInheritHighlight
0085 
0086 _XFUNCPROTOEND
0087 
0088 #endif /* _XawSmeP_h */