Category : Files from Magazines
Archive   : DFLAT4UD.ZIP
Filename : MENU.H

 
Output of file : MENU.H contained in archive : DFLAT4UD.ZIP
/* ------------ menu.h ------------- */

#ifndef MENU_H
#define MENU_H

struct PopDown {
char *SelectionTitle;
int ActionId;
int Accelerator;
int Attrib;
char *help;
};

typedef struct Menu {
char *Title;
void (*PrepMenu)(void *, struct Menu *);
struct PopDown Selections[23];
int Selection;
} MENU;

#define SEPCHAR "\xc4"
#define DEFMENU(m) MENU m[]= {
#define POPDOWN(ttl,func) {ttl,func,{
#define SELECTION(stxt,acc,id,attr) {stxt,acc,id,attr,#acc},
#define SEPARATOR {SEPCHAR},
#define ENDPOPDOWN {NULL},0}},
#define ENDMENU {NULL} };

/* -------- menu selection attributes -------- */
#define INACTIVE 1
#define CHECKED 2
#define TOGGLE 4

extern MENU MainMenu[];
extern MENU SystemMenu[];
extern MENU *ActiveMenu;

int MenuHeight(struct PopDown *);
int MenuWidth(struct PopDown *);

#endif



  3 Responses to “Category : Files from Magazines
Archive   : DFLAT4UD.ZIP
Filename : MENU.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/