debian man page for init_menu

Query: init_menu

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

init_menu(3alleg4)						  Allegro manual						init_menu(3alleg4)

NAME
init_menu - Low level initialisation of a menu. Allegro game programming library.
SYNOPSIS
#include <allegro.h> MENU_PLAYER *init_menu(MENU *menu, int x, int y);
DESCRIPTION
This function provides lower level access to the same functionality as do_menu(), but allows you to combine a popup menu with your own pro- gram control structures. It initialises a menu, returning a pointer to a menu player object that can be used with update_menu() and shut- down_menu(). With these functions, you could implement your own version of do_menu() with the lines: MENU_PLAYER *player = init_menu(menu, x, y); while (update_menu(player)) ; return shutdown_menu(player);
SEE ALSO
update_menu(3alleg4), shutdown_menu(3alleg4), do_menu(3alleg4) Allegro version 4.4.2 init_menu(3alleg4)
Related Man Pages
exrotscl(3alleg4) - debian
d_menu_proc(3alleg4) - centos
exrotscl(3alleg4) - centos
exrotscl(3alleg4) - php
exrotscl(3alleg4) - opendarwin
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
Weird 'find' results
How to copy a column of multiple files and paste into new excel file (next to column)?
My first PERL incarnation... Audio Oscillograph