logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

d_check_proc - Dialog procedure implementing a check box object. Allegro game programming library.

Description

       This is an example of how you can derive objects from other objects. Most of the functionality comes from
       d_button_proc(),  but  it  displays  itself as a check box. If the d1 field is non-zero, the text will be
       printed to the right of the check, otherwise it will be on the left.

       Note: the object width should allow space for the text as well as the check box (which  is  square,  with
       sides equal to the object height).

Name

       d_check_proc - Dialog procedure implementing a check box object. Allegro game programming library.

See Also

excustom(3alleg4), exgui(3alleg4)

Allegro                                           version 4.4.3                            d_check_proc(3alleg4)

Synopsis

#include<allegro.h>intd_check_proc(intmsg,DIALOG*d,intc);

See Also