1DIALOG(3)                       Allegro manual                       DIALOG(3)
2
3
4

NAME

6       DIALOG - Stores a GUI description. Allegro game programming library.
7

SYNOPSIS

9       #include <allegro.h>
10
11
12       typedef struct DIALOG
13

DESCRIPTION

15          int (*proc)(int, DIALOG *, int); - dialog procedure
16                                             (message handler)
17          int x, y, w, h;       - position and size of the object
18          int fg, bg;           - foreground and background colors
19          int key;              - ASCII keyboard shortcut
20          int flags;            - flags about the status of the object
21          int d1, d2;           - whatever you want to use them for
22          void *dp, *dp2, *dp3; - pointers to more object-specific data
23
24       This  is  the  structure which contains a GUI object. Read chapter "GUI
25       routines" for a description on how to obtain/use this structure.
26
27

SEE ALSO

29       do_dialog(3), excustom(3), exgui(3), exrgbhsv(3)
30
31
32
33Allegro                          version 4.4.3                       DIALOG(3)
Impressum