home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega A/V
/
mega_av.zip
/
mega_av
/
GRAPHUTL
/
WINS1651.ZIP
/
WINFRACT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-10-31
|
7KB
|
254 lines
/* file menu items */
#define ID_CANCEL 102
#define ID_GIF89A 113
#define ID_GIF87A 114
#define ID_BMP 115
#define IDM_NEW 100
#define IDM_OPEN 101
#define IDM_SAVE 102
#define IDM_SAVEAS 103
#define IDM_PRINT 104
#define IDM_MAPIN 115
#define IDM_MAPOUT 116
#define IDM_3D 113
#define IDM_3DOVER 114
#define IDM_EXIT 105
#define IDM_ABOUT 106
#define IDM_COPY 117
#define IDM_HELP_INDEX 107
#define IDM_HELP_KEYBOARD 108
#define IDM_HELP_HELP 109
#define ID_VERSION 110
#define ID_COMMENT 111
#define ID_FILETITLE 112
#define ID_LISTTITLE 112
/* Math Tools */
#define IDM_MATH_TOOLS 1001
#define IDM_COORD 1002
#define IDM_ZOOM 1003
#define IDM_SIZING 1004
#define IDM_TRACKING 1005
/* fractal image stuff */
#define IDM_SIZE1 151
#define IDM_SIZE2 152
#define IDM_SIZE3 153
#define IDM_SIZE4 154
#define IDM_ITER1 161
#define IDM_ITER2 162
#define IDM_ITER3 163
/* fractal formula stuff */
#define IDM_FRACTAL 171
#define IDM_FORMULA 172
#define IDM_IMAGE 173
#define IDM_DOODADS 174
#define IDM_CYCLE 175
#define ID_FRACNAME 200
#define ID_FRACPARAM1 201
#define ID_FRACPARAM2 202
#define ID_FRACPARAM3 203
#define ID_FRACPARAM4 204
#define ID_FRACPARTX1 205
#define ID_FRACPARTX2 206
#define ID_FRACPARTX3 207
#define ID_FRACPARTX4 208
#define ID_FRACXMIN 211
#define ID_FRACXMAX 212
#define ID_FRACYMIN 213
#define ID_FRACYMAX 214
/* window sizing stuff */
#define ID_ISIZE 250
#define ID_ISIZE1 251
#define ID_ISIZE2 252
#define ID_ISIZE3 253
#define ID_ISIZE4 254
#define ID_ISIZE5 255
#define ID_ISIZE6 256
#define ID_ISIZE7 257
#define ID_ISIZE8 258
#define ID_ISIZEX 259
#define ID_ISIZEY 260
#define ID_ICOLORS 270
#define ID_ICOLORS1 271
#define ID_ICOLORS2 272
#define ID_ICOLORS3 273
/* options and doodads menu */
#define ID_DEBUGFLAG 290
#define ID_PASS 300
#define ID_PASS1 301
#define ID_PASS2 302
#define ID_PASSS 303
#define ID_PASSB 304
#define ID_MATH 305
#define ID_MATHI 306
#define ID_MATHF 307
#define ID_MAXIT 310
#define ID_BIOMORPH 311
#define ID_DECOMP 312
#define ID_INSIDE 313
#define ID_OUTSIDE 314
#define ID_INVERT 315
/* Color-Cycling stuff */
#define ID_CYCLEOFF 330
#define ID_CYCLEON 331
#define ID_CYCLEOUT 332
#define ID_CYCLEIN 333
#define ID_CYCLESTAT 334
#define ID_CYCLECHG 335
#define ID_CYCLELOW 336
#define ID_CYCLEMED 337
#define ID_CYCLEHIGH 338
/* 3D stuff */
#define ID_PREVIEW 201
#define ID_SHOWBOX 202
#define ID_SPHERICAL 203
#define ID_PREVIEWFACTOR 204
#define ID_STEREO1 205
#define ID_STEREO2 206
#define ID_STEREO3 207
#define ID_STEREO4 208
#define ID_FILL1 211
#define ID_FILL2 212
#define ID_FILL3 213
#define ID_FILL4 214
#define ID_FILL5 215
#define ID_FILL6 216
#define ID_FILL7 217
#define ID_FILL8 218
#define ID_ANS1 201
#define ID_ANS2 202
#define ID_ANS3 203
#define ID_ANS4 204
#define ID_ANS5 205
#define ID_ANS6 206
#define ID_ANS7 207
#define ID_ANS8 208
#define ID_ANS9 209
#define ID_ANS10 210
#define ID_ANS11 211
#define ID_ANS12 212
#define ID_ANS13 213
#define ID_ANS14 214
#define ID_ANS15 215
/* generic fullscreen stuff */
#define ID_PROMPT00 300
#define ID_PROMPT01 301
#define ID_PROMPT02 302
#define ID_PROMPT03 303
#define ID_PROMPT04 304
#define ID_PROMPT05 305
#define ID_PROMPT06 306
#define ID_PROMPT07 307
#define ID_PROMPT08 308
#define ID_PROMPT09 309
#define ID_PROMPT10 310
#define ID_PROMPT11 311
#define ID_PROMPT12 312
#define ID_PROMPT13 313
#define ID_PROMPT14 314
#define ID_PROMPT15 315
#define ID_PROMPT16 316
#define ID_PROMPT17 317
#define ID_PROMPT18 318
#define ID_PROMPT19 319
#define ID_ANSWER01 321
#define ID_ANSWER02 322
#define ID_ANSWER03 323
#define ID_ANSWER04 324
#define ID_ANSWER05 325
#define ID_ANSWER06 326
#define ID_ANSWER07 327
#define ID_ANSWER08 328
#define ID_ANSWER09 329
#define ID_ANSWER10 330
#define ID_ANSWER11 331
#define ID_ANSWER12 332
#define ID_ANSWER13 333
#define ID_ANSWER14 334
#define ID_ANSWER15 335
#define ID_ANSWER16 336
#define ID_ANSWER17 337
#define ID_ANSWER18 338
#define ID_ANSWER19 339
/* status box */
#define IDS_STATUS 340
#define IDS_LINE1 341
#define IDS_LINE2 342
#define IDS_LINE3 343
#define IDS_LINE4 344
#define IDS_LINE5 345
#define IDS_LINE6 346
#define IDS_LINE7 347
#define IDS_LINE8 348
#define IDS_LINE9 349
/* Control IDs */
#define IDC_FILENAME 400
#define IDC_EDIT 401
#define IDC_FILES 402
#define IDC_PATH 403
#define IDC_LISTBOX 404
/* Print stuff */
#define ID_PR_DEVICE 450
#define ID_PR_ORIENT 451
#define ID_PRO_PORTR 452
#define ID_PRO_LANDS 453
#define ID_PR_SIZE 454
#define ID_PRS_MAX 455
#define ID_PRS_MAXSIZ 456
#define ID_PRS_CUST 457
#define ID_PRS_WIDTH 458
int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
BOOL InitApplication(HANDLE);
BOOL InitInstance(HANDLE, int);
long FAR PASCAL MainWndProc(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL SaveStatusProc(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL About(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL HelpBox(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL SaveAsDlg(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL SelectFractal(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL SelectFracParams(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL SelectImage(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL SelectDoodads(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL SelectCycle(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL Select3D(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL Select3DPlanar(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL Select3DSpherical(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL SelectFullScreen(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL Status(HWND, unsigned, WORD, LONG);
HANDLE FAR PASCAL OpenDlg(HWND, unsigned, WORD, LONG);
void SeparateFile(HWND, LPSTR, LPSTR, LPSTR);
void UpdateListBox(HWND);
void AddExt(PSTR, PSTR);
void ChangeDefExt(PSTR, PSTR);
HDC PASCAL GetPrinterDC();
void OpenStatusBox(HWND hWnd, HANDLE hInst);
void CloseStatusBox(void);
void UpdateStatusBox(unsigned long Portion, unsigned long Total);
extern char StatusTitle[];
void SaveBitmapFile(HWND hWnd, char *FullPathName);