.\" Generated by the Allegro makedoc utility .TH DIALOG 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME DIALOG \- Stores a GUI description. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B typedef struct DIALOG .SH DESCRIPTION .nf int (*proc)(int, DIALOG *, int); - dialog procedure (message handler) int x, y, w, h; - position and size of the object int fg, bg; - foreground and background colors int key; - ASCII keyboard shortcut int flags; - flags about the status of the object int d1, d2; - whatever you want to use them for void *dp, *dp2, *dp3; - pointers to more object-specific data .fi This is the structure which contains a GUI object. Read chapter "GUI routines" for a description on how to obtain/use this structure. .SH SEE ALSO .BR do_dialog (3alleg4), .BR excustom (3alleg4), .BR exgui (3alleg4), .BR exrgbhsv (3alleg4)