Fixes for hiroschima font
This commit is contained in:
1 parent
cfc8dc2d6b
commit
7eac3fae5d
4 files changed
+6
-5
No files matched your search
@@ -2618,7 +2618,7 @@ void TFT_eSprite::printToSprite(std::string_view string)
|
||||
** Function name: printToSprite
|
||||
** Description: Write a string to the sprite cursor position
|
||||
***************************************************************************************/
|
||||
void TFT_eSprite::printToSprite(char *cbuffer, uint16_t len) //std::string_view string)
|
||||
void TFT_eSprite::printToSprite(const char *cbuffer, uint16_t len) //std::string_view string)
|
||||
{
|
||||
if(!fontLoaded) return;
|
||||
|
||||
|
||||
@@ -144,6 +144,7 @@ class TFT_eSprite : public TFT_eSPI {
|
||||
// Print string to sprite using loaded font at cursor position
|
||||
void printToSprite(std::string_view string);
|
||||
// Print indexed glyph to sprite using loaded font at x,y
|
||||
void printToSprite(const char *cbuffer, uint16_t len);
|
||||
int16_t printToSprite(int16_t x, int16_t y, uint16_t index);
|
||||
|
||||
private:
|
||||
|
||||
Reference in new issue
Block a user