749N/A/*
749N/A * $XConsortium: SmeP.h,v 1.4 89/12/11 15:20:22 kit Exp $
749N/A *
749N/A * Copyright 1989 Massachusetts Institute of Technology
749N/A *
749N/A * Permission to use, copy, modify, distribute, and sell this software and its
749N/A * documentation for any purpose is hereby granted without fee, provided that
749N/A * the above copyright notice appear in all copies and that both that
749N/A * copyright notice and this permission notice appear in supporting
749N/A * documentation, and that the name of M.I.T. not be used in advertising or
749N/A * publicity pertaining to distribution of the software without specific,
749N/A * written prior permission. M.I.T. makes no representations about the
749N/A * suitability of this software for any purpose. It is provided "as is"
749N/A * without express or implied warranty.
749N/A *
749N/A * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
749N/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
749N/A * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
749N/A * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
749N/A * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
749N/A * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
749N/A */
749N/A
749N/A/*
749N/A * SmeP.h - Private Header file for Sme object.
749N/A *
749N/A * This is the private header file for the Athena Sme object.
749N/A * This object is intended to be used with the simple menu widget.
749N/A *
749N/A * Date: April 3, 1989
749N/A *
749N/A * By: Chris D. Peterson
749N/A * MIT X Consortium
749N/A * kit@expo.lcs.mit.edu
749N/A */
749N/A
749N/A#ifndef _XawSmeP_h
749N/A#define _XawSmeP_h
749N/A
749N/A/***********************************************************************
749N/A *
749N/A * Sme Widget Private Data
749N/A *
749N/A ***********************************************************************/
749N/A
749N/A#include <X11/RectObjP.h>
749N/A#include <./Xaw3_1Sme.h>
749N/A
749N/A/************************************************************
749N/A *
749N/A * New fields for the Sme widget class record.
749N/A *
749N/A ************************************************************/
749N/A
749N/Atypedef struct _SmeClassPart {
749N/A void (*highlight)();
749N/A void (*unhighlight)();
749N/A void (*notify)();
749N/A XtPointer extension;
749N/A} SmeClassPart;
749N/A
749N/A/* Full class record declaration */
749N/Atypedef struct _SmeClassRec {
749N/A RectObjClassPart rect_class;
749N/A SmeClassPart sme_class;
749N/A} SmeClassRec;
749N/A
749N/Aextern SmeClassRec smeClassRec;
749N/A
749N/A/* New fields for the Sme widget record */
749N/Atypedef struct {
749N/A /* resources */
749N/A XtCallbackList callbacks; /* The callback list */
749N/A
749N/A} SmePart;
749N/A
749N/A/****************************************************************
749N/A *
749N/A * Full instance record declaration
749N/A *
749N/A ****************************************************************/
749N/A
749N/Atypedef struct _SmeRec {
749N/A ObjectPart object;
749N/A RectObjPart rectangle;
749N/A SmePart sme;
749N/A} SmeRec;
749N/A
749N/A/************************************************************
749N/A *
749N/A * Private declarations.
749N/A *
749N/A ************************************************************/
749N/A
749N/Atypedef void (*_XawEntryVoidFunc)();
749N/A
749N/A#define XtInheritHighlight ((_XawEntryVoidFunc) _XtInherit)
749N/A#define XtInheritUnhighlight XtInheritHighlight
749N/A#define XtInheritNotify XtInheritHighlight
749N/A
749N/A#endif /* _XawSmeP_h */