Added different fonts for frequency

Added extra theme
This commit is contained in:
Sjef Verhoeven PE5PVB
2023-12-29 21:29:35 +01:00
parent 792902c48e
commit 0c4635ee88
6 changed files with 4917 additions and 1851 deletions
+8 -5
View File
@@ -109,7 +109,7 @@
#define EE_PRESETS_CNT 99
#define EE_CHECKBYTE_VALUE 3 // 0 ~ 255,add new entry, change for new value
#define EE_TOTAL_CNT 821
#define EE_TOTAL_CNT 822
#define EE_UINT16_FREQUENCY_FM 0
#define EE_BYTE_VOLSET 4
#define EE_BYTE_STEREO 5
@@ -187,15 +187,18 @@
#define EE_BYTE_SPISPEED 121
#define EE_BYTE_AMSCANSENS 122
#define EE_BYTE_FMSCANSENS 123
#define EE_PRESETS_BAND_START 124
#define EE_PRESET_BW_START 224
#define EE_PRESET_MS_START 324
#define EE_PRESETS_START 424
#define EE_BYTE_FREQFONT 124
#define EE_PRESETS_BAND_START 125
#define EE_PRESET_BW_START 225
#define EE_PRESET_MS_START 325
#define EE_PRESETS_START 425
#define EE_PRESETS_FREQUENCY 0
// End of EEPROM index defines
static const char* const unitString[] = {"dBμV", "dBf", "dBm"};
static const char* const FreqFont[] = {"Classic", "Roubenstil", "Motoya", "Aura2", "Comic"};
static const char* const Theme[] = {"Essence", "Cyan", "Crimson", "Monochrome", "Volcano", "Dendro", "Sakura", "Whiteout", "Tangerine", "Ocean", "Indigo", "GoldBrite"};
// FM band: before BAND_GAP; AM band: after BAND_GAP
enum RADIO_BAND {