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

NAME

6       shutdown_menu  - Destroys a menu player object returned by init_menu().
7       Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int shutdown_menu(MENU_PLAYER *player);
14

DESCRIPTION

16       Destroys a menu player object returned by  init_menu(),  returning  the
17       index  of  the  menu item that was selected, or -1 if the menu was can‐
18       celled (this is the same as the return value from do_menu()).
19
20

SEE ALSO

22       init_menu(3), update_menu(3)
23
24
25
26Allegro                          version 4.4.2                shutdown_menu(3)
Impressum