non workking vibe coded screen displaying
This commit is contained in:
+14
-16
@@ -1,25 +1,23 @@
|
||||
#ifndef PROTOTYPES_H
|
||||
#define PROTOTYPES_H
|
||||
|
||||
#include <Adafruit_NeoPixel.h>
|
||||
#include "config.h"
|
||||
#include "structs.h"
|
||||
#include <Adafruit_NeoPixel.h>
|
||||
|
||||
// lowLevel.ino
|
||||
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 Cursor cursor;
|
||||
|
||||
|
||||
void drawImageFromMemoryByIndex(unsigned char image_index, short pos_x, short pos_y);
|
||||
void setPixel(short x, short y, uint32_t color);
|
||||
uint32_t getPixelColor(short x, short y);
|
||||
void drawImageFromSaved(short offset_x, short offset_y, unsigned char i);
|
||||
void drawCharacterPart(const bool* character_row, unsigned char width, uint32_t color, short start_x, short start_y);
|
||||
void drawCharacter(const bool (*character)[5], unsigned char height, unsigned char width, uint32_t color, Cursor (*used_cursor));
|
||||
void fillPixels(short x1, short y1, short x2, short y2, uint32_t color);
|
||||
void shiftGivenRectangleLeft(short x1, short y1, short x2, short y2, unsigned char shift_by);
|
||||
void shiftGivenRectangleRight(short x1, short y1, short x2, short y2, unsigned char shift_by);
|
||||
|
||||
// server.ino
|
||||
void handleRoot();
|
||||
void handleUpload();
|
||||
void handleShowSaved();
|
||||
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 drawCharacter(const bool (*character)[5], unsigned char height, unsigned char width, uint32_t color, Cursor (*used_cursor));
|
||||
|
||||
#endif // PROTOTYPES_H
|
||||
|
||||
#endif // PROTOTYPES_H
|
||||
Reference in New Issue
Block a user