This commit is contained in:
2026-02-05 14:40:45 +01:00
parent 84a047f67b
commit 88bf1e3bb2
9 changed files with 305 additions and 125 deletions
+3 -1
View File
@@ -6,8 +6,8 @@
extern Adafruit_NeoPixel pixels;
extern Image saved_images[MAX_IMAGES_SAVED];
extern unsigned char saved_images_count;
extern TextNode text_nodes[MAX_TEXT_NODES_COUNT];
extern MultiColorTextNode multi_color_text_node[MAX_TEXT_NODES_COUNT];
extern Cursor cursor;
extern unsigned char brightness;
@@ -18,6 +18,8 @@ void start_server();
void handle_server();
void addNewTextNode(char text[TEXT_MAX_LENGTH + 1], uint32_t color, bool handle_pos_via_cursor, short pos_x, short pos_y, unsigned char scroll_slowness, bool is_scrolling, bool is_small);
void scrollAllScrollableTexts(bool split_scroll_mode);
void addNewMultiColor(char text[TEXT_MAX_LENGTH + 1], RGBWithIndex colors[4], unsigned char color_count, bool handle_pos_via_cursor, short pos_x, short pos_y, unsigned char scroll_slowness, bool is_scrolling, bool is_small);
void scrollAllMultiColorTexts(bool split_scroll_mode);
void drawCharacter(const bool (*character)[5], unsigned char height, unsigned char width, uint32_t color, Cursor (*used_cursor));