text can now be drawed on screen

This commit is contained in:
2026-01-28 11:17:06 +01:00
parent f0376ea7f6
commit b0e45dab7d
5 changed files with 71 additions and 8 deletions
+4 -3
View File
@@ -18,7 +18,7 @@ struct Pixel
uint32_t color;
};
struct Text
struct TextNode
{
char content[TEXT_MAX_LENGTH];
uint32_t color;
@@ -30,10 +30,11 @@ struct Text
unsigned short width;
} characterSize;
unsigned char character_count;
bool deleted;
bool is_deleted;
bool is_scrolled;
Text() : color(0), pos_x(0), pos_y(0), character_count(0), characterSize({7,5}), deleted(true) {}
TextNode() : color(0), pos_x(0), pos_y(0), character_count(0), characterSize({7,5}), is_deleted(true) {}
};
#endif // STRUCTS_H