home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xtici.zip / xtici / widgets / VShellP.h < prev    next >
C/C++ Source or Header  |  1991-08-28  |  4KB  |  119 lines

  1. /***********************************************************
  2. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  3. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  4.  
  5.                         All Rights Reserved
  6.  
  7. Permission to use, copy, modify, and distribute this software and its 
  8. documentation for any purpose and without fee is hereby granted, 
  9. provided that the above copyright notice appear in all copies and that
  10. both that copyright notice and this permission notice appear in 
  11. supporting documentation, and that the names of Digital or MIT not be
  12. used in advertising or publicity pertaining to distribution of the
  13. software without specific, written prior permission.  
  14.  
  15. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  16. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  17. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  18. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  19. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  20. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  21. SOFTWARE.
  22.  
  23. ******************************************************************/
  24.  
  25. /*
  26.  * Code and supporting documentation (c) Copyright 1990 1991 Tektronix, Inc.
  27.  *     All Rights Reserved
  28.  * 
  29.  * This file is a component of an X Window System client which uses the Xcms 
  30.  * Color Management System.  TekColor is a trademark of Tektronix, Inc.  The
  31.  * TekColor Editor is the subject of U.S. and foreign patents pending.  The
  32.  * term "TekHVC" designates a particular color space that is the subject of
  33.  * U.S. Patent No. 4,985,853 (equivalent foreign patents pending).
  34.  * Permission is hereby granted to use, copy, modify, sell, and otherwise
  35.  * distribute this software and its documentation for the X Window System
  36.  * environment, for any purpose and without fee, provided that:
  37.  * 
  38.  * 1.    The code and documentation are only used to implement a 
  39.  *      TekColor Editor in an X Window System environment; and
  40.  * 2.    This copyright and permission notice is reproduced in all copies
  41.  *     of the code and in supporting documentation.
  42.  * 
  43.  * Permission is granted to modify this code as required to allow it to
  44.  * be compiled on any host computer, provided that the functionality of
  45.  * the TekColor Editor is not modified in any way.  A description of any 
  46.  * modifications must be sent to Tektronix, Inc.  Contact 
  47.  * Tektronix Inc., P.O. Box 1000, Mail Station 60-850, 
  48.  * Network Displays Division Engineering, Wilsonville, OR 97070.
  49.  * 
  50.  * Tektronix makes no representation about the suitability of this software
  51.  * for any purpose.  It is provided "as is" and with all faults.
  52.  * 
  53.  * TEKTRONIX DISCLAIMS ALL WARRANTIES APPLICABLE TO THIS SOFTWARE,
  54.  * INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  55.  * PARTICULAR PURPOSE.  IN NO EVENT SHALL TEKTRONIX BE LIABLE FOR ANY
  56.  * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
  57.  * RESULTING FROM LOSS OF USE, DATA, OR PROFITS, WHETHER IN AN ACTION OF
  58.  * CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  59.  * CONNECTION WITH THE USE OR THE PERFORMANCE OF THIS SOFTWARE.
  60.  * 
  61.  *    NAME
  62.  *        VShellP.h -- definitions for visualShell widget
  63.  *
  64.  *    DESCRIPTION
  65.  *        
  66.  *
  67.  *    HISTORY
  68.  *
  69.  *    HISTORY END
  70.  *
  71.  */
  72.  
  73. #ifndef _VShellP_h
  74. #define _VShellP_h
  75.  
  76. #include "VShell.h"
  77.  
  78. #include <X11/IntrinsicP.h>
  79. #include <X11/CoreP.h>
  80. #include <X11/Composite.h>
  81. /* include superclass private header file */
  82. #include <X11/ShellP.h>
  83.  
  84. typedef struct {
  85.     XtPointer extension;
  86. } VisualShellClassPart;
  87.  
  88. typedef struct _VisualShellClassRec {
  89.     CoreClassPart    core_class;
  90.     CompositeClassPart composite_class;
  91.     ShellClassPart  shell_class;
  92.     WMShellClassPart   wm_shell_class;
  93.     VendorShellClassPart vendor_shell_class;
  94.     TopLevelShellClassPart top_level_shell_class;
  95.     ApplicationShellClassPart application_shell_class;
  96.     VisualShellClassPart    visual_shell_class;
  97. } VisualShellClassRec;
  98.  
  99. extern VisualShellClassRec visualShellClassRec;
  100.  
  101. typedef struct {
  102.     /* resources */
  103.     Visual *vis;
  104.     /* private state */
  105. } VisualShellPart;
  106.  
  107. typedef struct _VisualShellRec {
  108.     CorePart        core;
  109.     CompositePart     composite;
  110.     ShellPart     shell;
  111.     WMShellPart    wm;
  112.     VendorShellPart    vendor;
  113.     TopLevelShellPart topLevel;
  114.     ApplicationShellPart application;
  115.     VisualShellPart    visual;
  116. } VisualShellRec, *VisualShellWidget;
  117.  
  118. #endif  /* _VShellP_h */
  119.