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_text_proc, d_ctext_proc, d_rtext_proc - Dialogs procedure drawing text onto the screen. Allegro game

Description

       These draw text onto the screen. The dp field should point  to  the  string  to  display.  d_ctext_proc()
       centers  the  string  horizontally,  and d_rtext_proc() right aligns it. Any '&' characters in the string
       will be replaced with lines underneath the following character, for displaying keyboard shortcuts (as  in
       MS  Windows).  To  display  a  single  ampersand,  put "&&". To draw the text in something other than the
       default font, set the dp2 field to point to your custom font data.

Name

       d_text_proc,  d_ctext_proc,  d_rtext_proc  - Dialogs procedure drawing text onto the screen. Allegro game
       programming library.

See Also

exgui(3alleg4), exrgbhsv(3alleg4)

Allegro                                           version 4.4.3                             d_text_proc(3alleg4)

Synopsis

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

See Also