popup_dialog

Section: Allegro manual (3)
Updated: version 4.2.2
Index Return to Main Contents
 

NAME

popup_dialog - do_dialog() used for popup dialogs. Allegro game programming library.  

SYNOPSIS

#include <allegro.h>

int popup_dialog(DIALOG *dialog, int focus_obj);  

DESCRIPTION

Like do_dialog(), but it stores the data on the screen before drawing the dialog and restores it when the dialog is closed. The screen area to be stored is calculated from the dimensions of the first object in the dialog, so all the other objects should lie within this one.

 

SEE ALSO

do_dialog(3)