🎨 Fix misspelling (#23137)

This commit is contained in:
luzpaz
2021-11-17 12:09:01 -05:00
committed by Scott Lahteine
parent c2a674d2c1
commit 99f58f63f2
6 changed files with 10 additions and 10 deletions

View File

@ -93,7 +93,7 @@ uint8_t DWINUI::fontWidth(uint8_t cfont) {
}
}
// Get font character heigh
// Get font character height
uint8_t DWINUI::fontHeight(uint8_t cfont) {
switch (cfont) {
case font6x12 : return 12;
@ -110,12 +110,12 @@ uint8_t DWINUI::fontHeight(uint8_t cfont) {
}
}
// Get screen x coodinates from text column
// Get screen x coordinates from text column
uint16_t DWINUI::ColToX(uint8_t col) {
return col * fontWidth(font);
}
// Get screen y coodinates from text row
// Get screen y coordinates from text row
uint16_t DWINUI::RowToY(uint8_t row) {
return row * fontHeight(font);
}

View File

@ -198,13 +198,13 @@ namespace DWINUI {
// Get font character width
uint8_t fontWidth(uint8_t cfont);
// Get font character heigh
// Get font character height
uint8_t fontHeight(uint8_t cfont);
// Get screen x coodinates from text column
// Get screen x coordinates from text column
uint16_t ColToX(uint8_t col);
// Get screen y coodinates from text row
// Get screen y coordinates from text row
uint16_t RowToY(uint8_t row);
// Set text/number color