home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / stex2-18.zip / SeeTeX / Xtex / EzMenuP.h < prev    next >
C/C++ Source or Header  |  1991-02-19  |  2KB  |  70 lines

  1. /*
  2.  * $XConsortium: EzMenP.h,v 1.12 89/12/11 15:01:39 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. /*
  26.  * EzMenuP.h - Private Header file for EzMenu widget.
  27.  *
  28.  * Date:    April 3, 1989
  29.  *
  30.  * By:      Chris D. Peterson
  31.  *          MIT X Consortium
  32.  *          kit@expo.lcs.mit.edu
  33.  */
  34.  
  35. #ifndef _EzMenuP_h
  36. #define _EzMenuP_h
  37.  
  38. #include <X11/Xaw/SimpleMenP.h>
  39. #include "EzMenu.h"
  40.  
  41. typedef struct {
  42.     XtPointer extension;        /* For future needs. */
  43. } EzMenuClassPart;
  44.  
  45. typedef struct _EzMenuClassRec {
  46.   CoreClassPart              core_class;
  47.   CompositeClassPart      composite_class;
  48.   ShellClassPart          shell_class;
  49.   OverrideShellClassPart  override_shell_class;
  50.   SimpleMenuClassPart      simpleMenu_class;
  51.   EzMenuClassPart      ezMenu_class;
  52. } EzMenuClassRec;
  53.  
  54. extern EzMenuClassRec ezMenuClassRec;
  55.  
  56. typedef struct _EzMenuPart {
  57.     char *menu;
  58. } EzMenuPart;
  59.  
  60. typedef struct _EzMenuRec {
  61.   CorePart        core;
  62.   CompositePart     composite;
  63.   ShellPart             shell;
  64.   OverrideShellPart     override;
  65.   SimpleMenuPart    simple_menu;
  66.   EzMenuPart    ez_menu;
  67. } EzMenuRec;
  68.  
  69. #endif /* _EzMenuP_h */
  70.