Working on new skin

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-03-29 17:46:33 +01:00
parent ae7e338cdd
commit 48d3085ead
4 changed files with 1180 additions and 318 deletions
+8 -1
View File
@@ -1591,7 +1591,8 @@ void BuildDisplay() {
break;
case 1:
tft.pushImage (0, 0, 320, 240, mainbackground);
tft.pushImage (0, 0, 320, 240, skin1_mainbackground);
tft.pushImage (177, 3, 23, 23, skin1_clock);
if (bandforbidden) bandColor = GreyoutColor; else bandColor = PrimaryColor;
switch (band) {
@@ -1602,6 +1603,12 @@ void BuildDisplay() {
case BAND_OIRT: tftPrint(1, myLanguage[language][106], 54, 29, bandColor, PrimaryColorSmooth, 16); break;
}
if (band > BAND_GAP) {
tft.pushImage (260, 48, 32, 16, skin1_imsoff);
tft.pushImage (292, 48, 25, 16, skin1_eqoff);
}
tft.pushImage (136, 3, 36, 23, skin1_rdsoff);
tftPrint(-1, "PI:", 8, 104, ActiveColor, ActiveColorSmooth, 16);
if (usesquelch) tftPrint(1, "SQ:", 268, 168, ActiveColor, ActiveColorSmooth, 16);
tftPrint(1, unitString[unit], 310, 102, ActiveColor, ActiveColorSmooth, 16);