some cleanup

This commit is contained in:
2026-01-28 08:46:28 +01:00
parent 58e3074b04
commit e85e3a4a8c
6 changed files with 22 additions and 92 deletions
+6 -3
View File
@@ -1,3 +1,5 @@
#include "config.h"
struct Cursor
{
unsigned short x;
@@ -15,7 +17,7 @@ struct Pixel
struct Text
{
char content[SCROLLABLE_TEXT_MAX_LENGTH];
char content[TEXT_MAX_LENGTH];
uint32_t color;
unsigned short pos_x;
unsigned short pos_y;
@@ -27,5 +29,6 @@ struct Text
unsigned char character_count;
bool deleted;
Text() : color(0), pos_x(0), pos_y(0), character_count(0), characterSize({7,5,0}), deleted(true) {}
};
Text() : color(0), pos_x(0), pos_y(0), character_count(0), characterSize({7,5}), deleted(true) {}
};