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
+52 -15
View File
@@ -145,6 +145,7 @@ byte fmscansens;
byte fmdefaultstepsize; byte fmdefaultstepsize;
byte fmnb; byte fmnb;
byte fmdeemphasis; byte fmdeemphasis;
byte freqfont;
byte amcodect; byte amcodect;
byte amcodectcount; byte amcodectcount;
byte amrfagc; byte amrfagc;
@@ -209,6 +210,8 @@ int charWidth = tft.textWidth("AA");
int DeEmphasis; int DeEmphasis;
int ForceMono; int ForceMono;
int FrameColor; int FrameColor;
int FreqColor;
int FreqColorSmooth;
int freqold; int freqold;
int GreyoutColor; int GreyoutColor;
int InsignificantColor; int InsignificantColor;
@@ -261,7 +264,6 @@ float batteryVold;
IPAddress remoteip; IPAddress remoteip;
String AIDString; String AIDString;
String cryptedpassword; String cryptedpassword;
String CurrentThemeString;
String ECColdtxt; String ECColdtxt;
String eonpsold[20]; String eonpsold[20];
String LIColdString; String LIColdString;
@@ -452,6 +454,7 @@ void setup() {
spispeed = EEPROM.readByte(EE_BYTE_SPISPEED); spispeed = EEPROM.readByte(EE_BYTE_SPISPEED);
amscansens = EEPROM.readByte(EE_BYTE_AMSCANSENS); amscansens = EEPROM.readByte(EE_BYTE_AMSCANSENS);
fmscansens = EEPROM.readByte(EE_BYTE_FMSCANSENS); fmscansens = EEPROM.readByte(EE_BYTE_FMSCANSENS);
freqfont = EEPROM.readByte(EE_BYTE_FREQFONT);
if (spispeed == SPI_SPEED_DEFAULT) tft.setSPISpeed(SPI_FREQUENCY / 1000000); else tft.setSPISpeed(spispeed * 10); if (spispeed == SPI_SPEED_DEFAULT) tft.setSPISpeed(SPI_FREQUENCY / 1000000); else tft.setSPISpeed(spispeed * 10);
LWLowEdgeSet = FREQ_LW_LOW_EDGE_MIN; LWLowEdgeSet = FREQ_LW_LOW_EDGE_MIN;
@@ -542,7 +545,13 @@ void setup() {
AdvRadiotextSprite.setTextDatum(TL_DATUM); AdvRadiotextSprite.setTextDatum(TL_DATUM);
RDSSprite.setTextDatum(TL_DATUM); RDSSprite.setTextDatum(TL_DATUM);
SquelchSprite.setTextDatum(TL_DATUM); SquelchSprite.setTextDatum(TL_DATUM);
FrequencySprite.loadFont(FREQFONT); switch (freqfont) {
case 0: FrequencySprite.loadFont(FREQFONT0); break;
case 1: FrequencySprite.loadFont(FREQFONT1); break;
case 2: FrequencySprite.loadFont(FREQFONT2); break;
case 3: FrequencySprite.loadFont(FREQFONT3); break;
case 4: FrequencySprite.loadFont(FREQFONT4); break;
}
if (language == LANGUAGE_CHS) { if (language == LANGUAGE_CHS) {
RadiotextSprite.loadFont(FONT16_CHS); RadiotextSprite.loadFont(FONT16_CHS);
@@ -1705,6 +1714,7 @@ void ToggleSWMIBand(bool frequencyup) {
void SelectBand() { void SelectBand() {
if (band > BAND_GAP) { if (band > BAND_GAP) {
seek = false; seek = false;
if (!screenmute) tft.drawBitmap(92, 4, Speaker, 26, 22, GreyoutColor);
if (tunemode == TUNE_MI_BAND && band != BAND_SW) tunemode = TUNE_MAN; if (tunemode == TUNE_MI_BAND && band != BAND_SW) tunemode = TUNE_MAN;
BWreset = true; BWreset = true;
BWset = BWsetAM; BWset = BWsetAM;
@@ -1760,6 +1770,7 @@ void BWButtonPress() {
if (!usesquelch) radio.setUnMute(); if (!usesquelch) radio.setUnMute();
if (!menu) { if (!menu) {
seek = false; seek = false;
if (!screenmute) tft.drawBitmap(92, 4, Speaker, 26, 22, GreyoutColor);
unsigned long counterold = millis(); unsigned long counterold = millis();
unsigned long counter = millis(); unsigned long counter = millis();
while (digitalRead(BWBUTTON) == LOW && counter - counterold <= 1000) counter = millis(); while (digitalRead(BWBUTTON) == LOW && counter - counterold <= 1000) counter = millis();
@@ -1824,6 +1835,7 @@ void ModeButtonPress() {
} else { } else {
if (!menu) { if (!menu) {
seek = false; seek = false;
if (!screenmute) tft.drawBitmap(92, 4, Speaker, 26, 22, GreyoutColor);
memorystore = false; memorystore = false;
unsigned long counterold = millis(); unsigned long counterold = millis();
unsigned long counter = millis(); unsigned long counter = millis();
@@ -1869,9 +1881,6 @@ void ModeButtonPress() {
radio.clearRDS(fullsearchrds); radio.clearRDS(fullsearchrds);
CheckBandForbiddenFM(); CheckBandForbiddenFM();
CheckBandForbiddenAM(); CheckBandForbiddenAM();
BuildDisplay();
ShowSignalLevel();
ShowBW();
menu = false; menu = false;
menuopen = false; menuopen = false;
LowLevelInit = true; LowLevelInit = true;
@@ -1941,6 +1950,7 @@ void ModeButtonPress() {
AdvRadiotextSprite.unloadFont(); AdvRadiotextSprite.unloadFont();
RDSSprite.unloadFont(); RDSSprite.unloadFont();
SquelchSprite.unloadFont(); SquelchSprite.unloadFont();
FrequencySprite.unloadFont();
if (language == LANGUAGE_CHS) { if (language == LANGUAGE_CHS) {
RadiotextSprite.loadFont(FONT16_CHS); RadiotextSprite.loadFont(FONT16_CHS);
AdvRadiotextSprite.loadFont(FONT16_CHS); AdvRadiotextSprite.loadFont(FONT16_CHS);
@@ -1952,6 +1962,17 @@ void ModeButtonPress() {
RDSSprite.loadFont(FONT16); RDSSprite.loadFont(FONT16);
SquelchSprite.loadFont(FONT16); SquelchSprite.loadFont(FONT16);
} }
switch (freqfont) {
case 0: FrequencySprite.loadFont(FREQFONT0); break;
case 1: FrequencySprite.loadFont(FREQFONT1); break;
case 2: FrequencySprite.loadFont(FREQFONT2); break;
case 3: FrequencySprite.loadFont(FREQFONT3); break;
case 4: FrequencySprite.loadFont(FREQFONT4); break;
}
BuildDisplay();
ShowSignalLevel();
ShowBW();
MWLowEdgeSet = mwstepsize == false ? FREQ_MW_LOW_EDGE_MIN_9K : FREQ_MW_LOW_EDGE_MIN_10K; MWLowEdgeSet = mwstepsize == false ? FREQ_MW_LOW_EDGE_MIN_9K : FREQ_MW_LOW_EDGE_MIN_10K;
MWHighEdgeSet = mwstepsize == false ? FREQ_MW_HIGH_EDGE_MAX_9K : FREQ_MW_HIGH_EDGE_MAX_10K; MWHighEdgeSet = mwstepsize == false ? FREQ_MW_HIGH_EDGE_MAX_9K : FREQ_MW_HIGH_EDGE_MAX_10K;
doBandSelectionFM(); doBandSelectionFM();
@@ -1987,15 +2008,15 @@ void ShowStepSize() {
if (!advancedRDS) { if (!advancedRDS) {
tft.fillRect(222, 38, 15, 4, GreyoutColor); tft.fillRect(222, 38, 15, 4, GreyoutColor);
tft.fillRect(193, 38, 15, 4, GreyoutColor); tft.fillRect(193, 38, 15, 4, GreyoutColor);
if (band < BAND_GAP) tft.fillRect(148, 38, 15, 4, GreyoutColor); else tft.fillRect(162, 38, 15, 4, GreyoutColor); if (band < BAND_GAP) tft.fillRect(144, 38, 15, 4, GreyoutColor); else tft.fillRect(162, 38, 15, 4, GreyoutColor);
if (band < BAND_GAP) tft.fillRect(116, 38, 15, 4, GreyoutColor); else if (band != BAND_LW && band != BAND_MW) tft.fillRect(130, 38, 15, 4, GreyoutColor); if (band < BAND_GAP) tft.fillRect(110, 38, 15, 4, GreyoutColor); else if (band != BAND_LW && band != BAND_MW) tft.fillRect(130, 38, 15, 4, GreyoutColor);
if (stepsize == 1) tft.fillRect(222, 38, 15, 4, InsignificantColor); if (stepsize == 1) tft.fillRect(222, 38, 15, 4, InsignificantColor);
if (stepsize == 2) tft.fillRect(193, 38, 15, 4, InsignificantColor); if (stepsize == 2) tft.fillRect(193, 38, 15, 4, InsignificantColor);
if (stepsize == 3) { if (stepsize == 3) {
if (band < BAND_GAP) tft.fillRect(148, 38, 15, 4, InsignificantColor); else tft.fillRect(162, 38, 15, 4, InsignificantColor); if (band < BAND_GAP) tft.fillRect(144, 38, 15, 4, InsignificantColor); else tft.fillRect(162, 38, 15, 4, InsignificantColor);
} }
if (stepsize == 4) { if (stepsize == 4) {
if (band < BAND_GAP) tft.fillRect(116, 38, 15, 4, InsignificantColor); else tft.fillRect(130, 38, 15, 4, InsignificantColor); if (band < BAND_GAP) tft.fillRect(110, 38, 15, 4, InsignificantColor); else tft.fillRect(130, 38, 15, 4, InsignificantColor);
} }
} }
} }
@@ -2131,6 +2152,7 @@ void ButtonPress() {
} }
} else { } else {
seek = false; seek = false;
if (!screenmute) tft.drawBitmap(92, 4, Speaker, 26, 22, GreyoutColor);
unsigned long counterold = millis(); unsigned long counterold = millis();
unsigned long counter = millis(); unsigned long counter = millis();
while (digitalRead(ROTARY_BUTTON) == LOW && counter - counterold <= 1000) counter = millis(); while (digitalRead(ROTARY_BUTTON) == LOW && counter - counterold <= 1000) counter = millis();
@@ -2413,7 +2435,7 @@ void ShowFreq(int mode) {
case BAND_SW: frequency_AM = frequency_SW; break; case BAND_SW: frequency_AM = frequency_SW; break;
} }
FrequencySprite.fillSprite(BackgroundColor); FrequencySprite.fillSprite(BackgroundColor);
FrequencySprite.setTextColor(PrimaryColor, PrimaryColorSmooth, false); FrequencySprite.setTextColor(FreqColor, FreqColorSmooth, false);
FrequencySprite.drawString(String(frequency_AM) + " ", 218, -6); FrequencySprite.drawString(String(frequency_AM) + " ", 218, -6);
FrequencySprite.setTextColor(SecondaryColor, SecondaryColorSmooth, false); FrequencySprite.setTextColor(SecondaryColor, SecondaryColorSmooth, false);
FrequencySprite.setTextDatum(TL_DATUM); FrequencySprite.setTextDatum(TL_DATUM);
@@ -2424,7 +2446,13 @@ void ShowFreq(int mode) {
} }
if (!screenmute) FrequencySprite.pushSprite(46, 46); if (!screenmute) FrequencySprite.pushSprite(46, 46);
FrequencySprite.setTextDatum(TR_DATUM); FrequencySprite.setTextDatum(TR_DATUM);
FrequencySprite.loadFont(FREQFONT); switch (freqfont) {
case 0: FrequencySprite.loadFont(FREQFONT0); break;
case 1: FrequencySprite.loadFont(FREQFONT1); break;
case 2: FrequencySprite.loadFont(FREQFONT2); break;
case 3: FrequencySprite.loadFont(FREQFONT3); break;
case 4: FrequencySprite.loadFont(FREQFONT4); break;
}
freqold = frequency_AM; freqold = frequency_AM;
} else { } else {
unsigned int freq = 0; unsigned int freq = 0;
@@ -2442,7 +2470,7 @@ void ShowFreq(int mode) {
} else { } else {
if (mode == 0) { if (mode == 0) {
FrequencySprite.fillSprite(BackgroundColor); FrequencySprite.fillSprite(BackgroundColor);
FrequencySprite.setTextColor(PrimaryColor, PrimaryColorSmooth, false); FrequencySprite.setTextColor(FreqColor, FreqColorSmooth, false);
FrequencySprite.drawString(String(freq / 100) + "." + (freq % 100 < 10 ? "0" : "") + String(freq % 100) + " ", 218, -6); FrequencySprite.drawString(String(freq / 100) + "." + (freq % 100 < 10 ? "0" : "") + String(freq % 100) + " ", 218, -6);
FrequencySprite.pushSprite(46, 46); FrequencySprite.pushSprite(46, 46);
freqold = freq; freqold = freq;
@@ -2541,8 +2569,8 @@ void ShowSignalLevel() {
if (advancedRDS) { if (advancedRDS) {
tftReplace(1, String(SStatusold / 10) + "." + String(abs(SStatusold % 10)), String(SStatusprint / 10) + "." + String(abs(SStatusprint % 10)), 273, 51, PrimaryColor, PrimaryColorSmooth, 16); tftReplace(1, String(SStatusold / 10) + "." + String(abs(SStatusold % 10)), String(SStatusprint / 10) + "." + String(abs(SStatusprint % 10)), 273, 51, PrimaryColor, PrimaryColorSmooth, 16);
} else { } else {
if (SStatusold / 10 != SStatusprint / 10) tftReplace(1, String(SStatusold / 10), String(SStatusprint / 10), 288, 105, PrimaryColor, PrimaryColorSmooth, 48); if (SStatusold / 10 != SStatusprint / 10) tftReplace(1, String(SStatusold / 10), String(SStatusprint / 10), 288, 105, FreqColor, FreqColorSmooth, 48);
tftReplace(1, "." + String(abs(SStatusold % 10)), "." + String(abs(SStatusprint % 10)), 310, 105, PrimaryColor, PrimaryColorSmooth, 28); tftReplace(1, "." + String(abs(SStatusold % 10)), "." + String(abs(SStatusprint % 10)), 310, 105, FreqColor, FreqColorSmooth, 28);
if (band < BAND_GAP) segments = (SStatus + 200) / 10; else segments = (SStatus + 200) / 10; if (band < BAND_GAP) segments = (SStatus + 200) / 10; else segments = (SStatus + 200) / 10;
@@ -3538,6 +3566,7 @@ void DefaultSettings(byte userhardwaremodel) {
EEPROM.writeByte(EE_BYTE_SPISPEED, 0); EEPROM.writeByte(EE_BYTE_SPISPEED, 0);
EEPROM.writeByte(EE_BYTE_AMSCANSENS, 4); EEPROM.writeByte(EE_BYTE_AMSCANSENS, 4);
EEPROM.writeByte(EE_BYTE_FMSCANSENS, 4); EEPROM.writeByte(EE_BYTE_FMSCANSENS, 4);
EEPROM.writeByte(EE_BYTE_FREQFONT, 3);
EEPROM.commit(); EEPROM.commit();
} }
@@ -3593,7 +3622,15 @@ void tftPrint(int8_t offset, const String &text, int16_t x, int16_t y, int color
if (fontsize == 28) selectedFont = FONT28; if (fontsize == 28) selectedFont = FONT28;
} }
if (fontsize == 48) selectedFont = FONT48; if (fontsize == 48) selectedFont = FONT48;
if (fontsize == 52) selectedFont = FREQFONT; if (fontsize == 52) {
switch (freqfont) {
case 0: selectedFont = FREQFONT0; break;
case 1: selectedFont = FREQFONT1; break;
case 2: selectedFont = FREQFONT2; break;
case 3: selectedFont = FREQFONT3; break;
case 4: selectedFont = FREQFONT4; break;
}
}
if (currentFont != selectedFont || resetFontOnNextCall) { if (currentFont != selectedFont || resetFontOnNextCall) {
if (currentFont != nullptr) tft.unloadFont(); if (currentFont != nullptr) tft.unloadFont();
+4554 -1608
View File
File diff suppressed because it is too large Load Diff
+8 -5
View File
@@ -109,7 +109,7 @@
#define EE_PRESETS_CNT 99 #define EE_PRESETS_CNT 99
#define EE_CHECKBYTE_VALUE 3 // 0 ~ 255,add new entry, change for new value #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_UINT16_FREQUENCY_FM 0
#define EE_BYTE_VOLSET 4 #define EE_BYTE_VOLSET 4
#define EE_BYTE_STEREO 5 #define EE_BYTE_STEREO 5
@@ -187,15 +187,18 @@
#define EE_BYTE_SPISPEED 121 #define EE_BYTE_SPISPEED 121
#define EE_BYTE_AMSCANSENS 122 #define EE_BYTE_AMSCANSENS 122
#define EE_BYTE_FMSCANSENS 123 #define EE_BYTE_FMSCANSENS 123
#define EE_PRESETS_BAND_START 124 #define EE_BYTE_FREQFONT 124
#define EE_PRESET_BW_START 224 #define EE_PRESETS_BAND_START 125
#define EE_PRESET_MS_START 324 #define EE_PRESET_BW_START 225
#define EE_PRESETS_START 424 #define EE_PRESET_MS_START 325
#define EE_PRESETS_START 425
#define EE_PRESETS_FREQUENCY 0 #define EE_PRESETS_FREQUENCY 0
// End of EEPROM index defines // End of EEPROM index defines
static const char* const unitString[] = {"dBμV", "dBf", "dBm"}; 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 // FM band: before BAND_GAP; AM band: after BAND_GAP
enum RADIO_BAND { enum RADIO_BAND {
+113 -53
View File
@@ -7,7 +7,7 @@
#include <cstring> #include <cstring>
byte menuitem; byte menuitem;
byte items[8] = {8, static_cast<byte>(dynamicspi ? 3 : 2), 7, 10, 9, 10, 10, 5}; byte items[8] = {8, static_cast<byte>(dynamicspi ? 4 : 3), 7, 10, 9, 10, 10, 5};
void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de/online/rgb565-color-picker/ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de/online/rgb565-color-picker/
switch (CurrentTheme) { switch (CurrentTheme) {
@@ -21,6 +21,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
FreqColor = TFT_YELLOW;
FreqColorSmooth = 0x2120;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
SignificantColorSmooth = 0x2000; SignificantColorSmooth = 0x2000;
InsignificantColor = TFT_GREEN; InsignificantColor = TFT_GREEN;
@@ -35,7 +37,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x0144; BWAutoColorSmooth = 0x0144;
BatteryValueColor = 0x07F7; BatteryValueColor = 0x07F7;
BatteryValueColorSmooth = TFT_BLACK; BatteryValueColorSmooth = TFT_BLACK;
CurrentThemeString = myLanguage[language][78];
break; break;
case 1: // Cyan theme case 1: // Cyan theme
PrimaryColor = 0x0F3F; PrimaryColor = 0x0F3F;
@@ -45,6 +46,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x01e9; FrameColor = 0x01e9;
GreyoutColor = 0x2A08; GreyoutColor = 0x2A08;
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
FreqColor = 0x0F3F;
FreqColorSmooth = 0x0105;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
@@ -61,7 +64,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x0144; BWAutoColorSmooth = 0x0144;
BatteryValueColor = 0x07F7; BatteryValueColor = 0x07F7;
BatteryValueColorSmooth = 0x0144; BatteryValueColorSmooth = 0x0144;
CurrentThemeString = myLanguage[language][79];
break; break;
case 2: // Crimson theme case 2: // Crimson theme
PrimaryColor = 0xF8C3; PrimaryColor = 0xF8C3;
@@ -71,6 +73,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x3800; FrameColor = 0x3800;
GreyoutColor = 0x4A69; GreyoutColor = 0x4A69;
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
FreqColor = 0xF8C3;
FreqColorSmooth = 0x3800;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
SignificantColor = TFT_GREEN; SignificantColor = TFT_GREEN;
@@ -87,7 +91,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x4124; BWAutoColorSmooth = 0x4124;
BatteryValueColor = 0xFA8D; BatteryValueColor = 0xFA8D;
BatteryValueColorSmooth = 0x3083; BatteryValueColorSmooth = 0x3083;
CurrentThemeString = myLanguage[language][80];
break; break;
case 3: // Monochrome theme case 3: // Monochrome theme
PrimaryColor = TFT_WHITE; PrimaryColor = TFT_WHITE;
@@ -97,6 +100,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x2965; FrameColor = 0x2965;
GreyoutColor = 0x4A69; GreyoutColor = 0x4A69;
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
FreqColor = TFT_WHITE;
FreqColorSmooth = TFT_BLACK;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = TFT_BLACK; ActiveColorSmooth = TFT_BLACK;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
@@ -113,7 +118,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x1082; BWAutoColorSmooth = 0x1082;
BatteryValueColor = TFT_WHITE; BatteryValueColor = TFT_WHITE;
BatteryValueColorSmooth = TFT_BLACK; BatteryValueColorSmooth = TFT_BLACK;
CurrentThemeString = myLanguage[language][81];
break; break;
case 4: // Volcano theme case 4: // Volcano theme
PrimaryColor = TFT_ORANGE; PrimaryColor = TFT_ORANGE;
@@ -123,6 +127,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x2965; FrameColor = 0x2965;
GreyoutColor = 0x5140; GreyoutColor = 0x5140;
BackgroundColor = 0x0806; BackgroundColor = 0x0806;
FreqColor = TFT_ORANGE;
FreqColorSmooth = 0x2965;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
@@ -139,7 +145,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x3080; BWAutoColorSmooth = 0x3080;
BatteryValueColor = 0xF980; BatteryValueColor = 0xF980;
BatteryValueColorSmooth = 0x3080; BatteryValueColorSmooth = 0x3080;
CurrentThemeString = myLanguage[language][82];
break; break;
case 5: // Dendro theme case 5: // Dendro theme
PrimaryColor = TFT_GREEN; PrimaryColor = TFT_GREEN;
@@ -149,6 +154,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x0200; FrameColor = 0x0200;
GreyoutColor = 0x4A69; GreyoutColor = 0x4A69;
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
FreqColor = TFT_GREEN;
FreqColorSmooth = 0x0200;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
@@ -165,7 +172,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x0184; BWAutoColorSmooth = 0x0184;
BatteryValueColor = 0x07F6; BatteryValueColor = 0x07F6;
BatteryValueColorSmooth = 0x0184; BatteryValueColorSmooth = 0x0184;
CurrentThemeString = myLanguage[language][83];
break; break;
case 6: // Sakura theme case 6: // Sakura theme
PrimaryColor = 0xF3D5; PrimaryColor = 0xF3D5;
@@ -175,6 +181,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x3845; FrameColor = 0x3845;
GreyoutColor = 0x38C5; GreyoutColor = 0x38C5;
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
FreqColor = 0xF3D5;
FreqColorSmooth = 0x3008;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
@@ -191,7 +199,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x2802; BWAutoColorSmooth = 0x2802;
BatteryValueColor = 0xF00A; BatteryValueColor = 0xF00A;
BatteryValueColorSmooth = 0x2802; BatteryValueColorSmooth = 0x2802;
CurrentThemeString = myLanguage[language][84];
break; break;
case 7: // Whiteout theme case 7: // Whiteout theme
PrimaryColor = TFT_BLACK; PrimaryColor = TFT_BLACK;
@@ -201,6 +208,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x630C; FrameColor = 0x630C;
GreyoutColor = 0x9492; GreyoutColor = 0x9492;
BackgroundColor = 0xDFFC; BackgroundColor = 0xDFFC;
FreqColor = TFT_BLACK;
FreqColorSmooth = TFT_WHITE;
ActiveColor = TFT_BLACK; ActiveColor = TFT_BLACK;
ActiveColorSmooth = 0xDFFC; ActiveColorSmooth = 0xDFFC;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
@@ -217,7 +226,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = TFT_WHITE; BWAutoColorSmooth = TFT_WHITE;
BatteryValueColor = TFT_BLACK; BatteryValueColor = TFT_BLACK;
BatteryValueColorSmooth = TFT_WHITE; BatteryValueColorSmooth = TFT_WHITE;
CurrentThemeString = myLanguage[language][85];
break; break;
case 8: // Tangerine theme case 8: // Tangerine theme
PrimaryColor = 0xF980; PrimaryColor = 0xF980;
@@ -227,6 +235,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x38A1; FrameColor = 0x38A1;
GreyoutColor = 0x6247; GreyoutColor = 0x6247;
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
FreqColor = 0xF980;
FreqColorSmooth = 0x3080;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
@@ -243,7 +253,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x3940; BWAutoColorSmooth = 0x3940;
BatteryValueColor = 0xED20; BatteryValueColor = 0xED20;
BatteryValueColorSmooth = 0x3940; BatteryValueColorSmooth = 0x3940;
CurrentThemeString = myLanguage[language][170];
break; break;
case 9: // Ocean theme case 9: // Ocean theme
PrimaryColor = 0x01FF; PrimaryColor = 0x01FF;
@@ -253,12 +262,14 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x0010; FrameColor = 0x0010;
GreyoutColor = 0x420C; GreyoutColor = 0x420C;
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
FreqColor = 0x01FF;
FreqColorSmooth = 0x0006;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
SignificantColorSmooth = 0x2000; SignificantColorSmooth = 0x2000;
InsignificantColor = TFT_GREEN; InsignificantColor = 0x0F3F;
InsignificantColorSmooth = 0x00C0; InsignificantColorSmooth = 0x0105;
StereoColor = 0x01FF; StereoColor = 0x01FF;
StereoColorSmooth = 0x0006; StereoColorSmooth = 0x0006;
RDSColor = 0x01FF; RDSColor = 0x01FF;
@@ -269,7 +280,6 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x0106; BWAutoColorSmooth = 0x0106;
BatteryValueColor = 0x051F; BatteryValueColor = 0x051F;
BatteryValueColorSmooth = 0x0106; BatteryValueColorSmooth = 0x0106;
CurrentThemeString = myLanguage[language][171];
break; break;
case 10: // Indigo theme case 10: // Indigo theme
PrimaryColor = 0x881F; PrimaryColor = 0x881F;
@@ -279,6 +289,8 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
FrameColor = 0x6016; FrameColor = 0x6016;
GreyoutColor = 0x49AC; GreyoutColor = 0x49AC;
BackgroundColor = TFT_BLACK; BackgroundColor = TFT_BLACK;
FreqColor = 0x881F;
FreqColorSmooth = 0x2007;
ActiveColor = TFT_WHITE; ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3; ActiveColorSmooth = 0x18E3;
SignificantColor = TFT_RED; SignificantColor = TFT_RED;
@@ -295,7 +307,34 @@ void doTheme() { // Use this to put your own colors in: http://www.barth-dev.de
BWAutoColorSmooth = 0x400A; BWAutoColorSmooth = 0x400A;
BatteryValueColor = 0xD01F; BatteryValueColor = 0xD01F;
BatteryValueColorSmooth = 0x400A; BatteryValueColorSmooth = 0x400A;
CurrentThemeString = myLanguage[language][172]; break;
case 11: // GoldBrite
PrimaryColor = TFT_YELLOW;
PrimaryColorSmooth = 0x2120;
SecondaryColor = TFT_SKYBLUE;
SecondaryColorSmooth = 0x10E4;
FrameColor = TFT_BLUE;
GreyoutColor = 0x39A7;
BackgroundColor = TFT_BLACK;
ActiveColor = TFT_WHITE;
ActiveColorSmooth = 0x18E3;
FreqColor = TFT_WHITE;
FreqColorSmooth = 0x18E3;
SignificantColor = TFT_RED;
SignificantColorSmooth = 0x2000;
InsignificantColor = 0x01FF;
InsignificantColorSmooth = 0x0006;
StereoColor = TFT_RED;
StereoColorSmooth = 0x2000;
RDSColor = TFT_YELLOW;
RDSColorSmooth = 0x2120;
BarSignificantColor = TFT_RED;
BarInsignificantColor = 0x01FF;
BWAutoColor = 0x07F7;
BWAutoColorSmooth = 0x0144;
BatteryValueColor = 0x07F7;
BatteryValueColorSmooth = TFT_BLACK;
break; break;
} }
} }
@@ -385,6 +424,7 @@ void BuildMenu() {
case MAINSETTINGS: case MAINSETTINGS:
tftPrint(-1, myLanguage[language][108], 8, ITEM1 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(-1, myLanguage[language][108], 8, ITEM1 + 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(-1, myLanguage[language][107], 8, ITEM2 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(-1, myLanguage[language][107], 8, ITEM2 + 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(-1, myLanguage[language][75], 8, ITEM3 + 6, ActiveColor, ActiveColorSmooth, 16);
switch (hardwaremodel) { switch (hardwaremodel) {
case BASE_ILI9341: tftPrint(1, myLanguage[language][109], 310, ITEM1 + 6, PrimaryColor, PrimaryColorSmooth, 16); break; case BASE_ILI9341: tftPrint(1, myLanguage[language][109], 310, ITEM1 + 6, PrimaryColor, PrimaryColorSmooth, 16); break;
@@ -393,12 +433,13 @@ void BuildMenu() {
} }
if (touchrotating) tftPrint(1, myLanguage[language][42], 310, ITEM2 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM2 + 6, PrimaryColor, PrimaryColorSmooth, 16); if (touchrotating) tftPrint(1, myLanguage[language][42], 310, ITEM2 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM2 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (tot != 0) tftPrint(1, String(tot), 270, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (tot != 0) tftPrint(1, myLanguage[language][205], 310, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (dynamicspi) { if (dynamicspi) {
tftPrint(1, "MHz", 310, ITEM3 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(1, "MHz", 310, ITEM4 + 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(-1, myLanguage[language][206], 8, ITEM3 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(-1, myLanguage[language][206], 8, ITEM4 + 6, ActiveColor, ActiveColorSmooth, 16);
if (spispeed == SPI_SPEED_DEFAULT) tftPrint(1, String(myLanguage[language][78]) + " " + String(SPI_FREQUENCY / 1000000, DEC), 270, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16); if (spispeed == SPI_SPEED_DEFAULT) tftPrint(1, String(myLanguage[language][78]) + " " + String(SPI_FREQUENCY / 1000000, DEC), 270, ITEM4 + 6, PrimaryColor, PrimaryColorSmooth, 16);
else tftPrint(1, String(spispeed * 10, DEC), 270, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, String(spispeed * 10, DEC), 270, ITEM4 + 6, PrimaryColor, PrimaryColorSmooth, 16);
} }
break; break;
@@ -435,17 +476,16 @@ void BuildMenu() {
tftPrint(-1, myLanguage[language][74], 8, ITEM7 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(-1, myLanguage[language][74], 8, ITEM7 + 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(-1, myLanguage[language][173], 8, ITEM8 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(-1, myLanguage[language][173], 8, ITEM8 + 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(-1, myLanguage[language][98], 8, ITEM9 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(-1, myLanguage[language][98], 8, ITEM9 + 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(-1, myLanguage[language][75], 8, ITEM10 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(-1, myLanguage[language][210], 8, ITEM10 + 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(1, myLanguage[language][0], 310, ITEM1 + 6, PrimaryColor, PrimaryColorSmooth, 16); tftPrint(1, myLanguage[language][0], 310, ITEM1 + 6, PrimaryColor, PrimaryColorSmooth, 16);
tftPrint(1, "%", 310, ITEM2 + 6, ActiveColor, ActiveColorSmooth, 16); tftPrint(1, "%", 310, ITEM2 + 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(1, String(ContrastSet, DEC), 270, ITEM2 + 6, PrimaryColor, PrimaryColorSmooth, 16); tftPrint(1, String(ContrastSet, DEC), 270, ITEM2 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (usesquelch) tftPrint(1, myLanguage[language][42], 310, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16); if (usesquelch) tftPrint(1, myLanguage[language][42], 310, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM3 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (showmodulation) tftPrint(1, myLanguage[language][42], 310, ITEM4 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM4 + 6, PrimaryColor, PrimaryColorSmooth, 16); if (showmodulation) tftPrint(1, myLanguage[language][42], 310, ITEM4 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM4 + 6, PrimaryColor, PrimaryColorSmooth, 16);
tftPrint(1, CurrentThemeString, 310, ITEM5 + 6, PrimaryColor, PrimaryColorSmooth, 16); tftPrint(1, Theme[CurrentTheme], 310, ITEM5 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (screensaverset) tftPrint(1, myLanguage[language][92], 310, ITEM6 + 6, ActiveColor, ActiveColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM6 + 6, PrimaryColor, PrimaryColorSmooth, 16); if (screensaverset) tftPrint(1, myLanguage[language][92], 310, ITEM6 + 6, ActiveColor, ActiveColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM6 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (screensaverset) tftPrint(1, String(screensaverOptions[screensaverset], DEC), 270, ITEM6 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM6 + 6, PrimaryColor, PrimaryColorSmooth, 16); if (screensaverset) tftPrint(1, String(screensaverOptions[screensaverset], DEC), 270, ITEM6 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM6 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (tot != 0) tftPrint(1, myLanguage[language][205], 310, ITEM10 + 6, PrimaryColor, PrimaryColorSmooth, 16); else tftPrint(1, myLanguage[language][30], 310, ITEM10 + 6, PrimaryColor, PrimaryColorSmooth, 16);
switch (poweroptions) { switch (poweroptions) {
case LCD_OFF: tftPrint(1, myLanguage[language][76], 310, ITEM7 + 6, PrimaryColor, PrimaryColorSmooth, 16); break; case LCD_OFF: tftPrint(1, myLanguage[language][76], 310, ITEM7 + 6, PrimaryColor, PrimaryColorSmooth, 16); break;
@@ -461,7 +501,7 @@ void BuildMenu() {
} }
tftPrint(1, unitString[unit], 310, ITEM9 + 6, PrimaryColor, PrimaryColorSmooth, 16); tftPrint(1, unitString[unit], 310, ITEM9 + 6, PrimaryColor, PrimaryColorSmooth, 16);
if (tot != 0) tftPrint(1, String(tot), 270, ITEM10 + 6, PrimaryColor, PrimaryColorSmooth, 16); tftPrint(1, FreqFont[freqfont], 310, ITEM10 + 6, PrimaryColor, PrimaryColorSmooth, 16);
break; break;
case RDSSETTINGS: case RDSSETTINGS:
@@ -907,6 +947,20 @@ void MenuUp() {
break; break;
case ITEM3: case ITEM3:
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, BackgroundColor, BackgroundColor, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
switch (tot) {
case 0: tot = 15; break;
case 15: tot = 30; break;
case 30: tot = 60; break;
case 60: tot = 90; break;
default: tot = 0; break;
}
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break;
case ITEM4:
if (spispeed == SPI_SPEED_DEFAULT) tftPrint(1, String(myLanguage[language][78]) + " " + String(SPI_FREQUENCY / 1000000, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); if (spispeed == SPI_SPEED_DEFAULT) tftPrint(1, String(myLanguage[language][78]) + " " + String(SPI_FREQUENCY / 1000000, DEC), 155, 118, BackgroundColor, BackgroundColor, 28);
else tftPrint(1, String(spispeed * 10, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, String(spispeed * 10, DEC), 155, 118, BackgroundColor, BackgroundColor, 28);
@@ -1022,12 +1076,12 @@ void MenuUp() {
case ITEM5: case ITEM5:
CurrentTheme ++; CurrentTheme ++;
if (CurrentTheme > 10) CurrentTheme = 0; if (CurrentTheme > 11) CurrentTheme = 0;
doTheme(); doTheme();
tft.drawRoundRect(10, 30, 300, 170, 5, ActiveColor); tft.drawRoundRect(10, 30, 300, 170, 5, ActiveColor);
tft.fillRoundRect(12, 32, 296, 166, 5, BackgroundColor); tft.fillRoundRect(12, 32, 296, 166, 5, BackgroundColor);
tftPrint(0, myLanguage[language][77], 155, 78, ActiveColor, ActiveColorSmooth, 28); tftPrint(0, myLanguage[language][77], 155, 78, ActiveColor, ActiveColorSmooth, 28);
tftPrint(0, CurrentThemeString, 155, 118, PrimaryColor, PrimaryColorSmooth, 28); tftPrint(0, Theme[CurrentTheme], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break; break;
case ITEM6: case ITEM6:
@@ -1085,17 +1139,10 @@ void MenuUp() {
break; break;
case ITEM10: case ITEM10:
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, BackgroundColor, BackgroundColor, 28); tftPrint(0, String(FreqFont[freqfont]), 155, 118, BackgroundColor, BackgroundColor, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28); freqfont ++;
switch (tot) { if (freqfont > 4) freqfont = 0;
case 0: tot = 15; break; tftPrint(0, String(FreqFont[freqfont]), 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
case 15: tot = 30; break;
case 30: tot = 60; break;
case 60: tot = 90; break;
default: tot = 0; break;
}
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break; break;
} }
break; break;
@@ -1482,7 +1529,22 @@ void MenuDown() {
if (touchrotating) touchrotating = 0; else touchrotating = 1; if (touchrotating) touchrotating = 0; else touchrotating = 1;
if (touchrotating) tftPrint(0, myLanguage[language][42], 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28); if (touchrotating) tftPrint(0, myLanguage[language][42], 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break; break;
case ITEM3: case ITEM3:
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, BackgroundColor, BackgroundColor, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
switch (tot) {
case 15: tot = 0; break;
case 30: tot = 15; break;
case 60: tot = 30; break;
case 90: tot = 60; break;
default: tot = 90; break;
}
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break;
case ITEM4:
if (spispeed == SPI_SPEED_DEFAULT) tftPrint(1, String(myLanguage[language][78]) + " " + String(SPI_FREQUENCY / 1000000, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); if (spispeed == SPI_SPEED_DEFAULT) tftPrint(1, String(myLanguage[language][78]) + " " + String(SPI_FREQUENCY / 1000000, DEC), 155, 118, BackgroundColor, BackgroundColor, 28);
else tftPrint(1, String(spispeed * 10, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, String(spispeed * 10, DEC), 155, 118, BackgroundColor, BackgroundColor, 28);
@@ -1599,12 +1661,12 @@ void MenuDown() {
case ITEM5: case ITEM5:
CurrentTheme --; CurrentTheme --;
if (CurrentTheme > 10) CurrentTheme = 10; if (CurrentTheme > 10) CurrentTheme = 11;
doTheme(); doTheme();
tft.drawRoundRect(10, 30, 300, 170, 5, ActiveColor); tft.drawRoundRect(10, 30, 300, 170, 5, ActiveColor);
tft.fillRoundRect(12, 32, 296, 166, 5, BackgroundColor); tft.fillRoundRect(12, 32, 296, 166, 5, BackgroundColor);
tftPrint(0, myLanguage[language][77], 155, 78, ActiveColor, ActiveColorSmooth, 28); tftPrint(0, myLanguage[language][77], 155, 78, ActiveColor, ActiveColorSmooth, 28);
tftPrint(0, CurrentThemeString, 155, 118, PrimaryColor, PrimaryColorSmooth, 28); tftPrint(0, Theme[CurrentTheme], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break; break;
case ITEM6: case ITEM6:
@@ -1662,17 +1724,10 @@ void MenuDown() {
break; break;
case ITEM10: case ITEM10:
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, BackgroundColor, BackgroundColor, 28); tftPrint(0, String(FreqFont[freqfont]), 155, 118, BackgroundColor, BackgroundColor, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28); freqfont --;
switch (tot) { if (freqfont > 4) freqfont = 4;
case 15: tot = 0; break; tftPrint(0, String(FreqFont[freqfont]), 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
case 30: tot = 15; break;
case 60: tot = 30; break;
case 90: tot = 60; break;
default: tot = 90; break;
}
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break; break;
} }
break; break;
@@ -2121,6 +2176,12 @@ void DoMenu() {
break; break;
case ITEM3: case ITEM3:
Infoboxprint(myLanguage[language][75]);
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break;
case ITEM4:
Infoboxprint(myLanguage[language][206]); Infoboxprint(myLanguage[language][206]);
tftPrint(-1, "MHz", 170, 118, ActiveColor, ActiveColorSmooth, 28); tftPrint(-1, "MHz", 170, 118, ActiveColor, ActiveColorSmooth, 28);
if (spispeed == SPI_SPEED_DEFAULT) tftPrint(1, String(myLanguage[language][78]) + " " + String(SPI_FREQUENCY / 1000000, DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, String(spispeed * 10 , DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); if (spispeed == SPI_SPEED_DEFAULT) tftPrint(1, String(myLanguage[language][78]) + " " + String(SPI_FREQUENCY / 1000000, DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, String(spispeed * 10 , DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
@@ -2197,7 +2258,7 @@ void DoMenu() {
case ITEM5: case ITEM5:
Infoboxprint(myLanguage[language][77]); Infoboxprint(myLanguage[language][77]);
tftPrint(0, CurrentThemeString, 155, 118, PrimaryColor, PrimaryColorSmooth, 28); tftPrint(0, Theme[CurrentTheme], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break; break;
case ITEM6: case ITEM6:
@@ -2233,9 +2294,8 @@ void DoMenu() {
break; break;
case ITEM10: case ITEM10:
Infoboxprint(myLanguage[language][75]); Infoboxprint(myLanguage[language][210]);
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28); tftPrint(0, FreqFont[freqfont], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
break; break;
} }
break; break;
+3 -1
View File
@@ -79,6 +79,7 @@ extern byte fmscansens;
extern byte fmdefaultstepsize; extern byte fmdefaultstepsize;
extern byte fmnb; extern byte fmnb;
extern byte fmdeemphasis; extern byte fmdeemphasis;
extern byte freqfont;
extern byte amcodect; extern byte amcodect;
extern byte amcodectcount; extern byte amcodectcount;
extern byte amrfagc; extern byte amrfagc;
@@ -128,6 +129,8 @@ extern int BatteryValueColorSmooth;
extern int BWAutoColor; extern int BWAutoColor;
extern int BWAutoColorSmooth; extern int BWAutoColorSmooth;
extern int FrameColor; extern int FrameColor;
extern int FreqColor;
extern int FreqColorSmooth;
extern int GreyoutColor; extern int GreyoutColor;
extern int InsignificantColor; extern int InsignificantColor;
extern int InsignificantColorSmooth; extern int InsignificantColorSmooth;
@@ -149,7 +152,6 @@ extern int16_t SStatus;
extern int8_t LevelOffset; extern int8_t LevelOffset;
extern int8_t LowLevelSet; extern int8_t LowLevelSet;
extern int8_t VolSet; extern int8_t VolSet;
extern String CurrentThemeString;
extern String eonpsold[20]; extern String eonpsold[20];
extern String PIold; extern String PIold;
extern String pinstringold; extern String pinstringold;
+182 -164
View File
@@ -1,11 +1,11 @@
#ifndef LANGUAGE_H #ifndef LANGUAGE_H
#define LANGUAGE_H #define LANGUAGE_H
#define VERSION "v2.00" #define VERSION "v2.00.1"
// [number of languages][number of texts] // [number of languages][number of texts]
// *** means the text is the same as in English // *** means the text is the same as in English
static const char* const myLanguage[18][210] = { static const char* const myLanguage[18][211] = {
{ "English", // English { "English", // English
"Rotary direction changed", // 1 "Rotary direction changed", // 1
"Please release button", // 2 "Please release button", // 2
@@ -84,14 +84,14 @@ static const char* const myLanguage[18][210] = {
"Time-out timer", // 75 "Time-out timer", // 75
"Screen off", // 76 "Screen off", // 76
"Theme", // 77 "Theme", // 77
"Default", // 78 "", // 78
"Cyan", // 79 "", // 79
"Crimson", // 80 "", // 80
"Monochrome", // 81 "", // 81
"Volcano", // 82 "", // 82
"Dendro", // 83 "", // 83
"Sakura", // 84 "", // 84
"Whiteout", // 85 "", // 85
"NOT POSSIBLE", // 86 "NOT POSSIBLE", // 86
"No AF available", // 87 "No AF available", // 87
"No EON available", // 88 "No EON available", // 88
@@ -215,7 +215,8 @@ static const char* const myLanguage[18][210] = {
"Dynamic SPI speed", // 206 "Dynamic SPI speed", // 206
"Scan sensitivity", // 207 "Scan sensitivity", // 207
"NONE", // 208 "NONE", // 208
"Software version" // 209 "Software version", // 209
"Frequency font" // 210
}, },
{ "Nederlands", // Dutch { "Nederlands", // Dutch
@@ -296,14 +297,14 @@ static const char* const myLanguage[18][210] = {
"Auto uitschakelen", // 75 "Auto uitschakelen", // 75
"Scherm uit", // 76 "Scherm uit", // 76
"Thema", // 77 "Thema", // 77
"Standaard", // 78 "", // 78
"Cyan", // 79 *** "", // 79 ***
"Crimson", // 80 *** "", // 80 ***
"Monochrome", // 81 *** "", // 81 ***
"Volcano", // 82 *** "", // 82 ***
"Dendro", // 83 *** "", // 83 ***
"Sakura", // 84 *** "", // 84 ***
"Whiteout", // 85 *** "", // 85 ***
"NIET MOGELIJK", // 86 "NIET MOGELIJK", // 86
"Geen AF data", // 87 "Geen AF data", // 87
"Geen EON data", // 88 "Geen EON data", // 88
@@ -427,7 +428,8 @@ static const char* const myLanguage[18][210] = {
"Dynamische\nSPI snelheid", // 206 "Dynamische\nSPI snelheid", // 206
"Zoek gevoeligheid", // 207 "Zoek gevoeligheid", // 207
"Geen", // 208 "Geen", // 208
"Software versie" // 209 "Software versie", // 209
"Frequentie font" // 210
}, },
{ "Polski", // Polish { "Polski", // Polish
@@ -508,14 +510,14 @@ static const char* const myLanguage[18][210] = {
"Wyłącznik czasowy", // 75 "Wyłącznik czasowy", // 75
"Wyłącz ekran", // 76 "Wyłącz ekran", // 76
"Motyw", // 77 "Motyw", // 77
"Domyślny", // 78 "", // 78
"Cyan", // 79 *** "", // 79 ***
"Crimson", // 80 *** "", // 80 ***
"Monochrome", // 81 *** "", // 81 ***
"Volcano", // 82 *** "", // 82 ***
"Dendro", // 83 *** "", // 83 ***
"Sakura", // 84 *** "", // 84 ***
"Whiteout", // 85 *** "", // 85 ***
"NIEMOŻLIWE", // 86 "NIEMOŻLIWE", // 86
"AF niedostępny", // 87 "AF niedostępny", // 87
"EON niedostępny", // 88 "EON niedostępny", // 88
@@ -639,7 +641,8 @@ static const char* const myLanguage[18][210] = {
"Dynam. prędkość SPI", // 206 "Dynam. prędkość SPI", // 206
"Czułość skanowania", // 207 "Czułość skanowania", // 207
"BRAK", // 208 "BRAK", // 208
"Wersja oprogramowania" // 209 "Wersja oprogramowania", // 209
"Frequency font" // 210 ***
}, },
{ "Hrvatski", // Croatian { "Hrvatski", // Croatian
@@ -720,14 +723,14 @@ static const char* const myLanguage[18][210] = {
"Time-out timer", // 75 *** "Time-out timer", // 75 ***
"Zaslon isključiti", // 76 "Zaslon isključiti", // 76
"Tema dizajna", // 77 "Tema dizajna", // 77
"Zadano", // 78 "", // 78
"Cyan", // 79 *** "", // 79 ***
"Crimson", // 80 *** "", // 80 ***
"Monochrome", // 81 *** "", // 81 ***
"Volcano", // 82 *** "", // 82 ***
"Dendro", // 83 *** "", // 83 ***
"Sakura", // 84 *** "", // 84 ***
"Whiteout", // 85 *** "", // 85 ***
"NIJE MOGUĆE", // 86 "NIJE MOGUĆE", // 86
"AF nedostupan", // 87 "AF nedostupan", // 87
"EON nedostupan", // 88 "EON nedostupan", // 88
@@ -851,7 +854,8 @@ static const char* const myLanguage[18][210] = {
"Dynamic SPI speed", // 206 *** "Dynamic SPI speed", // 206 ***
"Scan sensitivity", // 207 "Scan sensitivity", // 207
"NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation "NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation
"Software version" // 209 "Software version", // 209
"Frequency font" // 210 ***
}, },
{ "Ελληνικά", // Greek { "Ελληνικά", // Greek
@@ -932,14 +936,14 @@ static const char* const myLanguage[18][210] = {
"Χρονοδιακόπτης λήξης", // 75 "Χρονοδιακόπτης λήξης", // 75
"Οθόνη σβηστή", // 76 "Οθόνη σβηστή", // 76
"Θέμα", // 77 "Θέμα", // 77
"Προεπιλογή", // 78 "", // 78
"Κυανό", // 79 "", // 79
"Βυσσινί", // 80 "", // 80
"Μονόχρωμο", // 81 "", // 81
"Ηφαίστειο", // 82 "", // 82
"Δένδρο", // 83 "", // 83
"Σάκουρα", // 84 "", // 84
"Λευκό τοπίο", // 85 "", // 85
"ΜΗ ΔΥΝΑΤΟ", // 86 "ΜΗ ΔΥΝΑΤΟ", // 86
"Μη διαθέσιμο AF", // 87 "Μη διαθέσιμο AF", // 87
"Μη διαθέσιμο EON", // 88 "Μη διαθέσιμο EON", // 88
@@ -1063,7 +1067,8 @@ static const char* const myLanguage[18][210] = {
"Δυναμική ταχύτητα\nSPI", // 206 "Δυναμική ταχύτητα\nSPI", // 206
"Ευαισθησία\nανίχνευσης", // 207 "Ευαισθησία\nανίχνευσης", // 207
"KAMIA", // 208 "KAMIA", // 208
"Έκδοση λογισμικού" // 209 "Έκδοση λογισμικού", // 209
"Frequency font" // 210 ***
}, },
{ "Română", // Romanian { "Română", // Romanian
@@ -1144,14 +1149,14 @@ static const char* const myLanguage[18][210] = {
"Intervalul de timp", // 75 "Intervalul de timp", // 75
"Ecran oprit", // 76 "Ecran oprit", // 76
"Teme", // 77 "Teme", // 77
"Implicit", // 78 "", // 78
"Cyan", // 79 *** "", // 79 ***
"Crimson", // 80 *** "", // 80 ***
"Monochrome", // 81 *** "", // 81 ***
"Volcano", // 82 *** "", // 82 ***
"Dendro", // 83 *** "", // 83 ***
"Sakura", // 84 *** "", // 84 ***
"Whiteout", // 85 *** "", // 85 ***
"Nu este posibil", // 86 "Nu este posibil", // 86
"Fără AF disponibil", // 87 "Fără AF disponibil", // 87
"Fără EON disponibil", // 88 "Fără EON disponibil", // 88
@@ -1275,7 +1280,8 @@ static const char* const myLanguage[18][210] = {
"Dynamic SPI speed", // 206 *** "Dynamic SPI speed", // 206 ***
"Scan sensitivity", // 207 "Scan sensitivity", // 207
"NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation "NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation
"Software version" // 209 "Software version", // 209
"Frequency font" // 210 ***
}, },
{ "Deutsch", // German { "Deutsch", // German
@@ -1356,14 +1362,14 @@ static const char* const myLanguage[18][210] = {
"Abschaltzeit", // 75 "Abschaltzeit", // 75
"Bildschirm aus", // 76 "Bildschirm aus", // 76
"Thema", // 77 "Thema", // 77
"Standard", // 78 "", // 78
"Cyan", // 79 "", // 79
"Crimson", // 80 "", // 80
"Monochrom", // 81 "", // 81
"Volcano", // 82 "", // 82
"Dendro", // 83 "", // 83
"Sakura", // 84 "", // 84
"Whiteout", // 85 "", // 85
"NICHT MÖGLICH", // 86 "NICHT MÖGLICH", // 86
"Keine AF verfügbar", // 87 "Keine AF verfügbar", // 87
"Kein EON verfügbar", // 88 "Kein EON verfügbar", // 88
@@ -1487,7 +1493,8 @@ static const char* const myLanguage[18][210] = {
"Dynamische \nSPI-Geschwindigkeit", // 206 "Dynamische \nSPI-Geschwindigkeit", // 206
"Scanempfindlichkeit", // 207 "Scanempfindlichkeit", // 207
"KEINE", // 208 "KEINE", // 208
"Softwareversion" // 209 "Softwareversion", // 209
"Frequency font" // 210 ***
}, },
{ "Český", // Czech { "Český", // Czech
@@ -1568,14 +1575,14 @@ static const char* const myLanguage[18][210] = {
"Čas", // 75 "Čas", // 75
"Vypnutí obrazovky", // 76 "Vypnutí obrazovky", // 76
"Vzhled", // 77 "Vzhled", // 77
"Výchozí", // 78 "", // 78
"Cyan", // 79 *** "", // 79 ***
"Crimson", // 80 *** "", // 80 ***
"Monochrome", // 81 *** "", // 81 ***
"Volcano", // 82 *** "", // 82 ***
"Dendro", // 83 *** "", // 83 ***
"Sakura", // 84 *** "", // 84 ***
"Whiteout", // 85 *** "", // 85 ***
"ODPOJTE USB", // 86 "ODPOJTE USB", // 86
"AF nedostupné", // 87 "AF nedostupné", // 87
"EON nedostupný", // 88 "EON nedostupný", // 88
@@ -1699,7 +1706,8 @@ static const char* const myLanguage[18][210] = {
"Dynamic SPI speed", // 206 *** "Dynamic SPI speed", // 206 ***
"Scan sensitivity", // 207 "Scan sensitivity", // 207
"NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation "NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation
"Software version" // 209 "Software version", // 209
"Frequency font" // 210 ***
}, },
{ "Slovenský", // Slovak { "Slovenský", // Slovak
@@ -1780,14 +1788,14 @@ static const char* const myLanguage[18][210] = {
"Čas", // 75 "Čas", // 75
"Vypnutie obrazovky", // 76 "Vypnutie obrazovky", // 76
"Vzhľad", // 77 "Vzhľad", // 77
"Východzí", // 78 "", // 78
"Cyan", // 79 *** "", // 79 ***
"Crimson", // 80 *** "", // 80 ***
"Monochrome", // 81 *** "", // 81 ***
"Volcano", // 82 *** "", // 82 ***
"Dendro", // 83 *** "", // 83 ***
"Sakura", // 84 *** "", // 84 ***
"Whiteout", // 85 *** "", // 85 ***
"ODPOJTE USB", // 86 "ODPOJTE USB", // 86
"AF nedostupné", // 87 "AF nedostupné", // 87
"EON nedostupný", // 88 "EON nedostupný", // 88
@@ -1911,7 +1919,8 @@ static const char* const myLanguage[18][210] = {
"Dynamic SPI speed", // 206 *** "Dynamic SPI speed", // 206 ***
"Scan sensitivity", // 207 "Scan sensitivity", // 207
"NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation "NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation
"Software version" // 209 "Software version", // 209
"Frequency font" // 210 ***
}, },
{ "Français", // French { "Français", // French
@@ -1992,14 +2001,14 @@ static const char* const myLanguage[18][210] = {
"Temporisateur", // 75 "Temporisateur", // 75
"Affichage éteint", // 76 "Affichage éteint", // 76
"Thème", // 77 "Thème", // 77
"Défaut", // 78 "", // 78
"Cyan", // 79 "", // 79
"Cramoisi", // 80 "", // 80
"Monochrome", // 81 "", // 81
"Volcan", // 82 "", // 82
"Dendro", // 83 "", // 83
"Sakura", // 84 "", // 84
"Voile blanc", // 85 "", // 85
"IMPOSSIBLE", // 86 "IMPOSSIBLE", // 86
"AF indisponible", // 87 "AF indisponible", // 87
"EON indisponible", // 88 "EON indisponible", // 88
@@ -2123,7 +2132,8 @@ static const char* const myLanguage[18][210] = {
"Vitesse SPI\ndynamique", // 206 "Vitesse SPI\ndynamique", // 206
"Sensibilité\ndu scanne ", // 207 "Sensibilité\ndu scanne ", // 207
"AUCUNE", // 208 "AUCUNE", // 208
"Version de logiciel" // 209 "Version de logiciel", // 209
"Frequency font" // 210 ***
}, },
{ "Български", // Bulgarian { "Български", // Bulgarian
@@ -2204,14 +2214,14 @@ static const char* const myLanguage[18][210] = {
"Time-out timer", // 75 *** "Time-out timer", // 75 ***
"Изключен дисплей", // 76 "Изключен дисплей", // 76
"Тема", // 77 "Тема", // 77
"По подразбиране", // 78 "", // 78
"Циан", // 79 "", // 79
"Crimson", // 80 *** "", // 80 ***
"Двуцветен", // 81 "", // 81
"Вулкан", // 82 "", // 82
"Горски", // 83 "", // 83
"Червено бял", // 84 "", // 84
"Бяла буря", // 85 "", // 85
"НЕ Е ВЪЗМОЖНО", // 86 "НЕ Е ВЪЗМОЖНО", // 86
"AF опцията не е налична", // 87 "AF опцията не е налична", // 87
"EON опцията не е налична", // 88 "EON опцията не е налична", // 88
@@ -2335,7 +2345,8 @@ static const char* const myLanguage[18][210] = {
"Dynamic SPI speed", // 206 *** "Dynamic SPI speed", // 206 ***
"Scan sensitivity", // 207 "Scan sensitivity", // 207
"NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation "NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation
"Software version" // 209 "Software version", // 209
"Frequency font" // 210 ***
}, },
{ "Русский", // Russian { "Русский", // Russian
@@ -2416,14 +2427,14 @@ static const char* const myLanguage[18][210] = {
"Глубокий сон", // 75 "Глубокий сон", // 75
"Погасить экран", // 76 "Погасить экран", // 76
"Тема", // 77 "Тема", // 77
"Default", // 78 "", // 78
"Cyan", // 79 "", // 79
"Crimson", // 80 "", // 80
"Monochrome", // 81 "", // 81
"Volcano", // 82 "", // 82
"Dendro", // 83 "", // 83
"Sakura", // 84 "", // 84
"Whiteout", // 85 "", // 85
"НЕВОЗМОЖНО", // 86 "НЕВОЗМОЖНО", // 86
"Нет данных", // 87 "Нет данных", // 87
"Нет данных", // 88 "Нет данных", // 88
@@ -2547,7 +2558,8 @@ static const char* const myLanguage[18][210] = {
"Частота шины дисплея SPI", // 206 *** "Частота шины дисплея SPI", // 206 ***
"Чувствительность сканирования", // 207 "Чувствительность сканирования", // 207
"Отсутствуют", // 208 "Отсутствуют", // 208
"Версия прошивки" // 209 "Версия прошивки", // 209
"Frequency font" // 210 ***
}, },
{ "Українська", // Ukranian { "Українська", // Ukranian
@@ -2628,14 +2640,14 @@ static const char* const myLanguage[18][210] = {
"Таймер тайм-ауту", // 75 "Таймер тайм-ауту", // 75
"Екран вимкнено", // 76 "Екран вимкнено", // 76
"Тема", // 77 "Тема", // 77
"За замовчуванням", // 78 "", // 78
"Ціан", // 79 "", // 79
"Малиновий", // 80 "", // 80
"Монохромний", // 81 "", // 81
"Вулкан", // 82 "", // 82
"Дендро", // 83 "", // 83
"Сакура", // 84 "", // 84
"Білесенький", // 85 "", // 85
"НЕ МОЖЛИВО", // 86 "НЕ МОЖЛИВО", // 86
"Немає доступних AF", // 87 "Немає доступних AF", // 87
"Немає доступного EON", // 88 "Немає доступного EON", // 88
@@ -2759,7 +2771,8 @@ static const char* const myLanguage[18][210] = {
"Швидкість шини дисплея (SPI)", // 206 *** "Швидкість шини дисплея (SPI)", // 206 ***
"Чутливість сканування", // 207 "Чутливість сканування", // 207
"NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation "NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation
"Версія ПО" // 209 "Версія ПО", // 209
"Frequency font" // 210 ***
}, },
{ "Italiano", // Italian { "Italiano", // Italian
@@ -2840,14 +2853,14 @@ static const char* const myLanguage[18][210] = {
"Timer di time-out", // 75 *** "Timer di time-out", // 75 ***
"Schermo spento", // 76 "Schermo spento", // 76
"Motivo schermo", // 77 "Motivo schermo", // 77
"Predefinito", // 78 "", // 78
"Ciano", // 79 "", // 79
"Cremisi", // 80 "", // 80
"Monocromatico", // 81 "", // 81
"Vulcano", // 82 "", // 82
"Dendro", // 83 *** "", // 83 ***
"Sakura", // 84 *** "", // 84 ***
"Sbiancato", // 85 "", // 85
"IMPOSSIBILE", // 86 "IMPOSSIBILE", // 86
"AF non disponibile", // 87 "AF non disponibile", // 87
"EON non disponibile", // 88 "EON non disponibile", // 88
@@ -2971,7 +2984,8 @@ static const char* const myLanguage[18][210] = {
"Velocità SPI Dinamico", // 206 *** "Velocità SPI Dinamico", // 206 ***
"Sensibilità scansione", // 207 "Sensibilità scansione", // 207
"NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation "NONE", // 208 represents: AM/FM bands unavailable(please delete this note after translation
"Software version" // 209 "Software version", // 209
"Frequency font" // 210 ***
}, },
{ "Simplified Chinese", // Simplified Chinese { "Simplified Chinese", // Simplified Chinese
@@ -3052,14 +3066,14 @@ static const char* const myLanguage[18][210] = {
"倒计时关机", // 75 "倒计时关机", // 75
"关闭屏幕", // 76 "关闭屏幕", // 76
"主题&颜色", // 77 "主题&颜色", // 77
"默认", // 78 "", // 78
"青色", // 79 "", // 79
"西瓜红", // 80 "", // 80
"珍珠白", // 81 "", // 81
"湖蓝", // 82 "", // 82
"草绿", // 83 "", // 83
"樱花紫", // 84 "", // 84
"纯白", // 85 "", // 85
"不可用", // 86 "不可用", // 86
"AF 不可用", // 87 "AF 不可用", // 87
"EON 不可用", // 88 "EON 不可用", // 88
@@ -3183,7 +3197,8 @@ static const char* const myLanguage[18][210] = {
"调整SPI通讯速率", // 206 "调整SPI通讯速率", // 206
"搜索灵敏度", // 207 "搜索灵敏度", // 207
"不可用", // 208 "不可用", // 208
"Software version" // 209 "Software version", // 209
"Frequency font" // 210 ***
}, },
{ "Norsk", // Norwegian { "Norsk", // Norwegian
@@ -3264,14 +3279,14 @@ static const char* const myLanguage[18][210] = {
"Tidsavbruddstimer", // 75 "Tidsavbruddstimer", // 75
"Skjerm av", // 76 "Skjerm av", // 76
"Tema", // 77 "Tema", // 77
"Standard", // 78 "", // 78
"Cyan", // 79 *** "", // 79 ***
"Crimson", // 80 *** "", // 80 ***
"Monochrome", // 81 *** "", // 81 ***
"Volcano", // 82 *** "", // 82 ***
"Dendro", // 83 *** "", // 83 ***
"Sakura", // 84 *** "", // 84 ***
"Whiteout", // 85 *** "", // 85 ***
"IKKE MULIG", // 86 "IKKE MULIG", // 86
"Ingen AF", // 87 "Ingen AF", // 87
"Ingen EON", // 88 "Ingen EON", // 88
@@ -3395,7 +3410,8 @@ static const char* const myLanguage[18][210] = {
"Dynamisk SPI hastighet", // 206 "Dynamisk SPI hastighet", // 206
"Skannefølsomhet", // 207 "Skannefølsomhet", // 207
"INGEN", // 208 "INGEN", // 208
"Programvareversjon" // 209 "Programvareversjon", // 209
"Frequency font" // 210 ***
}, },
{ "Español", // Spanish { "Español", // Spanish
@@ -3476,14 +3492,14 @@ static const char* const myLanguage[18][210] = {
"Temporizador de\ntiempo muerto", // 75 "Temporizador de\ntiempo muerto", // 75
"Apagar pantalla", // 76 "Apagar pantalla", // 76
"Tema", // 77 "Tema", // 77
"Predeterminado", // 78 "", // 78
"Cian", // 79 "", // 79
"Carmesí", // 80 "", // 80
"Monocromo", // 81 "", // 81
"Volcán", // 82 "", // 82
"Dendro", // 83 "", // 83
"Sakura", // 84 "", // 84
"Blanqueo total", // 85 "", // 85
"NO ES POSIBLE", // 86 "NO ES POSIBLE", // 86
"No AF disponible", // 87 "No AF disponible", // 87
"No EON disponible", // 88 "No EON disponible", // 88
@@ -3607,7 +3623,8 @@ static const char* const myLanguage[18][210] = {
"Velocidad de SPI", // 206 "Velocidad de SPI", // 206
"Sensibilidad\ndel escaneo", // 207 "Sensibilidad\ndel escaneo", // 207
"NINGUNA", // 208 "NINGUNA", // 208
"Versión del software" // 209 "Versión del software", // 209
"Frequency font" // 210 ***
}, },
{ "Português", // Portuguese { "Português", // Portuguese
@@ -3688,14 +3705,14 @@ static const char* const myLanguage[18][210] = {
"Temporizador de\ndesligamento", // 75 "Temporizador de\ndesligamento", // 75
"Desligar a tela", // 76 "Desligar a tela", // 76
"Tema", // 77 "Tema", // 77
"Padrão", // 78 "", // 78
"Ciano", // 79 "", // 79
"Carmesim", // 80 "", // 80
"Monocromático", // 81 "", // 81
"Vulcão", // 82 "", // 82
"Dendro", // 83 "", // 83
"Sakura", // 84 "", // 84
"Branco total", // 85 "", // 85
"NÃO POSSÍVEL", // 86 "NÃO POSSÍVEL", // 86
"AF não disponível", // 87 "AF não disponível", // 87
"EON não disponível", // 88 "EON não disponível", // 88
@@ -3819,7 +3836,8 @@ static const char* const myLanguage[18][210] = {
"Velocidade dinâmica\nde SPI", // 206 "Velocidade dinâmica\nde SPI", // 206
"Sensibilidade\nda varredura", // 207 "Sensibilidade\nda varredura", // 207
"NENHUM", // 208 "NENHUM", // 208
"Versão do software" // 209 "Versão do software", // 209
"Frequency font" // 210 ***
} }
}; };
#endif #endif