From 1bf7b0621d2b47b33fe2bfc9218094131d49d54f Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Thu, 14 Aug 2025 20:29:46 -0300 Subject: feat Add z-indez and line feed to BitmapText --- src/blu_cat/gra/text.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/blu_cat/gra/text.hpp') diff --git a/src/blu_cat/gra/text.hpp b/src/blu_cat/gra/text.hpp index dc085e9..5b7dcde 100644 --- a/src/blu_cat/gra/text.hpp +++ b/src/blu_cat/gra/text.hpp @@ -34,7 +34,9 @@ struct Text I32F x, y, width, height; F32 z_index; - Text(const BitmapFont &font, const char *str, const I32F x, const I32F y); + Text(const BitmapFont &font, const char *str, const I32F x, const I32F y, + F32 z_index); + Text(); void draw(); -- cgit v1.2.3