|
|
Microsoft OS/2 SDK PM 08-08-1988
/*--------------------- file identification ------------------------*/
/*
chaos.h
include file for chaos.c
Created by Microsoft Corp.,1988
*/
/*--------------------------- Constants ---------------------------*/
#define MAX_GROWTH_RATE 4.0
#define INITIAL_GROWTH_RATE 2.7
#define MAX_ITERATIONS 40
#define WM_PLOTPOINT 1024
#define WM_RESETPLOT 1025
/* resource stuff */
#define ID_RESOURCE 128
/* the file menu and its items */
#define IDM_FILE 0x0100
#define IDM_FI_GO 0x0101
#define IDM_FI_STOP 0x0102
#define IDM_FI_SEP2 0x0109
#define IDM_FI_QUIT 0x010C
#define IDM_FI_SEP3 0x010B
#define IDM_FI_ABOUT 0x010A
/* the edit menu and its items */
#define IDM_EDIT 0x0200
#define IDM_ED_UNDO 0x0201
#define IDM_ED_SEP1 0x0202
#define IDM_ED_CUT 0x0203
#define IDM_ED_COPY 0x0204
#define IDM_ED_PASTE 0x0205
#define IDM_ED_CLEAR 0x0206
/* the about dialog */
#define IDD_ABOUT 1024
#define IDD_AB_TITLE 401
#define IDD_AB_C1 402
#define IDD_AB_C2 403
#define IDD_AB_DATE 404
#define IDD_AB_VERSION 405
#define IDD_AB_OKAY 406
/*---------------------- function prototypes --------------------------*/
BOOL main ( void ) ;
MRESULT FAR PASCAL GenericWndProc( HWND hwnd,
USHORT usMessage,
MPARAM mp1,
MPARAM mp2) ;
MRESULT FAR PASCAL AboutProc( HWND hwnd,
USHORT usMessage,
MPARAM mp1,
MPARAM mp2) ;
BOOL GenericInit (void) ;
ULONG DoMenuCommand(HWND hwnd,
USHORT usMenuID);
VOID FAR ThreadProc(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.