home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d502 / cells.lha / CELLS / CELLSSource.lzh / cReqNP.h < prev    next >
C/C++ Source or Header  |  1991-04-20  |  1KB  |  47 lines

  1. /*
  2.  *  CELLS       An Implementation of the WireWorld cellular automata
  3.  *              as described in Scientific American, Jan 1990.
  4.  *
  5.  *              Copyright 1990 by Davide P. Cervone.
  6.  *  You may use this code, provided this copyright notice is kept intact.
  7.  *  See the CELLS.HELP file for complete information on distribution conditions.
  8.  */
  9.  
  10. /*
  11.  *  File:  cReqNP.h             Defines for the New Part requester
  12.  */
  13.  
  14.  
  15. #define NP_CANCEL   0
  16. #define NP_OK       1
  17. #define NP_NAME     2
  18.  
  19. #define NPB_PANEL   0
  20. #define NPB_FRAME   2
  21. #define NPB_BOX     4
  22. #define NPB_BUTTON  6
  23.  
  24. #define NPT_CANCEL  0
  25. #define NPT_OK      1
  26. #define NPT_TITLE   2
  27.  
  28. #define NP_PANELW   102
  29. #define NP_PANELH   47
  30.  
  31. #define NP_FRAMEX   3
  32. #define NP_FRAMEY   11
  33. #define NP_FRAMEW   (NP_PANELW-6)
  34. #define NP_FRAMEH   (NP_PANELH-14)
  35.  
  36. #define NP_BOXX     (NP_FRAMEX+3)
  37. #define NP_BOXY     (NP_FRAMEY+3)
  38. #define NP_BOXW     (NP_FRAMEW-6)
  39. #define NP_BOXH     TEXTH
  40.  
  41. #define NP_BUTTONX  NP_BOXX
  42. #define NP_BUTTONY  (NP_BOXY+NP_BOXH+2)
  43. #define NP_BUTTONW  45
  44. #define NP_BUTTONH  (TEXTH+1)
  45.  
  46. extern struct ExtRequest NPRequest;
  47.