home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / clients / xmag / RootWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-06  |  2.2 KB  |  62 lines

  1. /* $XConsortium: RootWindow.h,v 1.1 90/12/06 20:40:52 dave Exp $ */
  2.  
  3. /*
  4.  * Copyright 1990 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. #ifndef _RootWindow_h
  26. #define _RootWindow_h
  27.  
  28. /****************************************************************
  29.  *
  30.  * RootWindow widget
  31.  *
  32.  ****************************************************************/
  33.  
  34. /* Resources:
  35.  
  36.  Name             Class        RepType        Default Value
  37.  ----             -----        -------        -------------
  38.  background         Background        Pixel        XtDefaultBackground
  39.  border             BorderColor    Pixel        XtDefaultForeground
  40.  borderWidth         BorderWidth    Dimension    1
  41.  destroyCallback     Callback        Pointer        NULL
  42.  height             Height        Dimension    0
  43.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  44.  sensitive         Sensitive        Boolean        True
  45.  width             Width        Dimension    0
  46.  x             Position        Position    0
  47.  y             Position        Position    0
  48.  
  49. */
  50.  
  51.  
  52. /* declare specific RootWindowWidget class and instance datatypes */
  53.  
  54. typedef struct _RootWindowClassRec*    RootWindowWidgetClass;
  55. typedef struct _RootWindowRec*    RootWindowWidget;
  56.  
  57. /* declare the class constant */
  58.  
  59. extern WidgetClass rootWindowWidgetClass;
  60.  
  61. #endif /* _RootWindow_h */
  62.