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 / VShell.h < prev    next >
C/C++ Source or Header  |  1991-08-28  |  4KB  |  112 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.  *        VShell.h -- definitions for the visualShell widget
  63.  *
  64.  *    DESCRIPTION
  65.  *        
  66.  *
  67.  *    HISTORY
  68.  *
  69.  *    HISTORY END
  70.  *
  71.  */
  72.  
  73. #ifndef _VShell_h
  74. #define _VShell_h
  75.  
  76. #include "xticiSD.h"
  77.  
  78. /****************************************************************
  79.  *
  80.  * Visual shell widget
  81.  *
  82.  ****************************************************************/
  83.  
  84. /* Resources:
  85.  
  86.  Name             Class        RepType        Default Value
  87.  ----             -----        -------        -------------
  88.  visual             Visual        Visual *    CopyFromParent
  89.  
  90.     Visual resource is used only at realization time.  Ignored otherwise.
  91.  
  92. */
  93.  
  94. /* declare specific VisualShellWidget class and instance datatypes */
  95.  
  96. typedef struct _VisualShellClassRec    *VisualShellWidgetClass;
  97.  
  98. /* declare the class constant */
  99.  
  100. extern WidgetClass visualShellWidgetClass;
  101.  
  102. /* ifndef for Fast Subclassing  */
  103. #ifndef IsVisualShell
  104. #define IsVisualShell(w)  XtIsSubclass(w, visualShellWidgetClass)
  105. #endif  /* IsVisualShell */
  106.  
  107. extern Widget GetVisualShellWidget();
  108. extern int GetVisualClass();
  109. extern int GetColormapSize();
  110.  
  111. #endif /* _VShell_h */
  112.