d_button_proc - Dialog procedure implementing a button object. Allegro game programming library.
Contents
Description
A button object (the dp field points to the text string). This object can be selected by clicking on it
with the mouse or by pressing its keyboard shortcut. If the D_EXIT flag is set, selecting it will close
the dialog, otherwise it will toggle on and off. Like d_text_proc(), ampersands can be used to display
the keyboard shortcut of the button.
Name
d_button_proc - Dialog procedure implementing a button object. Allegro game programming library.
See Also
excustom(3alleg4), exgui(3alleg4) Allegro version 4.4.3 d_button_proc(3alleg4)
Synopsis
#include<allegro.h>intd_button_proc(intmsg,DIALOG*d,intc);
