DOKK / manpages / debian 11 / allegro4-doc / popup_dialog.3alleg4.en
popup_dialog(3alleg4) Allegro manual popup_dialog(3alleg4)

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

#include <allegro.h>

int popup_dialog(DIALOG *dialog, int focus_obj);

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.

do_dialog(3alleg4)

version 4.4.3 Allegro