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

NAME

6       d_check_proc  - Dialog procedure implementing a check box object. Alle‐
7       gro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int d_check_proc(int msg, DIALOG *d, int c);
14

DESCRIPTION

16       This is an example of how you can derive objects  from  other  objects.
17       Most  of  the functionality comes from d_button_proc(), but it displays
18       itself as a check box. If the d1 field is non-zero, the  text  will  be
19       printed to the right of the check, otherwise it will be on the left.
20
21       Note:  the  object width should allow space for the text as well as the
22       check box (which is square, with sides equal to the object height).
23
24

SEE ALSO

26       excustom(3), exgui(3)
27
28
29
30Allegro                          version 4.4.2                 d_check_proc(3)
Impressum