home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / fractz / fractz.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-17  |  3.9 KB  |  119 lines

  1.  
  2. /*+--------------------------------------------------------------------------+*/
  3. /*| Menu item identifiers.                                                   |*/
  4. /*+--------------------------------------------------------------------------+*/
  5.  
  6. #define DLG_ADVANCED         3
  7. #define IDM_EXIT             257
  8. #define IDM_EXITPROG         258
  9. #define IDM_RESUME           259
  10. #define IDM_RESET           400
  11. #define IDM_SAVE            410
  12. #define IDM_VIEW            420
  13. #define IDM_UNVIEW          430
  14. #define IDM_FRACTYPE        2000
  15. #define IDM_MANDEL          2001
  16. #define IDM_LAMBDA          2002
  17. #define IDM_CMPLXNEWT       2003
  18. #define IDM_JULIA1          2004
  19. #define IDM_CMPLXMAN        2005
  20. #define IDM_MAGNETJ1        2007
  21. #define IDM_TETRATION       2008
  22. #define IDM_SPIDER          2009
  23.  
  24. #define IDM_DISPLAY         1001
  25. #define IDM_ORBIT           1002
  26. #define IDM_IMAGE           1003
  27. #define IDM_FIXCOLORS       1101
  28. #define IDM_CHANGECOLORS    1102
  29.  
  30. #define IDM_SETUP           1200
  31.  
  32. #define IDM_SETTINGS        1300
  33.  
  34. #define IDM_MAP             1400
  35. #define IDM_DEFAULT         1410
  36. #define IDM_ALTERN          1415
  37. #define IDM_BLUES           1420
  38. #define IDM_CHROMA          1430
  39. #define IDM_DARKGREY        1435
  40. #define IDM_FIRESTRM        1440
  41. #define IDM_GAMMA1          1445
  42. #define IDM_GAMMA2          1446
  43. #define IDM_GREEN           1450
  44. #define IDM_GREY            1455
  45. #define IDM_LANDSCAP        1457
  46. #define IDM_NEON            1460
  47. #define IDM_PAINTJET        1465
  48. #define IDM_ROYAL           1470
  49. #define IDM_TOPO            1480
  50. #define IDM_VOLCANO         1490
  51. #define IDM_RANDOM          1498
  52. #define IDM_COMPLEMENT      1499
  53.  
  54. #define IDD_HELP             260
  55. #define IDM_HELP             261
  56. #define IDM_HELPINSTRUCTIONS 262
  57. #define IDM_HELPABOUT        263
  58.  
  59. /*+--------------------------------------------------------------------------+*/
  60. /*| String identifiers.                                                      |*/
  61. /*+--------------------------------------------------------------------------+*/
  62.  
  63. #define IDS_APPNAME          0
  64. #define IDS_NOREGISTER       1
  65. #define IDS_NOSTDWINDOWS     2
  66. #define IDS_NOTHREAD         3
  67. #define IDS_SEMERROR         4
  68. #define IDS_FAILOPEN         5
  69. #define IDS_FAILCREATE       6
  70.  
  71. /*+--------------------------------------------------------------------------+*/
  72. /*| Resource identifiers.                                                    |*/
  73. /*+--------------------------------------------------------------------------+*/
  74.  
  75. #define ID_NULL              9999
  76. #define ID_WINDOW            256
  77.  
  78. #define  DLG_SETTINGS    20
  79. #define  DLG_REALTITLE  101
  80. #define  DLG_IMAGTITLE  102
  81. #define  DLG_REALNO     103
  82. #define  DLG_IMAGNO     104
  83. #define  DLG_XLEFT      201
  84. #define  DLG_XRIGHT     202
  85. #define  DLG_YBOTTOM    203
  86. #define  DLG_YTOP       204
  87. #define  DLG_MAXITER    301
  88. #define  DLG_BAILOUT    302
  89. #define  DLG_FRACTNAME  400
  90. #define  DLG_FORMULA    401
  91. #define  DLG_EXAMPLEPERTS  402
  92.  
  93.  
  94. #define  DLGA_THREED       521
  95. #define  DLGA_USEPOTENTIAL 522
  96. #define  DLGA_MAXHT        523
  97. #define  DLGA_ALPHA        524
  98. #define  DLGA_BETA         525
  99. #define  DLGA_PHI          526
  100. #define  DLGA_INSIDECOLOR  527
  101. #define  DLG_AUTOSCALE     529
  102. #define  DLG_AUTOYES       530
  103. #define  DLG_AUTONO        531
  104.  
  105. #define DLG_SPHERICAL       631
  106. #define DLG_180               632
  107. #define DLG_360               633
  108. #define DLG_SPHERERAD      634
  109.  
  110. /*+--------------------------------------------------------------------------+*/
  111. /*| Macro constants.                                                         |*/
  112. /*+--------------------------------------------------------------------------+*/
  113.  
  114. #define INSTRUCTIONS "LMB down and drag to form zoom box, LMB double click restarts.  RMB click starts a JULIA at the mouse (x,y)."
  115.  
  116. #define WM_USER_END_THREAD WM_USER+1  // paint thread end message
  117. #define WM_USER_REPAINT    WM_USER+2  // paint thread repaint message
  118.  
  119.