diff -r f9e9b7425ed3 -r ac2ade047d5b src/ascension/ui/text.h --- a/src/ascension/ui/text.h Thu Jul 10 22:19:48 2025 +0200 +++ b/src/ascension/ui/text.h Fri Jul 11 00:48:08 2025 +0200 @@ -29,13 +29,17 @@ #define ASCENSION_UI_TEXT_H #include "font.h" -#include "../sprite.h" +// TODO: clean up these messy include paths +#include "../mesh.h" +#include "../texture.h" +#include "../scene_node.h" #include typedef struct asc_text_s { - // TODO: try to remove the explicit dependency to a sprite - AscSprite base; + AscSceneNode base; + AscMesh mesh; + AscTexture *texture; cxmutstr text; AscFont font; asc_col4i color;