/* * display.h * * Contains menu numbers for menus defined in display.c. * * MWS, 3/92 */ /************************** MENU NUMBERS FOR MAIN MENU ************************/ #define PROJECT 0 #define LOAD 0 #define SAVE 1 #define BATCH 2 #define DELETE 3 #define ABOUT 4 #define QUIT 5 #define PREFS 1 #define COLOR 0 #define COLOR0 0 /* these correspond to ppbase defines too */ #define COLOR1 1 #define POINTER 2 #define SCROLL 3 #define NONE 4 #define EFFICIENCY 1 /* ditto above comment */ #define FAST 0 #define MEDIOCRE 1 #define GOOD 2 #define VERYGOOD 3 #define BEST 4 #define SPEEDUP 2 /* ditto above comment */ #define LARGE 0 #define MEDIUM 1 #define SMALL 2 #define SUFFIX 3 #define OVERWRITE 4 #define SAVEPREFS 5 #define CONTROL 2 #define DECRUNCH 0 #define RECRUNCH 1 #define IGNORE 2 #define QUERY 3 #ifndef DISPLAY_C extern struct Menu *mainmenu, *abortmenu; extern struct NewWindow new_window; #ifndef WINTEXT_H #include "wintext.h" #endif extern WINTEXTINFO wtinfo; extern WINTEXT wt_initial[]; extern struct Window *window; #endif DISPLAY_C #define TEXT_COLUMNS 40 #define TEXT_ROWS 6 #define MAINMENU 1 /* for use in SetPPDataMenu() */ #define ABORTMENU 2 /* prototypes from display.c */ BOOL OpenDisplay(void); void CloseDisplay(void); void FreePPDataMenus(void); BOOL AllocPPDataMenus(void); void SetPPDataMenu(int);