d_ctext_proc(3alleg4) linux man page | unix.com

Man Page: d_ctext_proc

Operating Environment: linux

Section: 3alleg4

d_text_proc(3alleg4)						  Allegro manual					      d_text_proc(3alleg4)

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 dis- playing 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.
SEE ALSO
exgui(3alleg4), exrgbhsv(3alleg4) Allegro version 4.4.2 d_text_proc(3alleg4)
Related Man Pages
exgui(3alleg4) - debian
exgui(3alleg4) - linux
exgui(3alleg4) - mojave
exgui(3alleg4) - redhat
exgui(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Featured Books and Articles by Active Forum Members
Merry Christmas!
Status of UNIX.COM Forum Transformation
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!
YouTube: How to Use Code Tags and Format Posts @UNIX.com