🎨 Fix misspelling (#23137)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -4135,7 +4135,7 @@ void CrealityDWINClass::Popup_Handler(PopupID popupid, bool option/*=false*/) {
|
||||
switch (popupid) {
|
||||
case Pause: Draw_Popup(F("Pause Print"), F(""), F(""), Popup); break;
|
||||
case Stop: Draw_Popup(F("Stop Print"), F(""), F(""), Popup); break;
|
||||
case Resume: Draw_Popup(F("Resume Print?"), F("Looks Like the last"), F("print was interupted."), Popup); break;
|
||||
case Resume: Draw_Popup(F("Resume Print?"), F("Looks Like the last"), F("print was interrupted."), Popup); break;
|
||||
case ConfFilChange: Draw_Popup(F("Confirm Filament Change"), F(""), F(""), Popup); break;
|
||||
case PurgeMore: Draw_Popup(F("Purge more filament?"), F("(Cancel to finish process)"), F(""), Popup); break;
|
||||
case SaveLevel: Draw_Popup(F("Leveling Complete"), F("Save to EEPROM?"), F(""), Popup); break;
|
||||
|
@ -96,7 +96,7 @@ public:
|
||||
static size_t GetFreeTxBuffer();
|
||||
static void FlushTx();
|
||||
|
||||
// Checks two things: Can we confirm the presence of the display and has we initiliazed it.
|
||||
// Checks two things: Can we confirm the presence of the display and has we initialized it.
|
||||
// (both boils down that the display answered to our chatting)
|
||||
static inline bool IsInitialized() {
|
||||
return initialized;
|
||||
|
Reference in New Issue
Block a user