home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Code Resources / ColourBlock CDEF 1.1.1 / ColourBlock.h < prev   
Encoding:
C/C++ Source or Header  |  1995-05-17  |  843 b   |  46 lines  |  [TEXT/CWIE]

  1. /*    NAME:
  2.         ColourBlock.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant
  6.         dair@kagi.com
  7.                 
  8.     DESCRIPTION:
  9.         Header file for ColourBlock.c.
  10.  
  11.     ___________________________________________________________________________
  12. */
  13. #ifndef __COLOURBLOCK__
  14. #define __COLOURBLOCK__
  15. //=============================================================================
  16. //        Defines                                                                 
  17. //-----------------------------------------------------------------------------
  18. #ifndef PackRGB
  19. #define PackRGB(col, r, g, b)        col.red=r; col.green=g; col.blue=b
  20. #endif
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36. //=============================================================================
  37. //        Structures                                                                 
  38. //-----------------------------------------------------------------------------
  39. #pragma once
  40. typedef struct {
  41.     RGBColor    blockColour;
  42. } CDEFStruct, *CDEFStructPtr, **CDEFStructHnd;
  43.  
  44.  
  45. #endif
  46.