home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / clients / xcmsdb / SCCDFile.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-14  |  3.2 KB  |  106 lines

  1. /*
  2.  * (c) Copyright 1990 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.  *
  22.  *    NAME
  23.  *        SCCDFile.h
  24.  *
  25.  *    DESCRIPTION
  26.  *        Include file for TekCMS Color Extension when using the
  27.  *        X Device Color Characterization Convention (XDCCC).
  28.  *
  29.  *    REVISION
  30.  *        $Header: SCCDFile.h,v 1.3 91/05/14 15:00:27 dave Exp $
  31.  */
  32. #ifndef SCCDFILE_H
  33. #define SCCDFILE_H
  34.  
  35. #include <X11/Xcms.h>
  36.  
  37. /*
  38.  *    DEFINES
  39.  */
  40.  
  41. #define    READABLE_SD_SUFFIX        ".txt"
  42. #define TXT_FORMAT_VERSION        "0.3"
  43.  
  44. #define    DATA_DELIMS            " "    /* space */
  45.  
  46. #define SC_BEGIN_KEYWORD        "SCREENDATA_BEGIN"
  47. #define SC_END_KEYWORD            "SCREENDATA_END"
  48. #define COMMENT_KEYWORD            "COMMENT"
  49. #define NAME_KEYWORD            "NAME"
  50. #define MODEL_KEYWORD            "MODEL"
  51. #define PART_NUMBER_KEYWORD        "PART_NUMBER"
  52. #define SERIAL_NUMBER_KEYWORD        "SERIAL_NUMBER"
  53. #define REVISION_KEYWORD        "REVISION"
  54. #define SCREEN_CLASS_KEYWORD        "SCREEN_CLASS"
  55. #define COLORIMETRIC_BEGIN_KEYWORD    "COLORIMETRIC_BEGIN"
  56. #define COLORIMETRIC_END_KEYWORD    "COLORIMETRIC_END"
  57. #define XYZTORGBMAT_BEGIN_KEYWORD    "XYZtoRGB_MATRIX_BEGIN"
  58. #define XYZTORGBMAT_END_KEYWORD        "XYZtoRGB_MATRIX_END"
  59. #define RGBTOXYZMAT_BEGIN_KEYWORD    "RGBtoXYZ_MATRIX_BEGIN"
  60. #define RGBTOXYZMAT_END_KEYWORD        "RGBtoXYZ_MATRIX_END"
  61. #define IPROFILE_BEGIN_KEYWORD        "INTENSITY_PROFILE_BEGIN"
  62. #define IPROFILE_END_KEYWORD        "INTENSITY_PROFILE_END"
  63. #define ITBL_BEGIN_KEYWORD        "INTENSITY_TBL_BEGIN"
  64. #define ITBL_END_KEYWORD        "INTENSITY_TBL_END"
  65.  
  66. #define WHITEPT_XYZ_BEGIN_KEYWORD    "WHITEPT_XYZ_BEGIN"
  67. #define WHITEPT_XYZ_END_KEYWORD        "WHITEPT_XYZ_END"
  68.  
  69. #define VIDEO_RGB_KEYWORD        "VIDEO_RGB"
  70. #ifdef GRAY
  71. #define VIDEO_GRAY_KEYWORD        "VIDEO_GRAY"
  72. #endif
  73.  
  74. #define DATA                -1
  75. #define SC_BEGIN            1
  76. #define SC_END                2
  77. #define COMMENT                3
  78. #define NAME                4
  79. #define MODEL                5
  80. #define PART_NUMBER            6
  81. #define SERIAL_NUMBER            7
  82. #define REVISION            8
  83. #define SCREEN_CLASS            9
  84. #define COLORIMETRIC_BEGIN        10
  85. #define COLORIMETRIC_END        11
  86. #define XYZTORGBMAT_BEGIN        12
  87. #define XYZTORGBMAT_END            13
  88. #define RGBTOXYZMAT_BEGIN        14
  89. #define RGBTOXYZMAT_END            15
  90. #define IPROFILE_BEGIN            16
  91. #define IPROFILE_END            17
  92. #define ITBL_BEGIN            18
  93. #define ITBL_END            19
  94. #define WHITEPT_XYZ_BEGIN        20
  95. #define WHITEPT_XYZ_END            21
  96.  
  97. #define CORR_TYPE_NONE  -1
  98. #define CORR_TYPE_0    0
  99. #define CORR_TYPE_1    1
  100.  
  101. #define VIDEO_RGB    0
  102. #ifdef GRAY
  103. #define VIDEO_GRAY    1
  104. #endif
  105. #endif /* SCCDFILE_H */
  106.