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
View File
@@ -6,14 +6,11 @@
#include "structs.h"
extern Adafruit_NeoPixel pixels;
extern unsigned char saved_images_count;
extern Cursor cursor1;
extern uint32_t saved_imaged[2][16][16];
// Function declarations
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);