1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 23:13:07 +01:00

Finishing three values page

This commit is contained in:
norbert-walter
2022-03-05 18:57:59 +01:00
parent a937e10e73
commit 0d18b69604
3 changed files with 271 additions and 26 deletions

View File

@@ -93,7 +93,7 @@ class PageTwoValues : public Page
// Show unit
display.setTextColor(textcolor);
display.setFont(&Ubuntu_Bold16pt7b);
display.setFont(&Ubuntu_Bold12pt7b);
display.setCursor(20, 130);
if(holdvalues == false){
display.print(unit1); // Unit
@@ -131,7 +131,7 @@ class PageTwoValues : public Page
// ############### Horizontal Line ################
// Horizontal line 3 pix
display.fillRect(0, 145, 400, 3, GxEPD_BLACK); // Draw white sreen
display.fillRect(0, 145, 400, 3, GxEPD_BLACK);
// ############### Value 2 ################
@@ -143,7 +143,7 @@ class PageTwoValues : public Page
// Show unit
display.setTextColor(textcolor);
display.setFont(&Ubuntu_Bold16pt7b);
display.setFont(&Ubuntu_Bold12pt7b);
display.setCursor(20, 240);
if(holdvalues == false){
display.print(unit2); // Unit