linux man page for init_dialog

Query: init_dialog

OS: linux

Section: 3alleg4

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

init_dialog(3alleg4)						  Allegro manual					      init_dialog(3alleg4)

NAME
init_dialog - Low level initialisation of a dialog. Allegro game programming library. SYNOPSIS
#include <allegro.h> DIALOG_PLAYER *init_dialog(DIALOG *dialog, int focus_obj); DESCRIPTION
This function provides lower level access to the same functionality as do_dialog(), but allows you to combine a dialog box with your own program control structures. It initialises a dialog, returning a pointer to a player object that can be used with update_dialog() and shut- down_dialog(). With these functions, you could implement your own version of do_dialog() with the lines: DIALOG_PLAYER *player = init_dialog(dialog, focus_obj); while (update_dialog(player)) ; return shutdown_dialog(player); Note that you are responsible for showing and hiding the mouse cursor, which do_dialog would otherwise do for you, or saving and restoring the screen contents, as popup_dialog would do for you. SEE ALSO
update_dialog(3alleg4), shutdown_dialog(3alleg4), do_dialog(3alleg4) Allegro version 4.4.2 init_dialog(3alleg4)
Related Man Pages
do_dialog(3alleg4) - centos
do_dialog(3alleg4) - suse
do_dialog(3alleg4) - opendarwin
do_dialog(3alleg4) - v7
do_dialog(3alleg4) - osx
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Answers to Recently Asked Questions about UNIX.COM
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!
YouTube: How to Use Code Tags and Format Posts @UNIX.com