|
|
1.1 root 1:
2: /*--------------------- file identification ------------------------*/
3:
4: /*
5: chaos.h
6:
7: include file for chaos.c
8:
9: Created by Microsoft Corp.,1988
10:
11: */
12:
13:
14: /*--------------------------- Constants ---------------------------*/
15:
16:
17: #define MAX_GROWTH_RATE 4.0
18: #define INITIAL_GROWTH_RATE 2.7
19: #define MAX_ITERATIONS 40
20:
21: #define WM_PLOTPOINT 1024
22: #define WM_RESETPLOT 1025
23: /* resource stuff */
24: #define ID_RESOURCE 128
25:
26: /* the file menu and its items */
27: #define IDM_FILE 0x0100
28: #define IDM_FI_GO 0x0101
29: #define IDM_FI_STOP 0x0102
30: #define IDM_FI_SEP2 0x0109
31: #define IDM_FI_QUIT 0x010C
32: #define IDM_FI_SEP3 0x010B
33: #define IDM_FI_ABOUT 0x010A
34:
35:
36: /* the edit menu and its items */
37: #define IDM_EDIT 0x0200
38: #define IDM_ED_UNDO 0x0201
39: #define IDM_ED_SEP1 0x0202
40: #define IDM_ED_CUT 0x0203
41: #define IDM_ED_COPY 0x0204
42: #define IDM_ED_PASTE 0x0205
43: #define IDM_ED_CLEAR 0x0206
44:
45:
46: /* the about dialog */
47: #define IDD_ABOUT 1024
48: #define IDD_AB_TITLE 401
49: #define IDD_AB_C1 402
50: #define IDD_AB_C2 403
51: #define IDD_AB_DATE 404
52: #define IDD_AB_VERSION 405
53: #define IDD_AB_OKAY 406
54:
55:
56: /*---------------------- function prototypes --------------------------*/
57:
58: BOOL main ( void ) ;
59: MRESULT FAR PASCAL GenericWndProc( HWND hwnd,
60: USHORT usMessage,
61: MPARAM mp1,
62: MPARAM mp2) ;
63: MRESULT FAR PASCAL AboutProc( HWND hwnd,
64: USHORT usMessage,
65: MPARAM mp1,
66: MPARAM mp2) ;
67: BOOL GenericInit (void) ;
68: ULONG DoMenuCommand(HWND hwnd,
69: USHORT usMenuID);
70:
71:
72: VOID FAR ThreadProc(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.