.\" Generated by the Allegro makedoc utility .TH d_text_proc 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME d_text_proc, d_ctext_proc, d_rtext_proc \- Dialogs procedure drawing text onto the screen. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int d_text_proc(int msg, DIALOG *d, int c); .B int d_ctext_proc(int msg, DIALOG *d, int c); .B int d_rtext_proc(int msg, DIALOG *d, int c); .SH 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. .SH SEE ALSO .BR exgui (3alleg4), .BR exrgbhsv (3alleg4)