MENU (3) Linux Manual Page
MENU – Stores the entries of a menu. Allegro game programming library.
Synopsis
#include <allegro.h> typedef struct MENU
Description
char *text; – the text to display for the menu itemStructure used to hold an entry of a menu. Read chapter "GUI routines", section "GUI menus" for a description on how to obtain/use this structure.
int (*proc)(void); – called when the menu item is clicked
struct MENU *child; – nested child menu
int flags; – disabled or checked state
void *dp; – pointer to any data you need
