logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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