home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / System / Swatch / Development / swatch 1.2 / swatch.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-25  |  1.1 KB  |  64 lines  |  [TEXT/KAHL]

  1. /**
  2.  
  3.     swatch.h
  4.     Copyright (c) 1990, Adobe Systems, Inc.
  5.  
  6.  **/
  7.  
  8.  
  9. #ifndef _H_SWATCH
  10. #define _H_SWATCH
  11.  
  12. #include <ctypes.h>
  13.  
  14. /*******************************************************************************
  15.  **
  16.  **    Public Macros
  17.  **
  18.  **/
  19.  
  20.  
  21. /*******************************************************************************
  22.  **
  23.  **    Public Constants
  24.  **
  25.  **/
  26.  
  27. #define BLACK_COLOR                0
  28. #define WHITE_COLOR                1
  29. #define HEADER_COLOR            2
  30. #define HEADER_BORDER_COLOR        3
  31. #define NAME_COLOR                4
  32. #define SIZE_COLOR                5
  33. #define HEAP_BORDER_COLOR        6
  34. #define HEAP_FREE_COLOR            7
  35. #define HEAP_LOCKED_COLOR        8
  36. #define HEAP_UNLOCKED_COLOR        9
  37. #define FREE_COLOR                10
  38. #define BACK_COLOR                11
  39. #define HEAP_PURGEABLE_COLOR    12
  40.  
  41.  
  42. /*******************************************************************************
  43.  **
  44.  **    Public Variables
  45.  **
  46.  **/
  47.  
  48. extern SysEnvRec This_mac;
  49. extern Boolean Use_color;
  50. extern Boolean Pre_system_7;
  51.  
  52.  
  53. /*******************************************************************************
  54.  **
  55.  **    Public Functions
  56.  **
  57.  **/
  58.  
  59. void set_fore_color_or_pattern( int16 color );
  60. void set_fore_color( int16 color );
  61. void set_back_color( int16 color );
  62.  
  63. #endif  /* ifndef _H_SWATCH */
  64.