misc changes

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-07-09 14:50:08 +02:00
parent 79040f330a
commit 2cfc246912
3 changed files with 18 additions and 19 deletions
+8 -9
View File
@@ -10,7 +10,6 @@
#include "src/TEF6686.h" #include "src/TEF6686.h"
#include "src/constants.h" #include "src/constants.h"
#include "src/language.h" #include "src/language.h"
//#include "src/colors.h"
#define GFXFF 1 #define GFXFF 1
#define FONT24 &Aura2ProRegular24pt7b #define FONT24 &Aura2ProRegular24pt7b
@@ -32,7 +31,7 @@
#ifdef ARS #ifdef ARS
#define VERSION "v2.00ARS" #define VERSION "v2.00ARS"
#include "TFT_Colors.h" #include "ARS_Colors.h"
TFT_eSPI tft = TFT_eSPI(320, 240); TFT_eSPI tft = TFT_eSPI(320, 240);
#else #else
#define VERSION "v2.00" #define VERSION "v2.00"
@@ -5203,16 +5202,16 @@ void SetTunerPatch() {
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) {
case 0: // Default PE5PVB theme case 0: // Default PE5PVB theme
PrimaryColor = 0xFFE0; PrimaryColor = TFT_YELLOW;
SecondaryColor = 0x867D; SecondaryColor = TFT_SKYBLUE;
FrequencyColor = 0xFFE0; FrequencyColor = TFT_YELLOW;
FrameColor = 0x001F; FrameColor = TFT_BLUE;
GreyoutColor = 0x38E7; GreyoutColor = 0x38E7;
BackgroundColor = 0x0000; BackgroundColor = TFT_BLACK;
ActiveColor = 0xFFFF; ActiveColor = TFT_WHITE;
OptimizerColor = 1; OptimizerColor = 1;
StereoColor = TFT_RED; StereoColor = TFT_RED;
RDSColor = 0x867D; RDSColor = TFT_SKYBLUE;
CurrentThemeString = myLanguage[language][78]; CurrentThemeString = myLanguage[language][78];
break; break;
case 1: // Cyan theme case 1: // Cyan theme
+2 -2
View File
@@ -91,7 +91,7 @@ static const char myLanguage[9][91][85] = {
"No AF available", // 87 "No AF available", // 87
"No EON available", // 88 "No EON available", // 88
"No RT+ available", // 89 "No RT+ available", // 89
"FM min stepsize" // 90 "FM default stepsize" // 90
}, },
{ "Nederlands", // Dutch { "Nederlands", // Dutch
@@ -184,7 +184,7 @@ static const char myLanguage[9][91][85] = {
"AF niet beschikbaar", // 87 "AF niet beschikbaar", // 87
"EON niet beschikbaar", // 88 "EON niet beschikbaar", // 88
"RT+ niet beschikbaar", // 89 "RT+ niet beschikbaar", // 89
"FM min stepsize" // 90 "FM stapgrootte" // 90
}, // }, //
{ "Polski", // Polish { "Polski", // Polish