writign words might work

This commit is contained in:
2026-01-27 18:55:21 +01:00
parent cbfe305e9d
commit 58e3074b04
11 changed files with 322 additions and 57 deletions
+21 -2
View File
@@ -1,12 +1,31 @@
struct Cursor {
struct Cursor
{
unsigned short x;
unsigned short y;
Cursor() : x(0), y(0) {}
};
struct Pixel {
struct Pixel
{
unsigned short x;
unsigned short y;
uint32_t color;
};
struct Text
{
char content[SCROLLABLE_TEXT_MAX_LENGTH];
uint32_t color;
unsigned short pos_x;
unsigned short pos_y;
struct CharacterSize
{
unsigned short height;
unsigned short width;
} characterSize;
unsigned char character_count;
bool deleted;
Text() : color(0), pos_x(0), pos_y(0), character_count(0), characterSize({7,5,0}), deleted(true) {}
};