text can now be drawed on screen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user