Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

do_menu - Displays an animates a popup menu. Allegro game programming library.

Description

       Displays  and  animates  a  popup menu at the specified screen coordinates (these will be adjusted if the
       menu does not entirely fit on the screen).  Returns the index of the menu item that was selected,  or  -1
       if  the menu was cancelled. Note that the return value cannot indicate selection from child menus, so you
       will have to use the callback functions if you want multi-level menus.

Name

       do_menu - Displays an animates a popup menu. Allegro game programming library.

See Also

d_menu_proc(3alleg4), active_menu(3alleg4), gui_menu_draw_menu(3alleg4), update_menu(3alleg4)

Allegro                                           version 4.4.3                                 do_menu(3alleg4)

Synopsis

#include<allegro.h>intdo_menu(MENU*menu,intx,inty);

See Also