shutdown_menu
Destroys a menu player object returned by init_menu(). Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Destroys a menu player object returned by init_menu(). Allegro game programming library.
#include <allegro.h>
int shutdown_menu(MENU_PLAYER *player);
Destroys a menu player object returned by init_menu(), returning the index of the menu item that was selected, or -1 if the menu was cancelled (this is the same as the return value from do_menu()).
init_menu(3alleg4), update_menu(3alleg4)