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 / CMSColor.h < prev    next >
C/C++ Source or Header  |  1991-08-28  |  2KB  |  56 lines

  1. /*
  2.  * (c) Copyright 1989 1990 1991 Tektronix Inc.
  3.  *     All Rights Reserved
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software and its
  6.  * documentation for any purpose and without fee is hereby granted,
  7.  * provided that the above copyright notice appear in all copies and that
  8.  * both that copyright notice and this permission notice appear in
  9.  * supporting documentation, and that the name of Tektronix not be used
  10.  * in advertising or publicity pertaining to distribution of the software
  11.  * without specific, written prior permission.
  12.  *
  13.  * Tektronix disclaims all warranties with regard to this software, including
  14.  * all implied warranties of merchantability and fitness, in no event shall
  15.  * Tektronix be liable for any special, indirect or consequential damages or
  16.  * any damages whatsoever resulting from loss of use, data or profits,
  17.  * whether in an action of contract, negligence or other tortious action,
  18.  * arising out of or in connection with the use or performance of this
  19.  * software.
  20.  *
  21.  *    NAME
  22.  *        CMSColor.h -- this has some defines for color exchange
  23.  *
  24.  *    DESCRIPTION
  25.  *        
  26.  *
  27.  *    HISTORY
  28.  *
  29.  *    HISTORY END
  30.  *
  31.  */
  32.  
  33. #ifndef LINT
  34. #ifdef RCS_ID
  35. static char *rcsid=  "$Header: CMSColor.h,v 1.1 91/08/22 11:11:51 adamsc Exp $";
  36. #endif /* RCS_ID */
  37. #endif /* LINT */
  38.  
  39. #ifndef _CMSColor_h
  40. #define _CMSColor_h
  41.  
  42. #define CMS_SelectionName    "_CMS_EDITED_COLORMAP"
  43. #define CMS_MessageName        "_CMS_CHANGE_COLOR"
  44. #define CMS_Status        "_CMS_COLOR"
  45. #define CMS_Colormap        "COLORMAP"
  46.  
  47. typedef struct {
  48.     long    when;    /* Time */
  49.     long    min;    /* Pixel minimum */
  50.     long    max;    /* Pixel maximum */
  51.     long    x_root;    /* x location of pixel selected */
  52.     long    y_root;    /* y location of pixel selected */
  53. } CmsChange;
  54.  
  55. #endif /* _CMSColor_h */
  56.