1MENU(3)                         Allegro manual                         MENU(3)
2
3
4

NAME

6       MENU - Stores the entries of a menu. Allegro game programming library.
7

SYNOPSIS

9       #include <allegro.h>
10
11
12       typedef struct MENU
13

DESCRIPTION

15          char *text;          - the text to display for the menu item
16          int (*proc)(void);   - called when the menu item is clicked
17          struct MENU *child;  - nested child menu
18          int flags;           - disabled or checked state
19          void *dp;            - pointer to any data you need
20
21       Structure used to hold an entry of a menu. Read chapter "GUI routines",
22       section "GUI menus" for a description on how to obtain/use this  strucā€
23       ture.
24
25

SEE ALSO

27       do_menu(3), exgui(3)
28
29
30
31Allegro                          version 4.4.3                         MENU(3)
Impressum