Implemented basic keyboard #18

Merged
CommanderRedYT merged 9 commits from keyboard into main 2022-06-14 13:56:33 +02:00
7 changed files with 43 additions and 16 deletions
Showing only changes of commit b372f356ac - Show all commits

View File

@@ -105,10 +105,11 @@ void MenuDisplay::redraw()
int newHighlightedIndex{-1}; int newHighlightedIndex{-1};
const auto drawItemRect = [](const auto &label, const auto color){ const auto drawItemRect = [](const auto &label, const auto color){
tft.drawRect(5, tft.drawRoundRect(5,
label.y()-1, label.y()-1,
tft.width() - 10, tft.width() - 10,
lineHeight+1, lineHeight+1,
5,
color); color);
}; };