1d_button_proc(3) Allegro manual d_button_proc(3)
2
3
4
6 d_button_proc - Dialog procedure implementing a button object. Allegro
7 game programming library.
8
10 #include <allegro.h>
11
12
13 int d_button_proc(int msg, DIALOG *d, int c);
14
16 A button object (the dp field points to the text string). This object
17 can be selected by clicking on it with the mouse or by pressing its
18 keyboard shortcut. If the D_EXIT flag is set, selecting it will close
19 the dialog, otherwise it will toggle on and off. Like d_text_proc(),
20 ampersands can be used to display the keyboard shortcut of the button.
21
22
24 excustom(3), exgui(3)
25
26
27
28Allegro version 4.2.2 d_button_proc(3)