s/Plottext/PlotText/g

This commit is contained in:
penfold42 2018-07-16 23:15:46 +10:00
parent 91ead26b2b
commit 4a1c56df41
3 changed files with 3 additions and 3 deletions

View File

@ -193,7 +193,7 @@ void SSD1306::SetVCOMDeselect(u8 value)
SendCommand( (value & 7) << 4 ); SendCommand( (value & 7) << 4 );
} }
void SSD1306::Plottext(int x, int y, char* str, bool inverse) void SSD1306::PlotText(int x, int y, char* str, bool inverse)
{ {
int i; int i;
i = 0; i = 0;

View File

@ -79,7 +79,7 @@ public:
SSD1306(int BSCMaster = 1, u8 address = 0x3C, int flip = 0, int type=1306); SSD1306(int BSCMaster = 1, u8 address = 0x3C, int flip = 0, int type=1306);
void PlotCharacter(int x, int y, char ascii, bool inverse); void PlotCharacter(int x, int y, char ascii, bool inverse);
void Plottext(int x, int y, char* str, bool inverse); void PlotText(int x, int y, char* str, bool inverse);
void InitHardware(); void InitHardware();
void DisplayOn(); void DisplayOn();

View File

@ -100,7 +100,7 @@ void ScreenLCD::PlotRawImage(const u8* image, int x, int y, int w, int h)
u32 ScreenLCD::PrintText(bool petscii, u32 x, u32 y, char *ptr, RGBA TxtColour, RGBA BkColour, bool measureOnly, u32* width, u32* height) u32 ScreenLCD::PrintText(bool petscii, u32 x, u32 y, char *ptr, RGBA TxtColour, RGBA BkColour, bool measureOnly, u32* width, u32* height)
{ {
int len = 0; int len = 0;
ssd1306->Plottext(x >> 3, y >> 4, ptr, (BkColour & 0xffffff) != 0); ssd1306->PlotText(x >> 3, y >> 4, ptr, (BkColour & 0xffffff) != 0);
return len; return len;
} }