From c589aeb2d31d96003fe8cb25379f7f8cbc364b72 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Fri, 25 Apr 2025 03:31:35 -0400 Subject: [PATCH] ESP32-C3 ePaper --- ESP32-C3_ePaper/src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ESP32-C3_ePaper/src/main.cpp b/ESP32-C3_ePaper/src/main.cpp index 0f7315325..a10a2cfc1 100644 --- a/ESP32-C3_ePaper/src/main.cpp +++ b/ESP32-C3_ePaper/src/main.cpp @@ -74,8 +74,11 @@ void setup() { display.setCursor(str_x, str_y+str_inc); display.setFont(&FreeMonoBold9pt7b); display.print("Backups"); + // Files bar display.drawRect(str_x+100, str_y-str_inc, 100, str_inc, GxEPD_BLACK); - display.drawRect(str_x+100, str_y+str_inc*1, 100, str_inc, GxEPD_BLACK); + display.fillRect(str_x+100, str_y-str_inc, 100*0.25, str_inc, GxEPD_BLACK); + // Backups bar + display.drawRect(str_x+100, str_y+str_inc, 100, str_inc, GxEPD_BLACK); // Display text nicely centered on the display display.setTextColor(GxEPD_WHITE);