gui_textout_ex
Section: Allegro manual (3)
Updated: version 4.2.2
Index
Return to Main Contents
NAME
gui_textout_ex - Draws a text string onto the screen with keyboard shortcut underbars. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int gui_textout_ex(BITMAP *bmp, const char *s, int x, y, color, bg, centre);
DESCRIPTION
Helper function for use by the GUI routines. Draws a text string onto the
screen, interpreting the '&' character as an underbar for displaying
keyboard shortcuts. Returns the width of the output string in pixels.
SEE ALSO
gui_strlen(3)