Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

gui_textout_ex - Draws a text string onto the screen with keyboard shortcut underbars. Allegro game

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.

Name

       gui_textout_ex  -  Draws  a  text  string  onto the screen with keyboard shortcut underbars. Allegro game
       programming library.

See Also

gui_strlen(3alleg4)

Allegro                                           version 4.4.3                          gui_textout_ex(3alleg4)

Synopsis

#include<allegro.h>intgui_textout_ex(BITMAP*bmp,constchar*s,intx,y,color,bg,centre);

See Also