Rechercher une page de manuel
do_menu
Langue: en
Version: version 4.2.2 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
do_menu - Displays an animates a popup menu. Allegro game programming library.SYNOPSIS
#include <allegro.h>int do_menu(MENU *menu, int x, int y);
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.SEE ALSO
d_menu_proc(3), active_menu(3), gui_menu_draw_menu(3), update_menu(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre