GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  INIT_MENU (3)

NAME

init_menu - Low level initialisation of a menu. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

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 shutdown_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(3), shutdown_menu(3), do_menu(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro INIT_MENU (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.