home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / os2plug.exe / SAMPLE / NPDRAW / draw.h next >
Text File  |  1996-11-14  |  1KB  |  31 lines

  1. /***************************************************************************
  2.  *
  3.  * File name   :  draw.h
  4.  *
  5.  *  Copyright (C) 1996 IBM Corporation
  6.  *
  7.  *      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  8.  *      sample code created by IBM Corporation. This sample code is not
  9.  *      part of any standard or IBM product and is provided to you solely
  10.  *      for  the purpose of assisting you in the development of your
  11.  *      applications.  The code is provided "AS IS", without
  12.  *      warranty of any kind.  IBM shall not be liable for any damages
  13.  *      arising out of your use of the sample code, even if they have been
  14.  *      advised of the possibility of such damages.
  15.  *
  16.  ***************************************************************************/
  17.  
  18. #define NUM_COLORS 15
  19. #define MAX_X 100  // all coordinates are normalized to 0-99
  20. #define MAX_Y 100
  21.  
  22. #define POLYGON_TYPES 3
  23.  
  24. #define TYPE_WIDTH 1
  25. #define COLOR_WIDTH 5
  26. #define COORD_WIDTH 4
  27.  
  28. #define TOTAL_WIDTH   (TYPE_WIDTH + COLOR_WIDTH + 4 * COORD_WIDTH + 2)
  29.  
  30. #define DELAY 1
  31.