home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d502 / cells.lha / CELLS / CELLSSource.lzh / cError.h < prev    next >
Text File  |  1991-04-20  |  1KB  |  62 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:  cError.h         Defines for Error requester
  12.  */
  13.  
  14.  
  15. /*
  16.  *  Gadget IDs
  17.  */
  18.  
  19. #define ER_OK       100
  20. #define ER_YES      101
  21. #define ER_NO       102
  22.  
  23. /*
  24.  *  Array positions
  25.  */
  26.  
  27. #define ERB_PANEL   0
  28. #define ERB_FRAME   2
  29. #define ERB_BUTTON  4
  30.  
  31. #define ERT_OK      0
  32. #define ERT_TITLE   1
  33. #define ERT_MESS1   2
  34. #define ERT_MESS2   3
  35. #define ERT_YES     4
  36. #define ERT_NO      5
  37.  
  38. /*
  39.  * Sizes and positions
  40.  */
  41.  
  42. #define ER_PANELW   196
  43. #define ER_PANELH   58
  44.  
  45. #define ER_FRAMEX   3
  46. #define ER_FRAMEY   11
  47. #define ER_FRAMEW   (ER_PANELW-6)
  48. #define ER_FRAMEH   (ER_PANELH-14)
  49.  
  50. #define ER_MESS1Y   (ER_FRAMEY+7)
  51. #define ER_MESS2Y   (ER_MESS1Y+11)
  52. #define ER_MESSY    (ER_FRAMEY+10)
  53.  
  54. #define ER_TITLEX   9
  55. #define ER_TITLEY   2
  56. #define ERRORPEN    HIGHLIGHT
  57.  
  58. #define ER_BUTTONX  (ER_PANELW-ER_BUTTONW-6)
  59. #define ER_BUTTONY  (ER_PANELH-ER_BUTTONH-6)
  60. #define ER_BUTTONW  25
  61. #define ER_BUTTONH  (TEXTH+2)
  62.