This commit is contained in:
olikraus
2016-08-09 23:22:00 +02:00
parent 51db548328
commit c9598592ec
5 changed files with 158 additions and 8 deletions
+9
View File
@@ -162,11 +162,20 @@ class U8X8 : public Print
void drawGlyph(uint8_t x, uint8_t y, uint8_t encoding) {
u8x8_DrawGlyph(&u8x8, x, y, encoding); }
void draw2x2Glyph(uint8_t x, uint8_t y, uint8_t encoding) {
u8x8_Draw2x2Glyph(&u8x8, x, y, encoding); }
void drawString(uint8_t x, uint8_t y, const char *s) {
u8x8_DrawString(&u8x8, x, y, s); }
void drawUTF8(uint8_t x, uint8_t y, const char *s) {
u8x8_DrawUTF8(&u8x8, x, y, s); }
void draw2x2String(uint8_t x, uint8_t y, const char *s) {
u8x8_Draw2x2String(&u8x8, x, y, s); }
void draw2x2UTF8(uint8_t x, uint8_t y, const char *s) {
u8x8_Draw2x2UTF8(&u8x8, x, y, s); }
uint8_t getUTF8Len(const char *s) {
return u8x8_GetUTF8Len(&u8x8, s); }