summaryrefslogtreecommitdiff
path: root/include/draw_qrcode.h
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2020-07-17 20:29:41 +0200
committerReiner Herrmann <reiner@reiner-h.de>2020-07-17 20:29:41 +0200
commit4a239ede79c43cf22e8f769a4ea086687a65c3f0 (patch)
tree5b1e651dc4188f541fdcd5d85d1e6c0521f93200 /include/draw_qrcode.h
parent097db5fa9f57a77866be60ef8d8d39beef882639 (diff)
use u8g2 for font rendering, as they support fonts with umlauts
Diffstat (limited to 'include/draw_qrcode.h')
-rw-r--r--include/draw_qrcode.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/draw_qrcode.h b/include/draw_qrcode.h
index d200835..9b0ab7e 100644
--- a/include/draw_qrcode.h
+++ b/include/draw_qrcode.h
@@ -1,9 +1,7 @@
#ifndef DRAW_QRCODE_H
#define DRAW_QRCODE_H
-class GxEPD2_GFX_BASE_CLASS;
-
-int draw_qrcode(GxEPD2_GFX_BASE_CLASS &display, int16_t x, int16_t y, String &text);
-void draw_qrcode_wlan(GxEPD2_GFX_BASE_CLASS &display, int16_t x, int16_t y, const char *ssid, const char *psk);
+int draw_qrcode(int16_t x, int16_t y, String &text);
+void draw_qrcode_wlan(int16_t x, int16_t y, const char *ssid, const char *psk);
#endif