do_dialog(3alleg4) Allegro manual do_dialog(3alleg4)NAME
do_dialog - Basic dialog manager function. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int do_dialog(DIALOG *dialog, int focus_obj);
DESCRIPTION
The basic dialog manager function. This displays a dialog (an array of dialog objects, terminated by one with a NULL dialog procedure), and
sets the input focus to the focus_obj (-1 if you don't want anything to have the focus). It interprets user input and dispatches messages
as they are required, until one of the dialog procedures tells it to close the dialog, at which point it returns the index of the object
that caused it to exit, or until ESC is pressed, at which point it returns -1.
SEE ALSO popup_dialog(3alleg4), init_dialog(3alleg4), centre_dialog(3alleg4), set_dialog_color(3alleg4), find_dialog_focus(3alleg4), excus-
tom(3alleg4), exgui(3alleg4), exrgbhsv(3alleg4)Allegro version 4.4.2 do_dialog(3alleg4)
Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Hey guys,
I'm new to shell scripting and I'm trying to write a script that takes user input and copies the specified columns from a data file to a new one. In order to account for the possibility of a variable number of columns to copy I wrote a loop that encodes the user's choices in an array... (16 Replies)
Hey guys!
So I decided to set up some basic user authentication on my apache2 server, and I am running into some problems. I followed the documentation provided by apache on their website, but I cant create the password file for some reason. I did a little trouble shooting myself, and found... (40 Replies)