scolled text scrolled to left worksd

This commit is contained in:
2026-01-28 14:03:49 +01:00
parent 2870ba7386
commit 6a15a592fc
6 changed files with 89 additions and 14 deletions
+3 -2
View File
@@ -30,11 +30,12 @@ struct TextNode
unsigned short width;
} characterSize;
unsigned char character_count;
unsigned char scroll_slowness;
bool is_deleted;
bool is_scrolled;
bool is_scrolling;
TextNode() : color(0), pos_x(0), pos_y(0), character_count(0), characterSize({7,5}), is_deleted(true) {}
TextNode() : color(0), pos_x(0), pos_y(0), character_count(0), scroll_slowness(1), characterSize({7,5}), is_deleted(true), is_scrolling(true) {}
};
#endif // STRUCTS_H