d_rtext_proc (3) - Linux Manuals
d_rtext_proc: Dialogs procedure drawing text onto the screen. Allegro game programming library.
Command to display d_rtext_proc
manual in Linux: $ man 3 d_rtext_proc
NAME
d_text_proc, d_ctext_proc, d_rtext_proc - Dialogs procedure drawing text onto the screen. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int d_text_proc(int msg, DIALOG *d, int c);
int d_ctext_proc(int msg, DIALOG *d, int c);
int d_rtext_proc(int msg, DIALOG *d, int c);
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.
Pages related to d_rtext_proc
- d_button_proc (3) - Dialog procedure implementing a button object. Allegro game programming library.
- d_check_proc (3) - Dialog procedure implementing a check box object. Allegro game programming library.
- d_ctext_proc (3) - Dialogs procedure drawing text onto the screen. Allegro game programming library.
- d_edit_proc (3) - Dialog procedure implementing an editable text object. Allegro game programming library.
- d_icon_proc (3) - Dialog procedure implementing a bitmap button. Allegro game programming library.
- d_keyboard_proc (3) - Invisible dialog procedure for implementing keyboard shortcuts. Allegro game programming library.