This commit is contained in:
e2002
2025-08-24 17:58:08 +03:00
parent 383a5d5119
commit 1b644d7895
117 changed files with 1777 additions and 3934 deletions

View File

@@ -1,25 +1,16 @@
#ifndef displayST7735_h
#define displayST7735_h
#include "../core/options.h"
#include "Arduino.h"
#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#if CLOCKFONT_MONO
#include "fonts/DS_DIGI28pt7b_mono.h" // https://tchapi.github.io/Adafruit-GFX-Font-Customiser/
#else
#include "fonts/DS_DIGI28pt7b.h"
#endif
#include "tools/l10n.h"
#define CHARWIDTH 6
#define CHARHEIGHT 8
#include "fonts/bootlogo62x40.h"
#include "fonts/dsfont35.h"
typedef GFXcanvas16 Canvas;
#include "widgets/widgets.h"
#include "widgets/pages.h"
typedef Adafruit_ST7735 yoDisplay;
#include "tools/commongfx.h"
#if __has_include("conf/displayST7735conf_custom.h")
#include "conf/displayST7735conf_custom.h"
@@ -33,14 +24,6 @@ typedef GFXcanvas16 Canvas;
#endif
#endif
#define BOOT_PRG_COLOR 0xE68B
#define BOOT_TXT_COLOR 0xFFFF
#define PINK 0xF97F
class DspCore: public Adafruit_ST7735 {
#include "tools/commongfx.h"
};
extern DspCore dsp;
#endif