init_menu man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

init_menu(3)			Allegro manual			  init_menu(3)

NAME
       init_menu  -  Low level initialisation of a menu. Allegro game program‐
       ming 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 program
       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  ver‐
       sion 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(3), shutdown_menu(3), do_menu(3)

Allegro				 version 4.4.2			  init_menu(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net