New design for menu headers

This commit is contained in:
2023-01-23 13:28:38 +01:00
parent 086e5f6f86
commit f3e667e59d

View File

@ -12,16 +12,16 @@ void DisplayWithTitle::initScreen(TftInterface &tft)
m_titleLabel.start(tft); m_titleLabel.start(tft);
tft.fillRect(0, 0, tft.width(), 35, TFT_GREY); // tft.fillRect(0, 0, tft.width(), 35, TFT_GREY);
// tft.fillRect(0, 34, tft.width(), 3, TFT_WHITE); tft.fillRect(0, 34, tft.width(), 2, TFT_GREY);
} }
void DisplayWithTitle::redraw(TftInterface &tft) void DisplayWithTitle::redraw(TftInterface &tft)
{ {
Base::redraw(tft); Base::redraw(tft);
m_titleLabel.redraw(tft, title(), TFT_WHITE, TFT_GREY, 4); m_titleLabel.redraw(tft, title(), TFT_GREY, TFT_BLACK, 4);
} }
} // namespace espgui } // namespace espgui