Allergo 5 - Text background color
Tim S.

Hello, Community!

I use Allegro 5 on my next little project.
Is it possible to somehow al_draw_text to choose the background color as textout_ex (Allegro 4)?

Best regards

Trent Gamblin

No, you can use al_draw_filled_rectangle before drawing the text though. You can get the dimensions of the text with al_get_text_width and al_get_font_line_height.

Thread #610264. Printed from