home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / winsrc.zip / WINFRACT.H < prev    next >
Text File  |  1990-12-20  |  7KB  |  228 lines

  1. /* file menu items */
  2.  
  3. #define     IDM_NEW      100
  4. #define     IDM_OPEN     101
  5. #define     IDM_SAVE     102
  6. #define     IDM_SAVEAS   103
  7. #define     IDM_PRINT    104
  8. #define     IDM_MAPIN    115
  9. #define     IDM_MAPOUT   116
  10. #define     IDM_3D       113
  11. #define     IDM_3DOVER   114
  12. #define     IDM_EXIT     105
  13. #define     IDM_ABOUT    106
  14. #define     IDM_COPY     117
  15. #define     IDM_HELP_INDEX     107
  16. #define     IDM_HELP_KEYBOARD  108
  17. #define     IDM_HELP_HELP      109
  18. #define     ID_VERSION         110
  19. #define     ID_COMMENT         111
  20. #define     ID_FILETITLE       112
  21. #define     ID_LISTTITLE       112
  22.  
  23. /* Math Tools */
  24. #define     IDM_MATH_TOOLS    1001
  25. #define     IDM_COORD         1002
  26.  
  27. /* fractal image stuff */
  28.  
  29. #define     IDM_SIZE1    151
  30. #define     IDM_SIZE2    152
  31. #define     IDM_SIZE3    153
  32. #define     IDM_SIZE4    154
  33. #define     IDM_ITER1    161
  34. #define     IDM_ITER2    162
  35. #define     IDM_ITER3    163
  36.  
  37. /* fractal formula stuff */
  38.  
  39. #define     IDM_FRACTAL  171
  40. #define     IDM_FORMULA  172
  41. #define     IDM_IMAGE    173
  42. #define     IDM_DOODADS  174
  43. #define     IDM_CYCLE    175
  44.  
  45. #define        ID_FRACNAME    200
  46. #define        ID_FRACPARAM1  201
  47. #define        ID_FRACPARAM2  202
  48. #define        ID_FRACPARAM3  203
  49. #define        ID_FRACPARAM4  204
  50. #define        ID_FRACPARTX1  205
  51. #define        ID_FRACPARTX2  206
  52. #define        ID_FRACPARTX3  207
  53. #define        ID_FRACPARTX4  208
  54. #define        ID_FRACXMIN    211
  55. #define        ID_FRACXMAX    212
  56. #define        ID_FRACYMIN    213
  57. #define        ID_FRACYMAX    214
  58.  
  59. /* window sizing stuff */
  60.  
  61. #define     ID_ISIZE       250
  62. #define     ID_ISIZE1      251
  63. #define     ID_ISIZE2      252
  64. #define     ID_ISIZE3      253
  65. #define     ID_ISIZE4      254
  66. #define     ID_ISIZE5      255
  67. #define     ID_ISIZE6      256
  68. #define     ID_ISIZE7      257
  69. #define     ID_ISIZE8      258
  70. #define     ID_ISIZEX      259
  71. #define     ID_ISIZEY      260
  72. #define     ID_ICOLORS     270
  73. #define     ID_ICOLORS1    271
  74. #define     ID_ICOLORS2    272
  75. #define     ID_ICOLORS3    273
  76.  
  77. /* options and doodads menu */
  78.  
  79. #define     ID_DEBUGFLAG   290
  80. #define     ID_PASS        300
  81. #define     ID_PASS1       301
  82. #define     ID_PASS2       302
  83. #define     ID_PASSS       303
  84. #define     ID_PASSB       304
  85. #define     ID_MATH        305
  86. #define     ID_MATHI       306
  87. #define     ID_MATHF       307
  88. #define     ID_MAXIT       310
  89. #define     ID_BIOMORPH    311
  90. #define     ID_DECOMP      312
  91. #define     ID_INSIDE      313
  92. #define     ID_OUTSIDE     314
  93. #define     ID_INVERT      315
  94.  
  95. /* Color-Cycling stuff */
  96.  
  97. #define     ID_CYCLEOFF    330
  98. #define     ID_CYCLEON     331
  99. #define     ID_CYCLEOUT    332
  100. #define     ID_CYCLEIN     333
  101. #define     ID_CYCLESTAT   334
  102. #define     ID_CYCLECHG    335
  103. #define     ID_CYCLELOW    336
  104. #define     ID_CYCLEMED    337
  105. #define     ID_CYCLEHIGH   338
  106.  
  107. /* 3D stuff */
  108. #define     ID_PREVIEW     201
  109. #define     ID_SHOWBOX     202
  110. #define     ID_SPHERICAL   203
  111. #define     ID_PREVIEWFACTOR 204
  112. #define     ID_STEREO1     205
  113. #define     ID_STEREO2     206
  114. #define     ID_STEREO3     207
  115. #define     ID_STEREO4     208
  116. #define     ID_FILL1       211
  117. #define     ID_FILL2       212
  118. #define     ID_FILL3       213
  119. #define     ID_FILL4       214
  120. #define     ID_FILL5       215
  121. #define     ID_FILL6       216
  122. #define     ID_FILL7       217
  123. #define     ID_FILL8       218
  124.  
  125. #define     ID_ANS1        201
  126. #define     ID_ANS2        202
  127. #define     ID_ANS3        203
  128. #define     ID_ANS4        204
  129. #define     ID_ANS5        205
  130. #define     ID_ANS6        206
  131. #define     ID_ANS7        207
  132. #define     ID_ANS8        208
  133. #define     ID_ANS9        209
  134. #define     ID_ANS10       210
  135. #define     ID_ANS11       211
  136. #define     ID_ANS12       212
  137. #define     ID_ANS13       213
  138. #define     ID_ANS14       214
  139. #define     ID_ANS15       215
  140.  
  141. /* generic fullscreen stuff */
  142.  
  143. #define     ID_PROMPT00    300
  144. #define     ID_PROMPT01    301
  145. #define     ID_PROMPT02    302
  146. #define     ID_PROMPT03    303
  147. #define     ID_PROMPT04    304
  148. #define     ID_PROMPT05    305
  149. #define     ID_PROMPT06    306
  150. #define     ID_PROMPT07    307
  151. #define     ID_PROMPT08    308
  152. #define     ID_PROMPT09    309
  153. #define     ID_PROMPT10    310
  154. #define     ID_PROMPT11    311
  155. #define     ID_PROMPT12    312
  156. #define     ID_PROMPT13    313
  157. #define     ID_PROMPT14    314
  158. #define     ID_PROMPT15    315
  159. #define     ID_PROMPT16    316
  160. #define     ID_PROMPT17    317
  161. #define     ID_PROMPT18    318
  162. #define     ID_PROMPT19    319
  163. #define     ID_ANSWER01    321
  164. #define     ID_ANSWER02    322
  165. #define     ID_ANSWER03    323
  166. #define     ID_ANSWER04    324
  167. #define     ID_ANSWER05    325
  168. #define     ID_ANSWER06    326
  169. #define     ID_ANSWER07    327
  170. #define     ID_ANSWER08    328
  171. #define     ID_ANSWER09    329
  172. #define     ID_ANSWER10    330
  173. #define     ID_ANSWER11    331
  174. #define     ID_ANSWER12    332
  175. #define     ID_ANSWER13    333
  176. #define     ID_ANSWER14    334
  177. #define     ID_ANSWER15    335
  178. #define     ID_ANSWER16    336
  179. #define     ID_ANSWER17    337
  180. #define     ID_ANSWER18    338
  181. #define     ID_ANSWER19    339
  182.  
  183.  
  184. /* status box */
  185.  
  186. #define     IDS_STATUS    340
  187. #define     IDS_LINE1     341
  188. #define     IDS_LINE2     342
  189. #define     IDS_LINE3     343
  190. #define     IDS_LINE4     344
  191. #define     IDS_LINE5     345
  192. #define     IDS_LINE6     346
  193. #define     IDS_LINE7     347
  194. #define     IDS_LINE8     348
  195. #define     IDS_LINE9     349
  196.  
  197. /* Control IDs */
  198.  
  199. #define     IDC_FILENAME  400
  200. #define     IDC_EDIT      401
  201. #define     IDC_FILES     402
  202. #define     IDC_PATH      403
  203. #define     IDC_LISTBOX   404
  204.  
  205. int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
  206. BOOL InitApplication(HANDLE);
  207. BOOL InitInstance(HANDLE, int);
  208. long FAR PASCAL MainWndProc(HWND, unsigned, WORD, LONG);
  209. BOOL FAR PASCAL About(HWND, unsigned, WORD, LONG);
  210. BOOL FAR PASCAL HelpBox(HWND, unsigned, WORD, LONG);
  211. BOOL FAR PASCAL SaveAsDlg(HWND, unsigned, WORD, LONG);
  212. BOOL FAR PASCAL SelectFractal(HWND, unsigned, WORD, LONG);
  213. BOOL FAR PASCAL SelectFracParams(HWND, unsigned, WORD, LONG);
  214. BOOL FAR PASCAL SelectImage(HWND, unsigned, WORD, LONG);
  215. BOOL FAR PASCAL SelectDoodads(HWND, unsigned, WORD, LONG);
  216. BOOL FAR PASCAL SelectCycle(HWND, unsigned, WORD, LONG);
  217. BOOL FAR PASCAL Select3D(HWND, unsigned, WORD, LONG);
  218. BOOL FAR PASCAL Select3DPlanar(HWND, unsigned, WORD, LONG);
  219. BOOL FAR PASCAL Select3DSpherical(HWND, unsigned, WORD, LONG);
  220. BOOL FAR PASCAL SelectFullScreen(HWND, unsigned, WORD, LONG);
  221. BOOL FAR PASCAL Status(HWND, unsigned, WORD, LONG);
  222. HANDLE FAR PASCAL OpenDlg(HWND, unsigned, WORD, LONG);
  223. void SeparateFile(HWND, LPSTR, LPSTR, LPSTR);
  224. void UpdateListBox(HWND);
  225. void AddExt(PSTR, PSTR);
  226. void ChangeDefExt(PSTR, PSTR);
  227. HDC PASCAL GetPrinterDC();
  228.