Available in

(1) (1)/hu (1)/pl (3) (3)/zh_CN (3)/zh_TW (3alleg) (3iwidgets) (3tcl) (3tk) (3tk)/zh_CN (3tk)/zh_TW

TOC

DIALOG(3alleg)                  Allegro manual                  DIALOG(3alleg)



NAME

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

SYNOPSIS

       #include <allegro.h>


       typedef struct DIALOG

DESCRIPTION

          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

       This  is  the  structure which contains a GUI object. Read chapter "GUI
       routines" for a description on how to obtain/use this structure.


SEE ALSO

       do_dialog(3alleg), excustom(3alleg), exgui(3alleg), exrgbhsv(3alleg)



Allegro                          version 4.2.2                  DIALOG(3alleg)

COMMENTS

Add your comment here. Whitespace and linebreaks are preserved. URLs are linked automatically.
CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.