1d_text_proc(3) Allegro manual d_text_proc(3)
2
3
4
6 d_text_proc, d_ctext_proc, d_rtext_proc - Dialogs procedure drawing
7 text onto the screen. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 int d_text_proc(int msg, DIALOG *d, int c);
14
15 int d_ctext_proc(int msg, DIALOG *d, int c);
16
17 int d_rtext_proc(int msg, DIALOG *d, int c);
18
20 These draw text onto the screen. The dp field should point to the
21 string to display. d_ctext_proc() centers the string horizontally, and
22 d_rtext_proc() right aligns it. Any '&' characters in the string will
23 be replaced with lines underneath the following character, for display‐
24 ing keyboard shortcuts (as in MS Windows). To display a single amper‐
25 sand, put "&&". To draw the text in something other than the default
26 font, set the dp2 field to point to your custom font data.
27
28
30 exgui(3), exrgbhsv(3)
31
32
33
34Allegro version 4.2.2 d_text_proc(3)