logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

       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()).

Name

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

See Also

init_menu(3alleg4), update_menu(3alleg4)

Allegro                                           version 4.4.3                           shutdown_menu(3alleg4)

Synopsis

#include<allegro.h>intshutdown_menu(MENU_PLAYER*player);

See Also