Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
d_text_proc(3)			Allegro	manual			d_text_proc(3)

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 display-
       ing keyboard shortcuts (as in MS	Windows). To display a	single	amper-
       sand,  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(3), exrgbhsv(3)

Allegro				 version 4.4.2			d_text_proc(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=d_text_proc&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help